curl --request POST \
--url https://apix.us.amity.co/api/v1/invitations/{invitationId}/accept \
--header 'Authorization: Bearer <token>'
{
"success": true
}
Accepts a pending invitation. This will change the invitation status to “approved” and perform the associated action (e.g., adding the user to a community).
curl --request POST \
--url https://apix.us.amity.co/api/v1/invitations/{invitationId}/accept \
--header 'Authorization: Bearer <token>'
{
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the invitation
1 - 50
Accept invitation response
The response is of type object
.