List appointments
ProRead keyAvailable on the Pro and Enterprise plans (beta).
GEThttps://app.reshta.ir/api/v1/public…/public/appointments
Returns the appointments, one page at a time.
Request
curl https://app.reshta.ir/api/v1/public/appointments \ -H "Authorization: Bearer $RESHTA_API_KEY"Headers
AuthorizationstringrequiredBearer followed by the business API key (rk_live_…).
Query parameters
statusstringoptional
booking_type_idstringoptional
contact_idstringoptionalThe related contact.
fromstringoptional
tostringoptional
cursorstringoptionalnext_cursor from the previous response; leave out for the first page.
limitstringoptionalPage size; default 50, at most 100.
Responses and errors
200—Success.
401unauthorizedThe key is missing, wrong or revoked, or its creator is no longer active.
429rate_limitedOver 120 requests per minute; Retry-After says how many seconds to wait.
Response
401
{ "error": { "code": "unauthorized", "message": "An API key is required: Authorization: Bearer <key>", "details": [ { "field": "authorization", "message": "api_key_missing" } ] }}