Skip to main content
Create an access token using the user information provided in the API request

Authorizations

Authorization
string
header
required

HTTP Basic authentication using Trusted Access client credentials. Use the client ID as the username and the client secret as the password. Trusted Access clients are managed via the /api/trusted-access/clients endpoints.

Headers

x-preprocess-credentials-for
string

Body

application/vnd.composer.v3+json

Access token creation request

username
string
required

User name

Maximum string length: 255
account
string
required

Account name

Maximum string length: 255
fullname
string

User full name

Maximum string length: 255
Pattern: ^(?!\s*$).+
email
string

User email

Maximum string length: 255
Pattern: ^(?!\s*$).+
groups
string[]

User groups labels

attributes
object[]

User attributes

Response

The access token was created successfully

Defines a Trusted Access Token

access_token
string

Access token

expires_in
integer<int32>

The lifetime in seconds of the access token.

token_type
string

Token type