Imxi partner API

Base URL https://api.imxi.mt/v1/partner. Send Authorization: Bearer imxi_live_…. OpenAPI: openapi.json. Guide: imxi.mt/developers.

Routes

GET/venueThe business this key belongs toany
GET/resourcesRooms, lanes, boats, courts, instructors and staffavailability:read
POST/resourcesAdd a resource (Pro)resources:write
GET/resources/{id}One resourceavailability:read
PATCH/resources/{id}Change a resourceresources:write
DELETE/resources/{id}Switch a resource off (its future sessions without bookings go)resources:write
GET/blocksBlocks in a range (92 days at most): yours, the business’s own, and copies of its calendarsavailability:read
POST/blocksBlock a time. The same externalRef again moves it (200)availability:write
GET/blocks/{id}One block, by id or your externalRefavailability:read
PATCH/blocks/{id}Move or change a blockavailability:write
DELETE/blocks/{id}Open the time againavailability:write
GET/optionsServices, who gives them, day passes and whether enquiries are takenavailability:read
GET/availabilityFree table times on a dayavailability:read
GET/availability/daysWhich days have tables freeavailability:read
GET/tablesThe tablesavailability:read
GET/waitlistThe waitlist for a daybookings:read
GET/bookingsBookings in a range, oldest first (31 days at most)bookings:read
POST/bookingsBook a tablebookings:write
GET/bookings/{ref}One booking, by id or its six character referencebookings:read
PATCH/bookings/{ref}Move a table booking, change the party or your notebookings:write
DELETE/bookings/{ref}Cancel (the same as POST /bookings/{ref}/cancel)bookings:write
POST/bookings/{ref}/cancelCancel (a paid deposit goes back in full)bookings:write
POST/bookings/{ref}/statusMark arrived, seated, completed, no show or confirmedbookings:write
GET/sessionsSessions with places left, by dayavailability:read
GET/sessions/{id}One session and the bookings on itbookings:read
POST/sessions/{id}/bookingsBook places on a sessionbookings:write
GET/appointments/availabilityFree start times for a service on a dayavailability:read
POST/appointmentsBook an appointmentbookings:write
GET/enquiriesGroup and private hire enquiries, newest firstbookings:read
POST/enquiriesSend an enquiry from your own website formbookings:write
GET/enquiries/{id}One enquirybookings:read
POST/enquiries/{id}/quoteSend a quote: the total, a deposit (0 for none), a note and how many days it holds. The guest is told.bookings:write
POST/enquiries/{id}/declineDecline an enquiry, with an optional note for the guest. The guest is told.bookings:write
GET/day-passesDay passes on saleavailability:read
GET/day-passes/ordersDay passes sold for a datebookings:read

Webhook events

booking.createdA booking is made
booking.updatedA booking changes
booking.cancelledA booking is cancelled
booking.seatedA party is seated
booking.completedA booking is finished
booking.no_showA party does not turn up
deposit.paidA deposit is paid
deposit.refundedA deposit is refunded
waitlist.joinedSomeone joins the waitlist
booking.confirmedA booking is confirmed
guarantee.heldA card guarantee is held
guarantee.chargedA card guarantee is charged
guarantee.releasedA card guarantee is released
session.cancelledA session is cancelled
enquiry.receivedAn enquiry comes in
enquiry.quotedYou send a quote
enquiry.acceptedA quote is accepted
enquiry.declinedAn enquiry is declined
enquiry.expiredA quote runs out
ticket.purchasedTickets are bought
ticket.refundedA ticket is refunded
ticket.checked_inA ticket is scanned in
guest_list.addedA name is added to a guest list
guest_list.checked_inA guest list name is ticked
day_pass.purchasedA day pass is bought
day_pass.redeemedA day pass is used
day_pass.refundedA day pass is refunded