Issue a short-lived customer token for the authenticated tenant user.
POST/api/v1/auth/customer-sessions
Authorization
Use a server-side API key with the listed grants and permitted resource access.
customer-sessions:create
Request headers
X-Api-Keyrequired
Your server-side integration credential.
Content-Typeapplication/json
Encode the request body as JSON.
Request body
subjectstring · required
Stable subject derived by your backend from its authenticated session.
scopesarray · required
The scopes values for this request.
Response
201Created
Returns the authorized resource or result for this operation. List results use items, nextCursor, and hasMore.
Behavior to account for
Derive subject from your authenticated server session. This endpoint cannot create identities or expand access. It requires customer-sessions:create and an explicit delegation policy. No renewal token is issued for tenant-owned login.
Errors
Authentication failures return 401 or 403. Inaccessible resources return 404. Business and idempotency conflicts return 409. Rate limits return 429 with retry guidance.
We use cookies to understand how the site is used so we can improve it. Analytics stays off until you accept. You can change your choice anytime from the footer. Read ourPrivacy Policy.