Skip to main content

Create an access token

POST 

/oauth/token

Creates an access token for the specified user credentials, the access token will last for 4 weeks. It can be used as a bearer token to access protected endpoints.

Request

Body

required

    scope stringrequired

    Possible values: [trusted public]

    Scope

    grant_type stringrequired

    Possible values: [password]

    Grant type

    email stringrequired

    User email

    password stringrequired

    User password

Responses

Obtain access token using users credentials

Schema

    access_token stringrequired

    Access token

    token_type stringrequired

    Token type

    expires_in integerrequired

    Token expiration time in seconds

    scope stringrequired

    Scope

    created_at integerrequired

    Token creation time in seconds

Loading...