List bookable services
curl --request GET \
--url https://api.dialtu.com/api/v2/public/calendar/services \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dialtu.com/api/v2/public/calendar/services"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dialtu.com/api/v2/public/calendar/services', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": 123,
"name": "<string>",
"default_duration_minutes": 123,
"professionals": [
{
"id": 123,
"name": "<string>"
}
],
"event_types": [
{
"id": 123,
"name": "<string>"
}
]
}
],
"status": "success"
}Calendar
List bookable services
Every service an appointment can be booked into, with the professionals on it and the appointment types it offers.
Discovery for the booking endpoint: it returns exactly the ids and names Book an appointment accepts, so you never have to guess a spelling.
GET
/
api
/
v2
/
public
/
calendar
/
services
List bookable services
curl --request GET \
--url https://api.dialtu.com/api/v2/public/calendar/services \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dialtu.com/api/v2/public/calendar/services"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dialtu.com/api/v2/public/calendar/services', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": 123,
"name": "<string>",
"default_duration_minutes": 123,
"professionals": [
{
"id": 123,
"name": "<string>"
}
],
"event_types": [
{
"id": 123,
"name": "<string>"
}
]
}
],
"status": "success"
}Autorizaciones
API key created in the dashboard under Settings → API Keys. Send it as Authorization: Bearer pk_....