Invite a member or student into the active organization
POST /api/organizations/invites. Invite a member or student into the active organization. Headless LMS Organizations API reference.
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" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "role": "admin" }'{ "id": "string", "email": "string", "role": "admin", "status": "string", "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z"}{ "error": "string", "message": "string", "requestId": "string"}