Pagination, dates and times

Last updated 13 November 2026

Lists come in pages

Every list address (/v1/services, /v1/customers, /v1/bookings and so on) returns one page at a time, in a wrapper like this:

{
"data": [ ... ],
"nextCursor": "aTc0"
}
  • data is the list for this page.
  • nextCursor is a marker for the next page. It is null on the last page.

To get the next page, send the same request again with cursor set to that value:

curl "https://app.bookingly.com/api/v1/services?limit=50&cursor=aTc0" \
-H "Authorization: Bearer bkly_live_your_key_here"

Keep going until nextCursor is null. Treat a cursor as an opaque value: don't build one yourself or rely on what is inside it.

limit sets the page size. The default is 50 and the most you can ask for is 200. Anything else is rejected with an error.

Lists are ordered oldest first, so new items always appear at the end. That makes it safe to keep your place with a cursor while new customers and bookings arrive.

Times and time zones

Bookings happen in the time zone of their location, so the API gives you both versions of each time.

Field

Example

Meaning

startsAt, endsAt

2026-11-11T09:00:00

The wall-clock time at the location, with no offset.

timezone

Pacific/Auckland

The location's time zone.

startsAtUtc, endsAtUtc

2026-11-10T20:00:00.000Z

The same moment in UTC.

Use the ...Utc fields to compare or sort moments across locations. Use startsAt to show a time the way the business and its customers see it.

In rare cases a ...Utc field is null: when a location has no valid time zone saved, or when a booking's time falls in the hour that doesn't exist when clocks go forward.

Fields that record when something was created, such as createdAt, are always in UTC and end in Z.

Dates in requests

  • Date filters, such as from and to on /v1/bookings, are plain dates written yyyy-MM-dd, like 2026-12-31. Both days are included. They are matched against each booking's own location time.
  • Time filters, such as createdFrom on /v1/customers, are full ISO 8601 times in UTC, like 2026-12-31T09:00:00Z.

Prices

Prices are numbers in the business's own currency. Read the currency code from GET /v1/business.