Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Headers

Idempotency-Key
string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Maximum string length: 255

Path Parameters

experience_id
string
required

The experience ID

Body

application/json
customer_id
string
required

Customer ID (cus_...) to grant access to

reason
string | null

Optional reason recorded on the grant

Response

Grant created

id
string
required
object
string
required
customer
string
required
customer_name
string
required
customer_email
string
required
experience
string
required
experience_name
string
required
status
string
required
grant_type
string
required
reason
string | null
required
granted_at
string<date-time> | null
required
revoked_at
string<date-time> | null
required
expires_at
string<date-time> | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required