API referenceAuth
Accept
Public by token: creates or joins the invited account and starts a login session.
POST
/api/v1/invitations/{invitation_id}/acceptPublic by token: creates or joins the invited account and starts a login session.
Path Parameters
invitation_id*Invitation Id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/invitations/string/accept" \ -H "Content-Type: application/json" \ -d '{ "password": "pa$$word", "token": "stringstringstri" }'{ "csrf_token": "string", "principal_id": "string"}