Create guest speaker (Admin)
/manage/events/:eventId/speakers/guestCreate a speaker who is not registered on 4S as a guest user (cannot sign in, no public profile), together with a draft (UNUSED) registration and speaker metadata. Requires the speakersWrite permission. Email is optional and no emails are sent to guests.
| Auth | Login required |
|---|
Path parameters
eventIdstringrequiredEvent ID or slug.
Request body
firstName / lastNamestringrequiredName (required).
nativeNamestringoptionalName in the native language.
emailstringoptionalEmail (optional). Fails with GUEST_EMAIL_ALREADY_REGISTERED when it belongs to an existing member. If the person later signs up with this email, the registration is carried over to their account.
langstringoptionalPrimary language code. Defaults to "ja".
avatarUrl / title / biostringoptionalProfile (stored on the user).
Localized title / bio.
ticketIdstringoptionalTicket to assign.
statestringoptionalRegistration state for the created registration: UNUSED (draft) or CONFIRMED. Defaults to UNUSED.
pickedUpbooleanoptionalWhether to feature the speaker.
Response
Returns Speaker.
curl https://api.4s.link/manage/events/EVENT_ID/speakers/guest \-X POST \-H "Authorization: Bearer 4s_at_..." \-H "Content-Type: application/json" \-d '{"firstName": "花子","lastName": "佐藤","nativeName": "佐藤 花子","email": "hanako@example.com","title": "CTO"}'
{"id": "en9z8y7-...","entryId": "en9z8y7-...","eventId": "e1a2b3c4-...","userId": "g1h2i3j4-...","firstName": "花子","lastName": "佐藤","nativeName": "佐藤 花子","title": "CTO","pickedUp": false,"entry": { "id": "en9z8y7-...", "state": "CONFIRMED", "ticketId": null, "checkedInAt": null, "ticket": null },"user": { "id": "g1h2i3j4-...", "slug": "g1h2i3j4-...", "guest": true }}