Accept an invite with the signed-in account
POST /api/organizations/invites/accept. Accept an invite with the signed-in account. Headless LMS Organizations API reference.
For any signed-in person whose email matches the invitation. Makes the invite's organization the session's active one. 400 when the token is invalid or expired, or the email does not match.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/organizations/invites/accept" \ -H "Content-Type: application/json" \ -d '{ "token": "string" }'{}{ "error": "string", "message": "string", "requestId": "string", "issues": [ { "path": "string", "message": "string" } ]}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}Read an invite by its token GET
GET /api/organizations/invites/{token}. Read an invite by its token. Headless LMS Organizations API reference.
Get the portal org's public identity (branding) GET
GET /api/member/org. Get the portal org's public identity (branding). Headless LMS Organizations API reference.