Listar pacientes (paginado, LGPD aplicada)
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/patients \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.controleclinic.com.br/v1/scheduling/patients', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.controleclinic.com.br/v1/scheduling/patients"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clinic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"full_name": "<string>",
"cpf": "<string>",
"birthdate": "<string>",
"gender": "<string>",
"phone": "<string>",
"email": "<string>",
"blood_type": "<string>",
"allergies": "<string>",
"obs": "<string>",
"address_json": null,
"active": true,
"created_at": "<string>",
"updated_at": "<string>"
}
],
"count": 123,
"page": 123,
"limit": 123
}{
"error": "Insufficient scope"
}{
"error": "<string>"
}Pacientes
Listar pacientes (paginado, LGPD aplicada)
Pacientes da clínica da chave, paginados (limit até 100). Sem o escopo sensitive:read, CPF, telefone, e-mail e nascimento saem mascarados. Escopo: scheduling:read.
GET
/
v1
/
scheduling
/
patients
Listar pacientes (paginado, LGPD aplicada)
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/patients \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.controleclinic.com.br/v1/scheduling/patients', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.controleclinic.com.br/v1/scheduling/patients"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clinic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"full_name": "<string>",
"cpf": "<string>",
"birthdate": "<string>",
"gender": "<string>",
"phone": "<string>",
"email": "<string>",
"blood_type": "<string>",
"allergies": "<string>",
"obs": "<string>",
"address_json": null,
"active": true,
"created_at": "<string>",
"updated_at": "<string>"
}
],
"count": 123,
"page": 123,
"limit": 123
}{
"error": "Insufficient scope"
}{
"error": "<string>"
}Autorizações
Token de API no formato cc_live_<64 chars hex>. Obtido em Minha Clínica → Integrações.
Parâmetros de consulta
Intervalo obrigatório:
x >= 1Intervalo obrigatório:
1 <= x <= 100