Test And Accept
API ReferenceInvitations

Verify invitation token

Verify that an invitation token is valid and get invitation details

GET
/invitations/verify/{token}
AuthorizationBearer <token>

Clerk authentication token

In: header

Path Parameters

tokenstring

Invitation token

Response Body

curl -X GET "http://localhost:3001/invitations/verify/string"
{
  "success": true,
  "invitation": null,
  "error": "string"
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}