Skip to main content
POST
Accept an invitation
Redeems an invitation token and adds the signed-in person to the organization. It needs a session rather than an API key, because the caller has no organization context until the call succeeds. Related guide: User provisioning: onboard people at scale. Redeems an invitation token for the signed-in person. Session only — the caller is not a member of the organization yet, so no organization context applies. The invitation must be addressed to the caller’s email.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Body

application/json
token
string
required

Response

Joined

organizationId
string
organizationName
string