DocsAccount and help

API and webhooks

On Pro, connect your own website or accounting tool: read your bookings with a key, and be told the moment one is made or changes.

#Make a key

In Settings, API and webhooks, press Make a key. Copy it straight away: it is shown once, and LaneRent keeps only a scrambled version. You can have five. Remove a key and it stops working at once.

A key can only read. It cannot approve, change or delete anything.

#Read your bookings

Send the key with every call, as Authorization: Bearer your_key, to www.lanerent.com/api/v1:

  • /requests: your bookings, newest first. Add status, from and to (on the start date) to narrow it, and limit (up to 100). When the answer has a next value, send it as after for the next page.
  • /requests/R-ABC123: one booking.
  • /items: your items and prices.
  • /availability?start=2026-12-24&end=2026-12-26: how many of each item are free on those dates.

Dates look like 2026-12-24. Each key may make 120 calls a minute.

#Be told when something happens

Add a web address (it must start with https:// and be a public one) and LaneRent posts a message to it when a booking is made or its status changes. The events are request.created, request.approved, request.proof_sent, request.confirmed, request.picked_up, request.returned, request.declined and request.cancelled. Press Send a test to see your address answer.

Answer with any 2xx status. If you do not, LaneRent tries again after 1, 5, 30, 120 and 360 minutes, then stops. The same event can arrive more than once, so use its id to ignore a repeat.

#Check it came from LaneRent

Each post has a LaneRent-Signature header like t=1767225600,v1=3f9c…. Work out the HMAC-SHA256 of t, a full stop, and the exact body, using your signing secret, and compare it with v1. The secret is shown once, when you add the address. Refuse a post whose t is more than five minutes old.