Skip to Content
Pouch
Admin organizations

List an organization's invitations

GET
/v1/admin/organizations/{id}/invitations

Auth: Admin key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Query Parameters

limit?integer

How many invitations to return, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Id of the last invitation on the previous page.

status?string

Only invitations in this state. pending excludes expired ones; expired is a pending invitation past its expiry.

Value in"pending""accepted""revoked""expired"
fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, email, role, status, invited_by, expires_at, accepted_at, created_at.

Response Body

A page of invitations, newest first.

application/json
  1. response
data?array<>

The page of invitations, newest first.

next_cursor?|

Id to pass as cursor for the next page. Null on the last page.

Example Request
curl -X GET 'https://pouch.example.com/v1/admin/organizations/string/invitations'
Example Response
{  "data": [    {      "id": "string",      "email": "string",      "role": "owner",      "status": "pending",      "invited_by": "string",      "expires_at": "string",      "accepted_at": "string",      "created_at": "string"    }  ],  "next_cursor": "string"}