Invitations

Operations of the Identity API (public). Paths are relative to your deployment's API host.

GET /api/identity-api/invitations/{code}

GET :code (organizations)

Reads an invitation by its code. PUBLIC — no authentication. Because this deployment serves multiple realms and an unauthenticated request carries no tenant signal, the realm query parameter is REQUIRED and must name a realm this deployment serves; the invitation is looked up within that realm only. Omitted, blank or unserved values are rejected with 400, and a code belonging to another realm returns 404.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
codepathstringyes
realmquerystringyesRealm the invitation belongs to. Required — this endpoint is unauthenticated and has no other way to identify the tenant.
StatusDescriptionBody
200Get invitation details by codeapplication/json object
400Bad Requestapplication/json object
404Not Foundapplication/json object

POST /api/identity-api/invitations/{code}/accept

POST :code/accept (organizations)

Executes accept invitation for organizations within the authenticated request context. Validate request DTO constraints and return the documented response contract.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
codepathstringyes
StatusDescriptionBody
200Accept invitation and join organizationapplication/json object
400Bad Requestapplication/json object
401Unauthorizedapplication/json object
403Forbiddenapplication/json object
404Not Foundapplication/json object
409Conflictapplication/json object