How to upload a floor plan image to a hall

How to upload a floor plan image to a hall

Use this guide when you need to attach a floor plan image to a hall — either by providing a publicly accessible image URL, or by uploading a file directly.


Request — set image via URL

Bash
curl -X POST "https://your-event-domain.com/api/v2/floorplan/setHall" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "id=9" \
  -F "image=https://example.com/floorplans/hall-a.jpg"

Request — upload image file

Bash
curl -X POST "https://your-event-domain.com/api/v2/floorplan/setHall" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "id=9" \
  -F "image=@/path/to/floorplan.png"

Accepted image formats

  • image/png

  • image/jpeg


Notes

  • Always check data.errors to confirm the image was processed successfully — invalid URLs produce non-fatal errors but the hall is still updated