Access Methods

The access_method Object

Represents an access method for an Access Grant. Access methods describe the modes of access, such as PIN codes, plastic cards, and mobile keys. For a mobile key, the access method also stores the URL for the associated Instant Key.

A card access method resource.

{
  "access_method_id": "27d8ad77-55c2-4e20-b5b3-43555926f0e8",
  "created_at": "2025-06-14T16:54:17.946612Z",
  "display_name": "My Card",
  "is_card_encoding_required": true,
  "issued_at": "2025-06-14T16:54:17.946612Z",
  "mode": "card",
  "workspace_id": "661025d3-c1d2-403c-83a8-af153aaedfbc"
}

Properties

access_method_id UUID

ID of the access method.


client_session_token String

Token of the client session associated with the access method.


code String

The actual PIN code for code access methods.


created_at Datetime

Date and time at which the access method was created.


customization_profile_id UUID

ID of the customization profile associated with the access method.


display_name String

Display name of the access method.


instant_key_url String

URL of the Instant Key for mobile key access methods.


is_encoding_required Boolean

Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.


is_issued Boolean

Indicates whether the access method has been issued.


is_ready_for_encoding Boolean

Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.


issued_at Datetime

Date and time at which the access method was issued.


mode Enum

Access method mode. Supported values: code, card, mobile_key, cloud_key.

chevron-rightEnum valueshashtag
  • code

  • card

  • mobile_key

  • cloud_key


pending_mutations List of Objects

Pending mutations for the access methodarrow-up-right. Indicates operations that are in progress.

The specific structure of each object in this list depends on the value of its mutation_code field.

Variants:

chevron-rightprovisioning_accesshashtag

Seam is in the process of provisioning access for this access method on new devices.

created_at Datetime

Date and time at which the mutation was created.


from Object

Previous device configuration.

Child Properties

  • device_ids List of UUIDs

    Previous device IDs where access was provisioned.


message String

Detailed description of the mutation.


mutation_code Enum

Mutation code to indicate that Seam is in the process of provisioning access for this access method on new devices.

Enum values:

  • provisioning_access


to Object

New device configuration.

Child Properties

  • device_ids List of UUIDs

    New device IDs where access is being provisioned.

chevron-rightrevoking_accesshashtag

Seam is in the process of revoking access for this access method from devices.

created_at Datetime

Date and time at which the mutation was created.


from Object

Previous device configuration.

Child Properties

  • device_ids List of UUIDs

    Previous device IDs where access existed.


message String

Detailed description of the mutation.


mutation_code Enum

Mutation code to indicate that Seam is in the process of revoking access for this access method from devices.

Enum values:

  • revoking_access


to Object

New device configuration.

Child Properties

  • device_ids List of UUIDs

    New device IDs where access should remain.

chevron-rightupdating_access_timeshashtag

Seam is in the process of updating the access times for this access method.

created_at Datetime

Date and time at which the mutation was created.


from Object

Previous access time configuration.

Child Properties

  • ends_at Datetime

    Previous end time for access.

  • starts_at Datetime

    Previous start time for access.


message String

Detailed description of the mutation.


mutation_code Enum

Mutation code to indicate that Seam is in the process of updating the access times for this access method.

Enum values:

  • updating_access_times


to Object

New access time configuration.

Child Properties

  • ends_at Datetime

    New end time for access.

  • starts_at Datetime

    New start time for access.


warnings List of Objects

Warnings associated with the access methodarrow-up-right.

The specific structure of each object in this list depends on the value of its warning_code field.

Variants:

chevron-rightbeing_deletedhashtag

Indicates that the access methodarrow-up-right is being deleted.

created_at Datetime

Date and time at which Seam created the warning.


message String

Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.


warning_code Enum

Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.

Enum values:

  • being_deleted

chevron-rightupdating_access_timeshashtag

Indicates that the access times for this access methodarrow-up-right are being updated.

created_at Datetime

Date and time at which Seam created the warning.


message String

Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.


warning_code Enum

Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.

Enum values:

  • updating_access_times

chevron-rightpulled_backup_access_codehashtag

Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.

created_at Datetime

Date and time at which Seam created the warning.


message String

Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.


original_access_method_id UUID

ID of the original access method from which this backup access method was split, if applicable.


warning_code Enum

Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.

