Skip to main content
POST
Create an access token

Authorizations

Authorization
string
header
required

Authenticate with HTTP Basic auth using the service account client_id as the username and client_secret as the password. The Authorization header value is Basic <base64(client_id:client_secret)>.

Body

application/x-www-form-urlencoded
grant_type
enum<string>
required
Available options:
client_credentials
Example:

"client_credentials"

Response

OK

access_token
string
required
Example:

"crewai_sacat_abc123"

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

"Bearer"

expires_in
integer
required
Example:

3600