Add Card to User

Create an access card credential for the user identified by user_id or external_id in the body.
Either card_number (paired with facility_code) or card_number_hex must be provided.
Clients may set the Idempotency-Key header. Supplying the same key on a retry returns the original response without creating a duplicate card.
Returns the created card object with HTTP 201.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Body for POST /v2/access/credentials/cards.

boolean
Defaults to false

Whether the credential is currently active. Defaults to false.

string
^[0-9]{1,20}$

The card number used to grant or deny access to a door. Numeric only, up to 20 digits. Mutually exclusive with card_number_hex.

string
^[0-9A-Fa-f]{1,40}$

The card number in hexadecimal used to grant or deny access to a door. Mutually exclusive with card_number. When using card_number_hex, facility_code must be omitted.

string
length between 1 and 256

A unique identifier managed externally provided by the customer. Provide either user_id or external_id, not both.

string
^[0-9]{1,10}$

The facility code used to grant or deny access to a door. Numeric only, up to 10 digits. Required when card_number is supplied. Must be omitted when card_number_hex is supplied.

string
required
length between 1 and 128

One of the supported card types: Standard 26-bit Wiegand, HID 37-bit, HID 37-bit No Facility Code, HID 34-bit, Casi Rusco 40-Bit, HID Corporate 1000-35, HID Corporate 1000-48, HID iClass, DESFire CSN, Verkada DESFire EV3, Third Party DESFire 40X, Apple Wallet Pass, MiFare 4-Byte (32 bit) CSN, MDC Custom 64-bit, HID 36-bit Keyscan, HID 33-bit DSX, HID 33-bit RS2, HID 36-bit Simplex, Cansec 37-bit, Credit Card BIN Number, Credit Card BIN Number (191-bit), Kantech XSF, Schlage 34-bit, Schlage 34-bit N, Schlage 37-bit, RBH 50-bit, Guardall G-Prox II 36-bit, AMAG 32-bit, Securitas 37-bit, Kastle 32-bit, PointGuard MDI 37-bit, Blackboard 64-bit, IDm 64-bit, Continental 36-bit, AWID 34-bit, HID Infinity 37-bit, HID Ceridian 26-bit, iClass 35-bit, Andover Controls 37-bit, FASC-N 200-bit, Acro 27-bit, Trevecca 64-bit, Allied Universal 37-bit, 42-bit HIDext-CRYPD, HID 10304 37-bit (Custom), ISO7811 115-bit, Avigilon 56-Bit, Wiegand 32 Bit, Cyprus 37-Bit, PIV, 34-Bit JCI, MiFare 4-Byte (32 bit) CSN Reverse.

uuid

The unique identifier of the user managed by Verkada. Provide either user_id or external_id, not both.

Responses
200

ok

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json