Admin organizations
List an organization's invitations
GET
Auth: Admin key.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
limit?integerHow many invitations to return, at most 200.
Range
1 <= value <= 200Default
50cursor?stringId of the last invitation on the previous page.
status?stringOnly invitations in this state. pending excludes expired ones; expired is a pending invitation past its expiry.
Value in
"pending""accepted""revoked""expired"fields?stringComma-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.
A page of invitations, newest first.
application/json- 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.
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"}