Skip to content

Get me

GET
/me
curl --request GET \
--url https://example.com/api/me \
--header 'Authorization: Bearer <token>'

The user the token belongs to, and the one virtual team (ID 1) with the instance name and time zone.

Token abilities: identity:read.

OK.

Media typeapplication/json
object
email
required
string
id
required
integer
name
required
string
photo_url
required
string
teams
required
array
>= 1 items <= 1 items

Example

{
"email": "ada@example.com",
"id": 1,
"name": "Ada Admin",
"photo_url": "https://monitoring.example.com/favicon.svg",
"teams": [
{
"created_at": "2026-09-30T12:00:00+00:00",
"id": 1,
"name": "Heptapod",
"timezone": "Europe/Berlin"
}
]
}
X-RateLimit-Limit
integer

Requests per minute allowed by the limit this response counts against.

X-RateLimit-Remaining
integer

Requests left in the current minute.

Missing, invalid, expired or session-only credentials, or a disabled user.

Media typeapplication/json
Unauthenticated
object
error
required
string

Examples

ExampleUnauthenticated

Missing or invalid token

{
"error": "Unauthenticated."
}

The token lacks a required ability, or the user’s role or client access does not allow this action.

Media typeapplication/json
ErrorMessage
object
message
required
string

Examples

ExampleForbidden

The token lacks the ability

{
"message": "Invalid ability provided."
}

Rate limited: 60 requests per minute per source IP before authentication, and 60 per minute per user and per token. See Retry-After.

Media typeapplication/json
TooManyRequests
object
error
required
string

Examples

ExampleTooManyRequests

Rate limited

{
"error": "Too Many Attempts."
}
Retry-After
integer

Seconds to wait before retrying.

X-RateLimit-Reset
integer

Unix time when the request limit resets. Only on request rate limits, not on refused manual runs.