Search Bookings
Search bookings. Each match is a short summary (status, dates, customer, location, and items), not the full booking page. Use get_booking for one booking. App connections need the booking:read or booking:write scope.
curl -X GET "https://dash.lockii.app/api/v1/booking" \
-H "x-api-key: $LOCKII_API_KEY"Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Parameters
limitnumberqueryDefault:15statusenum<string>queryOne of:allactiveupcomingreturnedcancelledDefault:allorderByenum<string>queryOne of:createdAtnumberstartHireDateendHireDatepriceInCentsDefault:numberquerystringqueryCustomer name, email, phone, or booking number. Omit if unused. Never pass an empty string.
dateRangeobjectqueryHire overlap window in epoch milliseconds. Omit if unused. Never pass 0. Pass as a JSON string.
createdAtRangeobjectqueryCreated-at window in epoch milliseconds. Omit if unused. Pass as a JSON string.
totalRangeobjectqueryPrice filter in whole dollars. Omit if unused. Never pass 0. Pass as a JSON string.
productIDstringquerystockIDstringquerycategoryIDstringquerylocationIDstringqueryminEndHireDatenumberquerypaymentStatusesenum<string>[]queryOmit unless filtering to paid or unpaid. An empty array matches nothing — do not pass it as a default. Pass as a JSON string.
One of:paidunpaidrequirePickupbooleanquery
Response
JSON result for this operation.
{}