API ReferenceInvitations
Accept invitation
Accept an invitation and join the associated project
AuthorizationBearer <token>
Clerk authentication token
In: header
Path Parameters
tokenstring
Invitation token to accept
Response Body
curl -X POST "http://localhost:3001/invitations/string/accept"{
"success": true,
"resourceType": "project",
"resourceId": "string"
}{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}