Skip to content
Sign in

Accept human invitation

POST/v1/invitations/human/accept

Accept a human invitation and sign in.

Request body

application/json

Response body

application/json

application/json

application/json

curl -X POST 'https://api.agentworkplace.dev/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",
    "previousAddress": "user@example.com"
  }
}