Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
access_method
enum<string>
required

Access method for the new credential. Supported values: code, card, mobile_key, cloud_key.

Available options:
code,
card,
mobile_key,
cloud_key
acs_system_id
string<uuid>

ID of the access system to which the new credential belongs. You must provide either acs_user_id or the combination of user_identity_id and acs_system_id.

acs_user_id
string<uuid>

ID of the access system user to whom the new credential belongs. You must provide either acs_user_id or the combination of user_identity_id and acs_system_id.

allowed_acs_entrance_ids
string<uuid>[]

Set of IDs of the entrances for which the new credential grants access.

assa_abloy_vostio_metadata
object

Vostio-specific metadata for the new credential.

code
string

Access (PIN) code for the new credential. There may be manufacturer-specific code restrictions. For details, see the applicable device or system integration guide.

Pattern: ^\d+$
credential_manager_acs_system_id
string<uuid>

ACS system ID of the credential manager for the new credential.

ends_at
string<date-time>

Date and time at which the validity of the new credential ends, in ISO 8601 format. Must be a time in the future and after starts_at.

is_multi_phone_sync_credential
boolean
default:false

Indicates whether the new credential is a multi-phone sync credential.

salto_space_metadata
object

Salto Space-specific metadata for the new credential.

starts_at
string<date-time>

Date and time at which the validity of the new credential starts, in ISO 8601 format.

user_identity_id
string<uuid>

ID of the user identity to whom the new credential belongs. You must provide either acs_user_id or the combination of user_identity_id and acs_system_id. If the access system contains a user with the same email_address or phone_number as the user identity that you specify, they are linked, and the credential belongs to the access system user. If the access system does not have a corresponding user, one is created.

visionline_metadata
object

Visionline-specific metadata for the new credential.

Response

OK

acs_credential
object
required

Means by which an access control system user gains access at an entrance. The acs_credential object represents a credential that provides an ACS user access within an access control system. See the acs_credential object.