Obter agendamento por ID
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/appointments/{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/appointments/{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/appointments/{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",
"patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"professional_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"procedure_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_at": "<string>",
"end_at": "<string>",
"status": "scheduled",
"notes": "<string>",
"room_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"technology_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origem": "importacao",
"created_at": "<string>",
"updated_at": "<string>"
}{
"error": "Insufficient scope"
}{
"error": "Not found"
}{
"error": "<string>"
}Agendamentos
Obter agendamento por ID
Um agendamento da clínica da chave. Id de outra clínica responde 404, como se não existisse. Escopo: scheduling:read.
GET
/
v1
/
scheduling
/
appointments
/
{id}
Obter agendamento por ID
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/appointments/{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/appointments/{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/appointments/{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",
"patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"professional_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"procedure_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_at": "<string>",
"end_at": "<string>",
"status": "scheduled",
"notes": "<string>",
"room_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"technology_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origem": "importacao",
"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
Agendamento encontrado
Opções disponíveis:
scheduled, confirmed, completed, cancelled, no_show Opções disponíveis:
importacao 