Integrating a Reporting Engine with Event Temple
The following endpoints are recommended to integrate Event Temple with your analytics software.
Bookings
Booking, by default, returns the total and amount paid. To get a breakdown of event revenue by revenue category, you can request a breakdown of booking category revenue summaries through an included parameter:
GET /v2/bookings?include=revenue_summaries HTTP/1.1
Host: api.eventtemple.com
Content-Type: application/vnd.api+json
X-Api-Key: d6791c28408d49099af28051e8813d5e
X-Api-Org: e683b7da713ec0d87645b36db72eee58
On the initial sync, you can use the pagination parameters to fetch all the bookings
GET /v2/bookings?bookings?page[number]=12&include=revenue_summaries HTTP/1.1
Host: api.eventtemple.com
Content-Type: application/vnd.api+json
X-Api-Key: d6791c28408d49099af28051e8813d5e
X-Api-Org: e683b7da713ec0d87645b36db72eee58
For subsequent sync, we recommend doing a delta sync strategy only to get bookings that have been updated since your last sync through the update_at filter:
GET /v2/bookings?bookings?filter[updated_at][gt]=2023/02/02&page[number]=1&include=revenue_summaries HTTP/1.1
Host: api.eventtemple.com
Content-Type: application/vnd.api+json
X-Api-Key: d6791c28408d49099af28051e8813d5e
X-Api-Org: e683b7da713ec0d87645b36db72eee58
The following APIs can also be used for syncing your data to your analytics software. The general strategy is similar to what is mentioned above:
Events API
Line Items API
Payments API
Updated over 1 year ago