API referenceInvitations
Accept an invitation
POST
/v1/invitations/acceptThe signed-in user's email must match the invitation.
AuthorizationBearer <token>
A session token from /v1/auth/sign-in/email (CLI, scripts).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/invitations/accept" \ -H "Authorization: Bearer $DLOGIFY_SESSION" \ -H "Content-Type: application/json" \ -d '{ "token": "string" }'{ "member_id": "string", "org_id": "string", "role": "owner"}