Events
Send an inquiry to the organizers
POST
/events/:eventId/inquiryEmail an inquiry to the event organizers (every ADMIN staff member). The email's Reply-To is the signed-in user's address, so organizer replies go there. The message is not stored. Users without an email address get a 400.
| Auth | Login required |
|---|---|
| Available to | Official 4S apps only (other apps' access tokens get 403) |
Path parameters
eventIdstringrequiredEvent ID.
Request body
messagestringrequiredThe inquiry, 1–2000 characters after trimming.
Response
| Field | Type | Description |
|---|---|---|
success | boolean | Always true. |
delivered | number | Number of emails sent; 0 when the event has no ADMIN staff. |
Request
curl https://api.4s.link/events/EVENT_ID/inquiry \-X POST \-H "Authorization: Bearer 4s_at_..." \-H "Content-Type: application/json" \-d '{"message": "会場に駐車場はありますか?"}'
Example response
{"success": true,"delivered": 2}