Skip to main content

CreateSessionResponseDto

Response returned by POST /v1/tenants/{tenantId}/embedded-components/sessions.

sessionIdstringrequired
tokenstringnullable

JWT for iframe mode; omitted in direct-link mode.

urlstringrequired

URL the partner embeds in an iframe or shares as a link.

accessModeAccessMode

Possible values: [iframe, direct-link]

expiresAtint64

Unix seconds when the session expires.

CreateSessionResponseDto
{
"sessionId": "string",
"token": "string",
"url": "string",
"accessMode": "iframe",
"expiresAt": 0
}