v1

latestOpenAPI 3.0.32026-07-2488203535.0 KB
Component Sessions

Create a Session

This endpoint creates a short-lived session token that your embedded components can use to authenticate and fetch data. You must call this endpoint from your backend server to avoid exposing your API key.

post/sessions

Headers

acceptstring required

application/json

content-typestring required

application/json

Request body

OR

Example request

{
  "gateway": {
    "api_key": "51123456"
  }
}

Response

Session created successfully.

session_tokenstring
expires_atstring

Example response

{
  "session_token": "8910cbad-eed7-ad6c-572b2be67201.69613616.ZrEjQlHsm-uj9Iy5DTfK5KqaKrtVWeNk4LrfcTVFXQ4ESLCkOi0zHwHVu_Bv8H_j",
  "expires_at": "2025-12-20T17:13:38+00:00"
}
All 88 operations