Skip to main content
GET /api/v1/invitations Requires members.read permission. Returns all invitations that have been created for the current organization, including accepted and expired ones.

Response

invitations
Invitation[]
required
Array of invitations.

Errors

StatusWhen
401Missing or invalid Bearer token
403Caller lacks members.read permission

Example

curl http://localhost:8080/api/v1/invitations \
  -H "Authorization: Bearer <token>"
{
  "invitations": [
    {
      "id": "i1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "email": "[email protected]",
      "role": {
        "id": "r1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "key": "developer",
        "name": "Developer",
        "is_system": true,
        "permissions": ["flags.read", "flags.write"]
      },
      "invited_by": "u1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "expires_at": "2026-03-28T10:00:00Z",
      "accepted_at": null,
      "created_at": "2026-03-21T10:00:00Z"
    }
  ]
}

Build docs developers (and LLMs) love