POST
/
connect
/
token
curl --request POST \
  --url https://accounts.world.luccasoftware.com/connect/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>' \
  --data 'scope=[
  "<string>"
]' \
  --data grant_type=client_credentials
{
  "access_token": "<string>",
  "token_type": "Bearer",
  "expires_in": 1800
}

About authentication

Read the documentation to learn more about authentication.

Body

application/x-www-form-urlencoded
client_id
string
required
client_secret
string
required
scope
string[]
required

Space (" ") separated list of OAuth scopes.

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

Response

200 - application/json
OK
access_token
string
required
token_type
enum<string>
default:Bearer
required
Available options:
Bearer
expires_in
integer
default:1800
required

Expiration delay in seconds (30 min).

Was this page helpful?