Thrive AI Health
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.

GET
/v1/admin/org/invites

Query Parameters

status?|null
limit?Limit
Default25
Range1 <= value <= 100
offset?Offset
Default0
Range0 <= value

Header 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"
    }
  ]
}