Skip to main content
POST
Create an access token

Authorizations

Authorization
string
header
required

Client id as the username, client secret as the password. Token endpoint only. These are live credentials: keep the secret on your server.

Body

grant_type
enum<string>
required
Available options:
client_credentials
scope
string

Space-separated. Omit to get every scope the client holds.

Example:

"events:read orders:write"

client_id
string

Body authentication only (instead of Basic).

Example:

"LCSCLI-EXAMPLECLNT2345EXAMP"

client_secret
string

Body authentication only (instead of Basic). Server-side only.

Example:

"LCSSECK-EXAMPLESECRET2345678EXAMPLESECRET2345678EXAMPLESECRE-X"

Response

A bearer token. Cache-Control: no-store.

access_token
string
required
Example:

"LCSTOK-EXAMPLETKN23456789EXAMPLETKN23456789EXAMPLETKN234567-X"

token_type
enum<string>
required
Available options:
Bearer
expires_in
integer
required
Example:

3600

scope
string
required

The granted scopes, space-separated.