Cowdidocs
API ReferenceOrganization members

List pending invitations

GET
/v1/organizations/{organizationId}/members/invitations

List the organization's pending member invitations, optionally filtered by role. Requires the caller's org:members:read permission on the organization. Returns a page ordered by a keyset cursor; pass the response's next/prev link, or the after/before value it carries, to page through the rest.

AuthorizationBearer <token>

Create a client with POST /v1/oauth/clients, then exchange its credentials for an access token. AUTHORIZATION_CODE clients act on behalf of a signed-in user and always use PKCE; CLIENT_CREDENTIALS clients act as themselves. A client may only be granted scopes its creator already holds — read the grantable list from GET /v1/oauth/clients/scopes.

In: header

Path Parameters

organizationId*string

Unique identifier (slug) of the organization.

Query Parameters

size?integer

Maximum number of invitations to return. Defaults to 20. Capped at 100.

Range0 < value
after?string

Opaque cursor. Returns the page of invitations after this position.

before?string

Opaque cursor. Returns the page of invitations before this position.

roles?array<string>

Optional. Return invitations that grant at least one of these roles. Repeat the parameter for a logical OR.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/organizations/greenwheels/members/invitations?size=20&after=eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwNCJ9&before=eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwNCJ9"
{  "data": [    {      "id": "550e8400-e29b-41d4-a716-446655440004",      "organization_id": "greenwheels",      "email": "jane@example.com",      "roles": [        "organization-financing-admin"      ],      "status": "PENDING",      "created_at": "2026-03-15T10:00:00Z",      "resource_id": "string"    }  ],  "links": {    "next": "/v1/payees?after=eyJpZCI6MX0",    "prev": "/v1/payees?before=eyJpZCI6MX0"  }}
{  "code": "BAD_REQUEST",  "description": "Bad Request"}
{  "code": "UNAUTHORISED",  "description": "Unauthorised"}
{  "code": "FORBIDDEN",  "description": "Forbidden"}
{  "code": "RATE_LIMIT_EXCEEDED",  "description": "Too Many Requests"}
{  "code": "INTERNAL_ERROR",  "description": "Internal Server Error"}