OAuth

Who am I (Bearer whoami)

Returns the identity behind a Bearer token: client_id, scopes, audience, expiry and, for service_auth registrations, the confirmed email. Accepts production and sandbox tokens. 401 with a WWW-Authenticate Bearer challenge when the token is missing or invalid.

get/agent/identity

Request

  • Base URL: https://codeatlas.com.br
  • URL: https://codeatlas.com.br/agent/identity
  • Auth: OAuth 2 (client credentials, token URL https://codeatlas.com.br/oauth2/token, scopes: api:write)

Response

The caller.

client_idstring required
audiencestring uri required
scopesstring[] required
expires_atstring date-time required
issued_atstring date-time required
issuerstring uri required
emailstring nullable required

Confirmed email for service_auth registrations, otherwise null.

registration_type'dynamic_client' | 'service_auth' required
sandboxboolean required

Changes

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