Error
A valid request URL is required to generate request examples{
"access_token": "<string>",
"token_type": "Bearer",
"expires_in": 123,
"scope": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Exchange Platform key for JWT token
Exchange a platform API key for a short-lived Bearer JWT with the OAuth2 client-credentials grant.
POST
/
api
/
cicd
/
v1
/
oauth
/
token
Error
A valid request URL is required to generate request examples{
"access_token": "<string>",
"token_type": "Bearer",
"expires_in": 123,
"scope": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}grant_type as client_credentials, the client ID (plt-…), and the client secret (abl_…) in the request body. The endpoint needs no authentication header.
Send the returned token in the Authorization: Bearer <token> header on every other CI/CD API call. The token expires after 900 seconds by default. Use the optional scope and projectIds fields to narrow the key’s grants. You can’t widen them. The scope field is an array of strings, and the response returns the granted scopes as one space-delimited string. This endpoint allows 20 requests per minute. Invalid credentials return 401.Body
application/json
Was this page helpful?