Events (Admin)
Add participant (Admin)
POST
/manage/events/:eventId/entriesRegister a 4S user as a participant (the registration is created as CONFIRMED). Requires the participantsWrite permission. Fails with EVENT_ALREADY_REGISTERED if the user already has an active registration, and with USER_IS_GUEST for guest users. Capacity and ticket stock are checked like self-registration.
| Auth | Login required |
|---|
Path parameters
eventIdstringrequiredEvent ID or slug.
Request body
userIdstringrequiredUser ID to register (required).
ticketIdstringoptionalTicket to assign; must belong to the same event.
sendEmailbooleanoptionalSend the registration email (with My QR code) to the user. Defaults to true.
Response
Returns EventEntry.
Request
curl https://api.4s.link/manage/events/EVENT_ID/entries \-X POST \-H "Authorization: Bearer 4s_at_..." \-H "Content-Type: application/json" \-d '{"userId": "a1b2c3d4-...","ticketId": "t1a2b3c4-...","sendEmail": true}'
Example response
{"id": "en1a2b3-...","state": "CONFIRMED","eventId": "e1a2b3c4-...","userId": "a1b2c3d4-...","ticketId": "t1a2b3c4-...","user": { "id": "a1b2c3d4-...", "slug": "taro", "firstName": "太郎", "lastName": "山田" },"ticket": { "id": "t1a2b3c4-...", "name": "一般チケット" },"speaker": null}