Enum values:

  • pulled_backup_access_code


workspace_id UUID

ID of the Seam workspace associated with the access method.


Warnings

being_deleted

Indicates that the access methodarrow-up-right is being deleted.


pulled_backup_access_code

Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.


updating_access_times

Indicates that the access times for this access methodarrow-up-right are being updated.


Events

access_method.issued

An access method was issued.

chevron-rightPropertieshashtag

access_grant_ids List of UUIDs

IDs of the access grants associated with this access method.

access_grant_keys List of Strings

Keys of the access grants associated with this access method (if present).

access_method_id UUID

ID of the affected access method.

code String

The actual PIN code for code access methods (only present when mode is 'code').

created_at Datetime

Date and time at which the event was created.

event_id UUID

ID of the event.

event_type Enum

Value: access_method.issued

is_backup_code Boolean

Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).

occurred_at Datetime

Date and time at which the event occurred.

workspace_id UUID

ID of the workspacearrow-up-right associated with the event.


access_method.revoked

An access method was revoked.

chevron-rightPropertieshashtag

access_grant_ids List of UUIDs

IDs of the access grants associated with this access method.

access_grant_keys List of Strings

Keys of the access grants associated with this access method (if present).

access_method_id UUID

ID of the affected access method.

created_at Datetime

Date and time at which the event was created.

event_id UUID

ID of the event.

event_type Enum

Value: access_method.revoked

occurred_at Datetime

Date and time at which the event occurred.

workspace_id UUID

ID of the workspacearrow-up-right associated with the event.


access_method.card_encoding_required

An access method representing a physical card requires encoding.

chevron-rightPropertieshashtag

access_grant_ids List of UUIDs

IDs of the access grants associated with this access method.

access_grant_keys List of Strings

Keys of the access grants associated with this access method (if present).

access_method_id UUID

ID of the affected access method.

created_at Datetime

Date and time at which the event was created.

event_id UUID

ID of the event.

event_type Enum

Value: access_method.card_encoding_required

occurred_at Datetime

Date and time at which the event occurred.

workspace_id UUID

ID of the workspacearrow-up-right associated with the event.


access_method.deleted

An access method was deleted.

chevron-rightPropertieshashtag

access_grant_ids List of UUIDs

IDs of the access grants associated with this access method.

access_grant_keys List of Strings

Keys of the access grants associated with this access method (if present).

access_method_id UUID

ID of the affected access method.

created_at Datetime

Date and time at which the event was created.

event_id UUID

ID of the event.

event_type Enum

Value: access_method.deleted

occurred_at Datetime

Date and time at which the event occurred.

workspace_id UUID

ID of the workspacearrow-up-right associated with the event.


access_method.reissued

An access method was reissued.

chevron-rightPropertieshashtag

access_grant_ids List of UUIDs

IDs of the access grants associated with this access method.

access_grant_keys List of Strings

Keys of the access grants associated with this access method (if present).

access_method_id UUID

ID of the affected access method.

code String

The actual PIN code for code access methods (only present when mode is 'code').

created_at Datetime

Date and time at which the event was created.

event_id UUID

ID of the event.

event_type Enum

Value: access_method.reissued

is_backup_code Boolean

Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).

occurred_at Datetime

Date and time at which the event occurred.

workspace_id UUID

ID of the workspacearrow-up-right associated with the event.


access_method.created

An access method was created.

chevron-rightPropertieshashtag

access_grant_ids List of UUIDs

IDs of the access grants associated with this access method.

access_grant_keys List of Strings

Keys of the access grants associated with this access method (if present).

access_method_id UUID

ID of the affected access method.

created_at Datetime

Date and time at which the event was created.

event_id UUID

ID of the event.

event_type Enum

Value: access_method.created

occurred_at Datetime

Date and time at which the event occurred.

workspace_id UUID

ID of the workspacearrow-up-right associated with the event.


Endpoints

/access_methods/delete

Deletes an access method.

/access_methods/encode

Encodes an existing access method onto a plastic card placed on the specified encoderarrow-up-right.

/access_methods/get

Gets an access method.

/access_methods/get_related

Gets all related resources for one or more Access Methods.

/access_methods/list

Lists all access methods, usually filtered by Access Grant.

Last updated

Was this helpful?