List pending invitations in the caller's tenant
Returns UNACCEPTED invitations (accepted_at IS NULL) for the caller's tenant in the standard paginated envelope. `status` is derived per row — `pending` while `expires_at` is in the future, `expired` once it has passed. Accepted invitations are excluded: the invited user appears in GET /v1/admin/users after acceptance. Supports free-text search on email. Requires tenant.users.read.
Returns UNACCEPTED invitations (accepted_at IS NULL) for the caller's
tenant in the standard paginated envelope. status is derived per
row — pending while expires_at is in the future, expired once
it has passed. Accepted invitations are excluded: the invited user
appears in GET /v1/admin/users after acceptance. Supports free-text
search on email. Requires tenant.users.read.
Authorization
bearerAuth JWT Bearer access token. Clock skew tolerance is ±60 seconds.
In: header
Query Parameters
11 <= value201 <= value <= 100Column to order pending invitations by. Defaults to created_at descending. status and delivery_state are computed per row after the page is sliced and are not sortable — order by expires_at instead, which is what status is derived from. Anything else returns 400 invalid_sort_key.
"email" | "created_at" | "expires_at"Sort direction. Ignored unless sort is supplied; an unrecognised value returns 400 invalid_sort_order.
"asc" | "desc"Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/admin/invitations?sort=email&order=asc"{
"invitations": [
{
"id": "018f6d0e-1111-7abc-8def-111111111111",
"email": "[email protected]",
"role_ids": [
"11111111-1111-1111-1111-111111111111"
],
"group_ids": [],
"invited_by": "22222222-2222-2222-2222-222222222222",
"created_at": "2026-07-08T04:10:00Z",
"expires_at": "2026-07-11T04:10:00Z",
"status": "pending"
}
],
"total": 1,
"page": 1,
"limit": 20,
"total_pages": 1
}{
"error": "unauthenticated",
"message": "missing or invalid bearer token",
"request_id": "req_01abc123"
}{
"error": "permission_denied",
"message": "caller does not hold the required permission",
"request_id": "req_01abc124"
}Was this page helpful?