Listar salas ativas
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/rooms \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.controleclinic.com.br/v1/scheduling/rooms', 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/rooms"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"is_active": true
}
]
}{
"error": "Insufficient scope"
}{
"error": "<string>"
}Lookup
Listar salas ativas
Salas ativas da clínica da chave. O id vai em room_id ao criar agendamento. Escopo: scheduling:read.
GET
/
v1
/
scheduling
/
rooms
Listar salas ativas
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/rooms \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.controleclinic.com.br/v1/scheduling/rooms', 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/rooms"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"is_active": true
}
]
}{
"error": "Insufficient scope"
}{
"error": "<string>"
}