Add an attendee to an event you run
POST /api/member/events/{eventId}/attendees. Add an attendee to an event you run. Headless LMS Events API reference.
Requires access:write, or events:write on the event or the org. Grants the event to the person, with source manual. Adding someone who already attends changes nothing. 404 when the event or the person does not exist; 409 not_published, ended or full.
Path Parameters
eventId*string
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
application/json
application/json
curl -X POST "https://example.com/api/member/events/string/attendees" \ -H "Content-Type: application/json" \ -d '{ "orgUserId": "string" }'null{ "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"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}