Skip to content
WincoradevelopersBack to Wincora
API v1
AUTHENTICATION · V1

Create a customer session

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.

Error handling guide
Search the developer documentation
↑↓ NavigateEnter OpenEsc Close
Explore documentation