Events (Admin)
Upload speaker display avatar (Admin)
POST
/manage/events/:eventId/speakers/avatarUpload an avatar image for the event-specific display override and get its URL; pass it as overrides.avatarUrl. Requires the speakersWrite permission.
| Auth | Login required |
|---|
Path parameters
eventIdstringrequiredEvent ID or slug.
Request body
avatarfilerequiredImage file (multipart/form-data)
Notes
Images are sent as multipart/form-data. JPEG, PNG and GIF are supported, up to 5MB. Exceeding the limit returns 400 (errorCode 10042).
Response
| Field | Type | Description |
|---|---|---|
avatarUrl | string | URL of the uploaded avatar image. |
Request
curl https://api.4s.link/manage/events/EVENT_ID/speakers/avatar \-X POST \-H "Authorization: Bearer 4s_at_..." \-F "file=@image.png"
Example response
{"avatarUrl": "https://.../speaker-avatar.png"}