{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "SCAN_TO_ASSIGN_CREDENTIAL",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
},
"ok": true
}Encoders
Scan to Assign a Credential
Scans a physical card placed on the specified encoder and assigns the scanned credential to an ACS user. Provide either an acs_user_id or a user_identity_id.
POST
/
acs
/
encoders
/
scan_to_assign_credential
{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "SCAN_TO_ASSIGN_CREDENTIAL",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
},
"ok": true
}Authorizations
pat_with_workspaceconsole_session_with_workspaceapi_keyclient_session_with_customer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
ID of the acs_encoder to use to scan the credential.
ID of the acs_user to assign the scanned credential to.
Salto KS-specific metadata for the scan action.
Show child attributes
Show child attributes
ID of the user_identity to assign the scanned credential to. If the ACS system contains an ACS user linked to this user identity, it is used. Otherwise, one is created.

