Encode a Credential
POST /acs/encoders/encode_credential β { action_attempt }Encodes an existing credential onto a plastic card placed on the specified encoder.
Authentication Methods
API key
Personal access token Must also include the
seam-workspaceheader in the request.
Request Parameters
acs_credential_id
acs_credential_idType: string
Required: Yes
ID of the acs_credential to encode onto a card.
acs_encoder_id
acs_encoder_idType: string
Required: Yes
ID of the acs_encoder to use to encode the acs_credential.
Return Type
ENCODE_CREDENTIAL
ENCODE_CREDENTIALEncoding credential data from physical encoder.
action_attempt_id
action_attempt_idFormat: UUID
The ID of the action attempt.
action_type
action_typeFormat: String
error
errorFormat: Object
type Format: Enum
Possible enum values:
uncategorized_erroraction_attempt_expiredno_credential_on_encoderincompatible_card_formatcredential_cannot_be_reissued
---
result
resultFormat: Object
Means by which an ACS user gains access at an entrance. The acs_credential object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a PIN code.
access_method Format: Enum
Access method for the credential. Supported values: code, card, mobile_key.
Possible enum values:
codecardmobile_key
acs_credential_id Format: UUID
ID of the credential.
acs_system_id Format: UUID
ID of the access control system that contains the credential.
acs_user_id Format: UUID
ID of the ACS user to whom the credential belongs.
assa_abloy_vostio_metadata Format: Object
Vostio-specific metadata for the credential.
card_number Format: String
Number of the card associated with the credential.
code Format: String
Access (PIN) code for the credential.
created_at Format: Datetime
Date and time at which the credential was created.
display_name Format: String
Display name that corresponds to the credential type.
ends_at Format: String
Date and time at which the credential validity ends, in ISO 8601 format. Must be a time in the future and after starts_at.
errors Format: List Item format: Object
Errors associated with the credential.
error_codeFormat:StringmessageFormat:String
external_type Format: Enum
Brand-specific terminology for the credential type. Supported values: pti_card, brivo_credential, hid_credential, visionline_card.
Possible enum values:
pti_cardbrivo_credentialhid_credentialvisionline_cardsalto_ks_credentialassa_abloy_vostio_keysalto_space_key
external_type_display_name Format: String
Display name that corresponds to the brand-specific terminology for the credential type.
is_issued Format: Boolean
Indicates whether the credential has been encoded onto a card.
is_latest_desired_state_synced_with_provider Format: Boolean
Indicates whether the latest state of the credential has been synced from Seam to the provider.
is_multi_phone_sync_credential Format: Boolean
Indicates whether the credential is a multi-phone sync credential.
is_one_time_use Format: Boolean
Indicates whether the credential can only be used once. If true, the code becomes invalid after the first use.
issued_at Format: Datetime
Date and time at which the credential was encoded onto a card.
latest_desired_state_synced_with_provider_at Format: Datetime
Date and time at which the state of the credential was most recently synced from Seam to the provider.
parent_acs_credential_id Format: UUID
ID of the parent credential.
starts_at Format: String
Date and time at which the credential validity starts, in ISO 8601 format.
visionline_metadata Format: Object
Visionline-specific metadata for the credential.
warnings Format: List Item format: Object
Warnings associated with the credential.
created_atFormat:DatetimeDate and time at which Seam created the warning.
messageFormat:StringDetailed description of the warning. Provides insights into the issue and potentially how to rectify it.
warning_codeFormat:EnumUnique identifier of the type of warning. Enables quick recognition and categorization of the issue.
Possible enum values:
waiting_to_be_issuedschedule_externally_modifiedschedule_modifiedbeing_deletedunknown_issue_with_acs_credentialneeds_to_be_reissued
workspace_id Format: UUID
ID of the workspace that contains the credential.
---
status
statusFormat: Enum
Possible enum values:
successpendingerror
Last updated
Was this helpful?

