Events (Admin)

Upload description image (Admin)

POST/manage/events/:eventId/description-images

Upload an image to embed in the event description (Markdown) and get its URL. Requires the eventWrite permission.

AuthLogin required

Path parameters

eventIdstringrequired

Event ID or slug.

Request body

filefilerequired

Image file (multipart/form-data); the field name differs per endpoint.

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

FieldTypeDescription
imageUrlstringURL of the uploaded image; paste it into the description Markdown.
Request
curl https://api.4s.link/manage/events/EVENT_ID/description-images \
-X POST \
-H "Authorization: Bearer 4s_at_..." \
-F "file=@image.png"
Example response
{
"imageUrl": "https://.../description-1.png"
}