REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Bookings → Get All

AI-generated

Summary

Retrieves bookings from the LatePoint REST API (GET /bookings), with optional filtering, sorting and either single-page or fully paginated results.

Inputs

  • Use Filters — Boolean toggle. When on, the Filters collection is shown and its non-empty values are sent as query parameters.
  • Filters — Collection of optional booking filters: status, customer_id, agent_id, service_id, location_id, date_from/date_to, created_date_from/to, booking_code, payment_status, duration and price min/max, customer_email, customer_phone, search, sort (id, start_date, created_at, customer_name, status), order (asc/desc), include_meta, meta_key, meta_value. Empty values are skipped.
  • Additional Filters (JSON) — JSON object of extra query parameters, e.g. {"customer_id": 5, "price_min": 100}. Works even when Use Filters is off and overrides matching keys from Filters. Invalid JSON is silently ignored.
  • Return All — If true, fetches every page; if false, fetches a single page.
  • Max Pages — Shown when Return All is on. Caps the number of pages fetched; 0 means unlimited.
  • Limit — Shown when Return All is off. Results per page (1–100, default 10), sent as per_page.
  • Page — Shown when Return All is off. Page number to fetch (default 1).
  • Description — Free-text prompt for AI context; not used in the request.

Output shape

With Return All off: one item containing the raw API response (typically a data array plus a pagination object). With Return All on: one item per booking, taken from each page's data array.

Return All loops pages while pagination.has_next_page is true, stopping at Max Pages if set. Pagination info is not included in Return All output. Authenticates with a Bearer API key from the credentials. With Continue On Fail, errors are returned as {error: message} items.

Examples

Example 1: List all pending bookings for a specific customer

Use Filters on; Filters: status=pending, customer_id=42; Return All on.

Example 2: Pull bookings in a date range sorted by start date, one page at a time

Use Filters on; date_from=2026-10-01, date_to=2026-10-31, sort=start_date, order=asc; Return All off; Limit 50; Page 1.

Example 3: Use an API parameter not exposed in the UI

Additional Filters (JSON): {"price_min": 100}; Return All off.

Links

Discussion