GET
/users.identityGet the authenticated user's identity
Retrieves the authenticated user's identity and team information. Provide a token with the identity.basic scope, with additional identity scopes determining whether fields such as email or avatar details are included.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringoptional
Authentication token with the `identity.basic` scope; additional identity scopes can provide email or avatar information.
200Returns the authenticated user's `user` object and associated `team` object, with additional identity fields determined by the granted scopes.
defaultTypical error response
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
okbooleanrequired
Error handling
The optional token must provide the identity.basic scope when supplied. The returned identity includes user and team objects, while additional email or avatar details depend on the identity scopes granted to the token.