Skip to content

Accept a human invitation and sign in

POST/v1/invitations/human/accept

Request Body

application/json

Response Body

application/json

curl -X POST "https://example.com/v1/invitations/human/accept" \
  -H "Content-Type: application/json" \
  -d '{
    "invitationId": "550a4884-8473-4f2e-a6cf-551c16767d59",
    "code": "string",
    "email": "string",
    "otp": "string"
  }'
{
  "admitted": true,
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "workplaceId": "4989ce91-52f9-461b-87fa-af1f28004fc0",
  "mailbox": {
    "mailboxId": "f16f762c-c61b-441d-8b9c-9aff4650cbe1",
    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
    "address": "user@example.com"
  }
}