{"openapi":"3.1.0","info":{"title":"Rechamada API","version":"v1","description":"Authenticate with your API key: `Authorization: Bearer rk_live_…` (Settings → Integrations).\n\nRead-only keys can only use GET. Amounts are integers in cents; dates are ISO 8601.\n\nClients, projects and quotes need the management pack. Rate limit: 120 requests per minute.\n\nLists return `{ object: \"list\", data, has_more, next_cursor }`; pass `cursor` to get the next page."},"servers":[{"url":"https://artisan-sms-production.up.railway.app/v1"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"paths":{"/clients":{"get":{"summary":"List clients","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"cursor","in":"query","schema":{"type":"string"},"description":"next_cursor of the previous page"},{"name":"q","in":"query","schema":{"type":"string","minLength":1,"maxLength":100}}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"object":"list","data":[{"id":"7d1c2e8a-0000-4000-8000-000000000001","object":"client","name":"Ana Ferreira","phone":"+351912345678","email":"ana@example.com","address":"Rua das Flores 12, Porto","tax_id":"123456789","notes":"Não cobrar deslocação","opted_out":false,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}},"post":{"summary":"Create a client","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","maxLength":255},"description":"Replaying the same request with the same key returns the original response instead of creating a duplicate."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"phone":{"type":"string","pattern":"^\\+\\d{8,15}$"},"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"address":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"tax_id":{"description":"NIF / SIRET","type":["string","null"]},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"description":"One reminder per line"}},"required":["phone"],"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"example":{"id":"7d1c2e8a-0000-4000-8000-000000000001","object":"client","name":"Ana Ferreira","phone":"+351912345678","email":"ana@example.com","address":"Rua das Flores 12, Porto","tax_id":"123456789","notes":"Não cobrar deslocação","opted_out":false,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}}},"/clients/{id}":{"get":{"summary":"Retrieve a client","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"id":"7d1c2e8a-0000-4000-8000-000000000001","object":"client","name":"Ana Ferreira","phone":"+351912345678","email":"ana@example.com","address":"Rua das Flores 12, Porto","tax_id":"123456789","notes":"Não cobrar deslocação","opted_out":false,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}},"patch":{"summary":"Update a client","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"phone":{"type":"string","pattern":"^\\+\\d{8,15}$"},"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"address":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"tax_id":{"description":"NIF / SIRET","type":["string","null"]},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"description":"One reminder per line"}},"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"id":"7d1c2e8a-0000-4000-8000-000000000001","object":"client","name":"Ana Ferreira","phone":"+351912345678","email":"ana@example.com","address":"Rua das Flores 12, Porto","tax_id":"123456789","notes":"Não cobrar deslocação","opted_out":false,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}}},"/projects":{"get":{"summary":"List projects","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"cursor","in":"query","schema":{"type":"string"},"description":"next_cursor of the previous page"},{"name":"status","in":"query","schema":{"type":"string","enum":["lead","quoted","accepted","scheduled","in_progress","done","paid","lost"]}},{"name":"client_id","in":"query","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"object":"list","data":[{"id":"7d1c2e8a-0000-4000-8000-000000000002","object":"project","title":"Remodelação casa de banho","status":"accepted","client_id":"7d1c2e8a-0000-4000-8000-000000000001","conversation_id":null,"address":"Rua das Flores 12, Porto","description":"Trocar base de duche","notes":null,"quote_amount":245000,"lost_reason":null,"start_on":"2026-12-01","end_on":"2026-12-05","done_at":null,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}},"post":{"summary":"Create a project","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","maxLength":255},"description":"Replaying the same request with the same key returns the original response instead of creating a duplicate."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"status":{"type":"string","enum":["lead","quoted","accepted","scheduled","in_progress","done","paid","lost"]},"client_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"address":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"quote_amount":{"anyOf":[{"type":"integer","minimum":0,"maximum":100000000,"description":"Amount in cents, excluding VAT"},{"type":"null"}]},"lost_reason":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"start_on":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"end_on":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]}},"required":["title"],"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"example":{"id":"7d1c2e8a-0000-4000-8000-000000000002","object":"project","title":"Remodelação casa de banho","status":"accepted","client_id":"7d1c2e8a-0000-4000-8000-000000000001","conversation_id":null,"address":"Rua das Flores 12, Porto","description":"Trocar base de duche","notes":null,"quote_amount":245000,"lost_reason":null,"start_on":"2026-12-01","end_on":"2026-12-05","done_at":null,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}}},"/projects/{id}":{"get":{"summary":"Retrieve a project","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"id":"7d1c2e8a-0000-4000-8000-000000000002","object":"project","title":"Remodelação casa de banho","status":"accepted","client_id":"7d1c2e8a-0000-4000-8000-000000000001","conversation_id":null,"address":"Rua das Flores 12, Porto","description":"Trocar base de duche","notes":null,"quote_amount":245000,"lost_reason":null,"start_on":"2026-12-01","end_on":"2026-12-05","done_at":null,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}},"patch":{"summary":"Update a project","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"status":{"type":"string","enum":["lead","quoted","accepted","scheduled","in_progress","done","paid","lost"]},"client_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"address":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"quote_amount":{"anyOf":[{"type":"integer","minimum":0,"maximum":100000000,"description":"Amount in cents, excluding VAT"},{"type":"null"}]},"lost_reason":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"start_on":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"end_on":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"id":"7d1c2e8a-0000-4000-8000-000000000002","object":"project","title":"Remodelação casa de banho","status":"accepted","client_id":"7d1c2e8a-0000-4000-8000-000000000001","conversation_id":null,"address":"Rua das Flores 12, Porto","description":"Trocar base de duche","notes":null,"quote_amount":245000,"lost_reason":null,"start_on":"2026-12-01","end_on":"2026-12-05","done_at":null,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}}},"/quotes":{"get":{"summary":"List quotes","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"cursor","in":"query","schema":{"type":"string"},"description":"next_cursor of the previous page"},{"name":"status","in":"query","schema":{"type":"string","enum":["draft","sent","accepted","refused"]}},{"name":"client_id","in":"query","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"project_id","in":"query","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"object":"list","data":[{"id":"7d1c2e8a-0000-4000-8000-000000000003","object":"quote","number":"ORC 2026/14","status":"sent","client_id":"7d1c2e8a-0000-4000-8000-000000000001","project_id":"7d1c2e8a-0000-4000-8000-000000000002","issue_on":"2026-11-22","valid_until":"2026-12-22","notes":null,"sent_at":"2026-11-22T10:00:00.000Z","viewed_at":null,"decided_at":null,"accepted_by":null,"lines":[{"description":"Base de duche 120x80","quantity":1,"unit":"un.","unit_amount":45000,"vat_rate":23}],"amount_subtotal":45000,"amount_tax":10350,"amount_total":55350,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}},"post":{"summary":"Create a quote","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","maxLength":255},"description":"Replaying the same request with the same key returns the original response instead of creating a duplicate."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"valid_until":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"lines":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":500},"quantity":{"type":"number","exclusiveMinimum":0,"maximum":1000000,"description":"Decimal quantity, e.g. 2.5"},"unit":{"description":"e.g. h, m², un.","anyOf":[{"type":"string","maxLength":20},{"type":"null"}]},"unit_amount":{"type":"integer","minimum":-100000000,"maximum":100000000,"description":"Unit price in cents, excluding VAT (negative = discount)"},"vat_rate":{"type":"number","minimum":0,"maximum":100,"description":"VAT rate in percent, e.g. 23"}},"required":["description","quantity","unit_amount","vat_rate"],"additionalProperties":false},"description":"Replaces all lines"}},"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"example":{"id":"7d1c2e8a-0000-4000-8000-000000000003","object":"quote","number":"ORC 2026/14","status":"sent","client_id":"7d1c2e8a-0000-4000-8000-000000000001","project_id":"7d1c2e8a-0000-4000-8000-000000000002","issue_on":"2026-11-22","valid_until":"2026-12-22","notes":null,"sent_at":"2026-11-22T10:00:00.000Z","viewed_at":null,"decided_at":null,"accepted_by":null,"lines":[{"description":"Base de duche 120x80","quantity":1,"unit":"un.","unit_amount":45000,"vat_rate":23}],"amount_subtotal":45000,"amount_tax":10350,"amount_total":55350,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}}},"/quotes/{id}":{"get":{"summary":"Retrieve a quote","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"id":"7d1c2e8a-0000-4000-8000-000000000003","object":"quote","number":"ORC 2026/14","status":"sent","client_id":"7d1c2e8a-0000-4000-8000-000000000001","project_id":"7d1c2e8a-0000-4000-8000-000000000002","issue_on":"2026-11-22","valid_until":"2026-12-22","notes":null,"sent_at":"2026-11-22T10:00:00.000Z","viewed_at":null,"decided_at":null,"accepted_by":null,"lines":[{"description":"Base de duche 120x80","quantity":1,"unit":"un.","unit_amount":45000,"vat_rate":23}],"amount_subtotal":45000,"amount_tax":10350,"amount_total":55350,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}},"patch":{"summary":"Update a quote","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"issue_on":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"valid_until":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"lines":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":500},"quantity":{"type":"number","exclusiveMinimum":0,"maximum":1000000,"description":"Decimal quantity, e.g. 2.5"},"unit":{"description":"e.g. h, m², un.","anyOf":[{"type":"string","maxLength":20},{"type":"null"}]},"unit_amount":{"type":"integer","minimum":-100000000,"maximum":100000000,"description":"Unit price in cents, excluding VAT (negative = discount)"},"vat_rate":{"type":"number","minimum":0,"maximum":100,"description":"VAT rate in percent, e.g. 23"}},"required":["description","quantity","unit_amount","vat_rate"],"additionalProperties":false},"description":"Replaces all lines"},"status":{"type":"string","enum":["draft","sent","accepted","refused"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"id":"7d1c2e8a-0000-4000-8000-000000000003","object":"quote","number":"ORC 2026/14","status":"sent","client_id":"7d1c2e8a-0000-4000-8000-000000000001","project_id":"7d1c2e8a-0000-4000-8000-000000000002","issue_on":"2026-11-22","valid_until":"2026-12-22","notes":null,"sent_at":"2026-11-22T10:00:00.000Z","viewed_at":null,"decided_at":null,"accepted_by":null,"lines":[{"description":"Base de duche 120x80","quantity":1,"unit":"un.","unit_amount":45000,"vat_rate":23}],"amount_subtotal":45000,"amount_tax":10350,"amount_total":55350,"created_at":"2026-11-22T10:00:00.000Z","updated_at":"2026-11-22T10:00:00.000Z"}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}}},"/conversations":{"get":{"summary":"List conversations (missed calls and answers)","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"cursor","in":"query","schema":{"type":"string"},"description":"next_cursor of the previous page"}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"object":"list","data":[{"id":"…","object":"conversation","from":"+351912345678","status":"completed","answers":{"pedido":"Fuga na cozinha"},"created_at":"2026-11-22T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}}},"/bookings":{"get":{"summary":"List bookings","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"cursor","in":"query","schema":{"type":"string"},"description":"next_cursor of the previous page"}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"object":"list","data":[{"id":"…","object":"booking","start_time":"2026-11-22T10:00:00.000Z","status":"scheduled","client_id":"7d1c2e8a-0000-4000-8000-000000000001","conversation_id":null,"project_id":null,"name":"Ana Ferreira","phone":"+351912345678","created_at":"2026-11-22T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"4XX":{"description":"Error","content":{"application/json":{"example":{"error":{"type":"invalid_request_error","code":"parameter_invalid","message":"phone: international format, e.g. +351912345678","param":"phone"}}}}}}}}}}