Obter paciente por ID (LGPD aplicada)
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/patients/{id} \
--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/{id}', 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/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"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>"
}{
"error": "Insufficient scope"
}{
"error": "Not found"
}{
"error": "<string>"
}Pacientes
Obter paciente por ID (LGPD aplicada)
Um paciente da clínica da chave. Id de outra clínica responde 404. Sem sensitive:read, os dados pessoais saem mascarados. Escopo: scheduling:read.
GET
/
v1
/
scheduling
/
patients
/
{id}
Obter paciente por ID (LGPD aplicada)
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/patients/{id} \
--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/{id}', 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/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"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>"
}{
"error": "Insufficient scope"
}{
"error": "Not found"
}{
"error": "<string>"
}Autorizações
Token de API no formato cc_live_<64 chars hex>. Obtido em Minha Clínica → Integrações.
Parâmetros de caminho
Resposta
Paciente encontrado
