Skip to content

API v2 - Overview & authentication

You can access various data from Locaboo, available in JSON format. This reference gives an overview of how to access the API and what data is available.

TIP

Endpoints not listed in this reference are internal and unsupported.

API authentication and access

In order to access the APIs, please use the 'API Access Data' available from the 'Profile' section of your Locaboo manager dashboard.

Every API call requires the parameter api_secret_key:

  • For GET requests, pass it as a query-string parameter.
  • For POST requests with a body (JSON or form-encoded), include api_secret_key inside the body - a query-string key is not read when a request body is present.

Calls are rate-limited per key (a short per-request cooldown plus a daily quota); exceeding either returns HTTP 429.

API endpoints

Endpoint base URL:

https://app.locaboo.com

The API returns HTTP status 200 only for successful API calls.

Response envelope

Every endpoint wraps its payload in a common JSON envelope:

json
{
  "data": [],
  "total": 0,
  "success": true
}
  • data - the payload; an object or array depending on the endpoint, or a plain error message string when success is false.
  • total - the number of records covered by the call (some write endpoints return 0 or omit it).
  • success - true only when the call succeeded.

Invoice List additionally echoes limit and offset in the envelope.

Endpoint index

EndpointDescription
GET /api/v2/resource_listList of resources along with the fields available for each resource
GET /api/v2/resource/<resource-id>Details of resource based on ID
POST /api/v2/resource_addCreate a new resource
GET /api/v2/booking_listList of bookings under a manager
GET /api/v2/booking/<booking-id>Details of booking based on ID
GET /api/v2/availabilityList of available time-slots at resource
GET /api/v2/booking_saveCreate/Update the bookings
POST /api/v2/booking_addAdd new booking or booking request
GET /api/v2/event_listList of events under a manager
GET /api/v2/event_details/<event-id>Details of event based on ID
GET /api/v2/customer_listList of customers along with the fields available for each customer
POST /api/v2/customer_addAdd new customer
POST /api/v2/customer_editEdit existing customer
POST /api/v2/customer_address_addAdd customer addresses
GET /api/v2/invoice_listList of invoices along with the fields available for each invoice
GET /api/v2/invoice_detailsDetailed information for a specific invoice
GET /api/v2/inventory_listList of inventory along with the fields available for each inventory item
GET /api/v2/service_listList of services along with the fields available for each service
GET /api/v2/profileGet details of a manager