Integrations · REST API
Your system's data in your own website or app
Your website wants to show what is free next weekend. Your accountant wants a report nobody has built. With an API key, a developer reads your equipment, stock, availability, customers, bookings and payments as JSON. Your own forms can create customers and bookings. You make and revoke the keys.
At a glance
- Partner
- REST API
- Category
- Developers
- Markets
- Every market
- Set-up
- The API keys page in RentalTrax, for administrators: generate a key, hand it to your developer, revoke it when the project ends. Nothing to install.
- Plans
- Every plan
What moves between the systems
| What | From | To | When |
|---|---|---|---|
| Equipment, categories and shop categories | RentalTrax | Your website or app | On request, as JSON with images and galleries, paged and filterable |
| Stock and availability | RentalTrax | Your website or app | On request: stock per item, what is free in a period, and per month |
| Customers, bookings and payments | RentalTrax | Your website or app | On request, one by id or as a list |
| New customers and bookings | Your website or app | RentalTrax | When your code posts them; a booking carries its cart of items and quantities |
| The key | RentalTrax | Your developer | Once, from the API keys page; sent as a header on every request, revocable at any time |
Set it up in 3 steps
Generate a key
On the API keys page, an administrator presses generate. The key is a string your developer sends as the X-Api-Auth header on every request; keep it out of public code.
Read the data
The base address is your system's address followed by /api/v1.0/. Each entity answers a list at its own path, such as /equipment/, and one row at its id. Everything is JSON; filters go in the query string.
Write where you need to
Post a customer or a booking to create it, post to its id to update it, delete to remove it. A booking is posted with its cart, the items and their quantities, and lands in your system like any other.
It takes hundreds of components to properly setup a tent and manage an event. Without a software program like RentalTrax to make our business much more efficient, we wouldn't be able to offer our clients the best price, service and support in our area. Helle Sorensen, Owner, Flotte Telte
Questions
Is this the same as the AI assistant's tools?
No. The assistant uses the system's operations with OAuth per user and a preview before every write. The REST API is key-based access for your own code.
What is the format?
JSON over HTTPS, one path per entity under /api/v1.0/, with GET for lists and single rows, POST to create or update and DELETE to remove. The key goes in the X-Api-Auth header or as the apikey parameter.
Can a key be limited to reading?
Not today. A key has the rights of the API itself, so make one key per project and keep it out of public code. Revoke it on the API keys page the day the project ends.
Is there documentation with examples?
Write to support and we send example requests for the common cases. The equipment list for a website, availability for a period, a booking with a cart.
Give your developer a key to a trial system
30 days free. The API keys page is in your system from the first login.