Headless LMS

Accept an invitation with the logged-in account

POST
/api/organizations/invites/accept

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/organizations/invites/accept" \  -H "Content-Type: application/json" \  -d '{    "token": "string"  }'
{  "status": "accepted"}
{  "error": "string",  "message": "string"}