meta object so you can determine whether more pages exist and fetch them using the cursor parameter.
Request
GEThttps://api.bydoctor.com.br/v1/appointments
integer
default:20
The maximum number of appointment records to return per page. Must be between 1 and 100.
string
An opaque pagination cursor returned in
meta.next_cursor from a previous response. Pass this value to retrieve the next page of results. Omit on the first request.string
Return only appointments whose
starts_at is strictly after this ISO 8601 UTC timestamp. Example: 2025-06-01T00:00:00Z.string
Return only appointments whose
starts_at is strictly before this ISO 8601 UTC timestamp. Example: 2025-06-30T23:59:59Z.string
Filter results to a single status. Accepted values:
scheduled, confirmed, cancelled, completed, no_show.string
Filter results to appointments assigned to this professional UUID.
string
Filter results to appointments linked to this patient UUID.
string
Filter results by appointment type. Accepted values:
presencial, teleconsulta.string
default:"created_at"
The field to sort results by. Accepted values:
created_at, starts_at.string
default:"desc"
The sort direction. Accepted values:
asc, desc.Response Fields
array
An array of appointment objects matching your query filters.
object
Pagination metadata for the current response.
Example Request
Example Response (200 OK)
Error Responses
400 Bad Request — A query parameter has an invalid value (for example, an unrecognisedstatus or a malformed timestamp).