Skip to main content
POST
Exchange external JWT for MLM tokens

Authorizations

x-tenant-api-key
string
header
required

Tenant API key for authentication

Body

application/json
externalJwt
string
required

JWT from external provider

provider
string
required

Provider ID (e.g., 'open-ears')

token
string

Deprecated alias for externalJwt

Response

Token exchange successful

accessToken
string
refreshToken
string
tokenType
enum<string>
Available options:
Bearer
expiresIn
integer
scope
string
mlmUserId
string<uuid>
isNewUser
boolean