OAuth

Get an access token (RFC 6749 client_credentials)

Exchanges credentials for a signed JWT valid for 3600 seconds. grant_type=client_credentials: authenticate with HTTP Basic or with client_id and client_secret in the form body. grant_type=urn:workos:agent-auth:grant-type:claim: send the claim_token from POST /agent/identity; answers authorization_pending until the person confirms the user_code, slow_down if polled faster than every 5 seconds, expired_token after 600 seconds. Use resource=https://codeatlas.com.br/api/sandbox/v1 for the sandbox. Limit: 30 per minute per IP.

post/oauth2/token

Request

  • Base URL: https://codeatlas.com.br
  • URL: https://codeatlas.com.br/oauth2/token
  • Auth: none required

Response

Access token.

access_tokenstring required
token_type'Bearer' required
expires_in3600 required
scopestring required

Changes

No recorded changes to this operation across all 1 revision of this API.