Skip to content
Select themeSelect language

POST /organization/invites/accept — accept an invite by token (logged-in; the account email must match the invite). Returns the joined organization id.

POST
/api/organization/invites/accept
curl --request POST \
--url https://example.com/api/organization/invites/accept \
--header 'Content-Type: application/json' \
--data '{ "token": "example" }'
Media typeapplication/json
object
token
required
string
Examplegenerated
{
"token": "example"
}
Media typeapplication/json

POST /organization/invites/accept response — the joined organization id.

object
organization_id
required
string format: uuid
Examplegenerated
{
"organization_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}