Integrating a Floor Plan System with Event Temple

Floor plan and event diagramming tools usually need two things from Event Temple: the event details to build a layout, and a place to put the finished diagram so the sales and operations team can find it on the booking. This guide covers both.

Scopes
crm_read to read spaces, events and attachments
crm_manage to upload or remove floor plans, or to update event details


Step 1:
Map spaces and setup styles
Get the property's spaces (function rooms) and setup styles (theatre, classroom, banquet and so on), and match them to the rooms and layouts in your system. Store the Event Temple id for each one.

GET https://api.eventtemple.com/v2/spaces
GET https://api.eventtemple.com/v2/setup_styles
Authorization: Bearer <access_token>
X-API-ORG: <api_org_id>
Each space includes its capacity, min_capacity and area.

Step 2: Get the events to diagram
Request upcoming events with their space, setup style and booking:

GET https://api.eventtemple.com/v2/events?filter[start_date][gteq]=2026-12-01&include=space,setup_style,booking&page[size]=100
Authorization: Bearer <access_token>
X-API-ORG: <api_org_id>

The fields most floor plan tools use:

name, start_date, end_date, start_time, end_time
space_id and setup_style_id
expected, guaranteed and set: the expected attendance, the guaranteed count, and the number of places to set
status: for example, only diagram tentative and definite events
booking_id: the booking to attach the finished floor plan to
notes
To keep layouts current, either:

poll for changes with filter[updated_at][gteq]=

Step 3: Attach the finished floor plan to the booking
Upload the diagram (for example, a PDF or PNG) to the event's booking. Send the file as multipart/form-data in a field named file.

curl -X POST "https://api.eventtemple.com/v2/resource_attachments?attachmentable_type=Booking&attachmentable_id=<booking_id>"
-H "Authorization: Bearer <access_token>"
-H "X-API-ORG: <api_org_id>"
-F "[email protected]"
Attachments belong to a booking, not to an individual event. If a booking has several events, include the event name and date in the file name so the team can tell the plans apart.
Files can be up to 50 MB.
The response includes the attachment id. Store it with the diagram in your system.
The floor plan then appears in the booking's attachments in Event Temple.

Step 4: Replace a floor plan when the layout changes
Attachments can't be edited. To replace a plan, upload the new file, then delete the old one:

DELETE https://api.eventtemple.com/v2/resource_attachments/<attachment_id>?attachmentable_type=Booking&attachmentable_id=<booking_id>
Upload first and delete second, so the booking never shows no floor plan.

Optional: send layout changes back to the event
If the planner changes the room, setup style or number of places to set in your tool, you can update the event so Event Temple matches. This needs crm_manage.

PATCH https://api.eventtemple.com/v2/events/<event_id>
Update only the fields your tool owns, such as space_id, setup_style_id and set. Leave attendance and pricing to the sales team.

Reading attachments
To list the files on a booking:

GET https://api.eventtemple.com/v2/resource_attachments?attachmentable_type=Booking&attachmentable_id=<booking_id>
Results are newest first.
Each result includes the file name and a download URL. The URL is signed and expires 10 minutes after the request, so download the file straight away or request the list again for fresh URLs.
Adding or removing an attachment updates the booking's updated_at parameter.


Did this page help you?