Api reference
List invitations for the caller's org
Paginated invite list. Optional `status` filter selects `pending`, `accepted`, `revoked`, or `expired`. `token_prefix` is safe to display; the full token is never echoed after creation.
Query Parameters
status?|null
limit?Limit
Default
25Range
1 <= value <= 100offset?Offset
Default
0Range
0 <= valueHeader Parameters
org-id?string|null
x-user-id?string|null
x-request-id?string|null
traceparent?string|null
Idempotency-Key?|null
Response Body
application/json
application/json
curl -X GET "https://loading/v1/admin/org/invites"{
"data": [
{
"id": "string",
"email": "user@example.com",
"scope": "admin",
"token_prefix": "string",
"status": "pending",
"expires_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"accepted_at": "2019-08-24T14:15:22Z",
"revoked_at": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"limit": 25,
"offset": 0,
"total": 0
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Remove a member's account from the caller's org
Detaches the member from this org. The underlying user record is not deleted — a user may belong to multiple orgs. Returns `204 No Content`.
Create an invitation for a new member
Creates a pending invite. The full one-time `invite_url` is returned **only on this response** — subsequent `GET` reads include `token_prefix` but not the URL. Partners forward the URL to the invitee out-of-band. A pending invite for the same email returns `409 invite_pending`.