Generate a new access-token for a client application (OAuth 2.0 client credentials flow).
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
}
OK
The response is of type object
.
Was this page helpful?
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
}