Test And Accept
API ReferenceInvitations

List user invitations

Get all pending invitations for the authenticated user

GET
/invitations
AuthorizationBearer <token>

Clerk authentication token

In: header

Response Body

curl -X GET "http://localhost:3001/invitations"
{
  "invitations": [
    null
  ]
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}