Skip to content
WincoradevelopersBack to Wincora
API v1
TENANT API · V1

Grant resource access

Grant an identity explicitly scoped access to a traveler, case, or order.

POST/api/v1/tenant/customer-identities/{id}/access

Authorization

Use a server-side API key with the listed grants and permitted resource access.

identities:access:manage

Request headers

X-Api-Keyrequired
Your server-side integration credential.
Idempotency-Keyrequired
Stable key for this intended action. Reuse it for retries of the same request.
Content-Typeapplication/json
Encode the request body as JSON.

Path parameters

idstring · required
Opaque identifier in the authorized resource scope. Nested identifiers must belong to their parent resource.

Request body

resourceobject · required
The resource values for this request.
Show object fields
typestring · required

traveler, case, order

idstring · required

Opaque resource identifier. Treat this value as a string.

scopesarray · required
The scopes values for this request.
customerIdstring · optional
Required business context for a traveler relationship. For a case or order, the service derives it from the resource.
expiresAtstring · optional
Optional expiry of this access relationship.

Response

201Created

Returns the authorized resource or result for this operation. List results use items, nextCursor, and hasMore.

Behavior to account for

Provisioning access is separate from issuing sessions. Requested resources must already lie within the integration’s administratively approved resource and delegation policy.

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