Skip to main content
POST
Register a timed visitor pass

Authorizations

Authorization
string
header
required

Partner API Key passed in the Authorization header: Authorization: Bearer ak_live_... (or ak_test_... for Cloud Sandbox, ak_local_... for Local Direct).

Headers

Idempotency-Key
string<uuid>

Unique UUID recommended on all mutating calls to safely retry after network timeouts.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
facilityId
string
required

Unique external facility identifier within your partner scope.

Example:

"MY-KL-001"

credential
object
required

Generalized vehicle or user credential scoped to the target facility.

visitorName
string
required
validFrom
string<date-time>
required

ISO 8601 timestamp with explicit timezone offset or Z UTC suffix.

Example:

"2026-11-27T12:00:00+08:00"

validUntil
string<date-time>
required

ISO 8601 timestamp with explicit timezone offset or Z UTC suffix.

Example:

"2026-11-27T12:00:00+08:00"

visitorPhone
string
hostUnit
string

Hotel room, suite, or tenant unit identifier.

maxEntries
integer | null
default:1

Maximum permitted entries within the validity window (null = unlimited).

Required range: x >= 1
validAreaCodes
string[]
purpose
string
metadata
object

Flat key-value partner correlation metadata (maximum 10 keys, string values only).

Response

Visitor pass created.

visitor
object
required