Skip to main content
POST
/
organizations
/
authenticate
Authenticate Whitelabel User
curl --request POST \
  --url https://api-sandbox.y.uno/v1/organizations/authenticate \
  --header 'Content-Type: application/json' \
  --header 'PRIVATE-SECRET-KEY: <api-key>' \
  --header 'PUBLIC-API-KEY: <api-key>' \
  --data '
{
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "access_token": "<string>",
  "token_type": "Bearer",
  "expires_in": 86400
}
Authenticates a whitelabel user and returns a JWT embed token. This token can be used for subsequent authenticated requests on behalf of the whitelabel user.

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Body

application/json
user_id
string<uuid>
required

UUID of the whitelabel user.

Response

OK

access_token
string

JWT token for the whitelabel user.

token_type
string
Example:

"Bearer"

expires_in
integer
Example:

86400