Auth
The credential making the request: its organization, pod, inbox and permissions.
| Method | Path | Summary |
|---|---|---|
GET | /v0/auth/me | Who Am I |
Who Am I
The identity and scope of the credential: which organization, pod and inbox it is bound to. Useful with a pod or inbox key to discover its scope.
Authentication: Authorization: Bearer <api key> or the dashboard mm_session cookie. Permission: none beyond a valid key.
Response
200 The credential (application/json)
scope_type"organization" | "pod" | "inbox"RequiredThe scope tier the credential is bound to.
scope_idstringRequiredID of the most specific scope: inbox_id for an inbox credential, pod_id for a pod credential, otherwise organization_id.
organization_idstringRequiredID of the organization.
pod_idstringID of the pod the credential is scoped to. Present when scope_type is pod, and for inbox credentials created under a pod.
inbox_idstringID of the inbox the credential is scoped to. Present when scope_type is inbox.
api_key_idstringID of the API key used. Absent for dashboard sessions and agent access tokens.
userobjectThe signed-in user, for a dashboard session.
Errors
| Status | Meaning |
|---|---|
401 | Missing, invalid, expired or revoked credential. |
500 | Unexpected server error. |
Error bodies use the error envelope.