Clinic setup API
For workspaces that schedule with NuTalk clinic scheduling: set up the clinic the agents and reception book into. Locations and their opening hours, rooms and their spots, doctors with their weekly hours and days off, services, the clinic-wide settings and the patient record's questions.
clinic_setup:readclinic_setup:write41 endpointsShow
How changes are made
Keys need clinic_setup:read to read the setup and clinic_setup:write to change it. Every change runs through the dashboard's own clinic scheduling rules (overlapping hours refused, day changes rebuilt when a week changes, blocked time joined and checked against the appointments inside), acting as the member who created the key: their role must allow the change in the dashboard, and the change is recorded as the key's. A key stops working when the member who made it changes role or leaves the workspace. Booking and managing appointments is the Agenda API.
Every endpoint answers 403 for a workspace without clinic scheduling. A workspace that signs up as a clinic has it; NuTalk can also turn it on.
How the pieces fit
- A doctor is anyone who takes appointments: doctors, nurses, therapists, technicians and other staff (their
role). They are bookable during their weekly hours, minus their days off. - A service is what patients book: its length, buffers, notice, which doctors (role, list) and which rooms or spots it needs, its price, and the facts the agents answer from.
- A room holds one or more spots (a chair, a bed): each spot holds one appointment at a time. A location's opening hours bound the services nobody staffs.
- Weekly hours are replaced as a whole week:
PUT /v1/clinic/doctors/:id/weekly-hourslists the appointments the new week leaves outside its hours (they stay booked; usedry_runto see them first). - The patient record is what the clinic wants to know about each patient, up to 12 questions for any one service and 40 in the record. A question about the patient also gets a contact field; one about each visit is saved on the appointment. Neither ever blocks a booking. These endpoints hold the questions. An appointment's answers are at
GET PATCH /v1/clinic/appointments/:id/record.
# 1. A location (its clock is the clinic's)
curl -X POST "https://www.nutalk.ai/v1/clinic/locations" \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"name": "Clínica Centro", "timezone": "America/Monterrey"}'
# 2. A doctor working there
curl -X POST "https://www.nutalk.ai/v1/clinic/doctors" \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"name": "Dra. Ana López", "specialty": "Dermatología", "default_location_id": "'$LOCATION_ID'"}'
# 3. Their week: Monday and Wednesday mornings, Monday afternoon
curl -X PUT "https://www.nutalk.ai/v1/clinic/doctors/$DOCTOR_ID/weekly-hours" \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"hours": [
{"day_of_week": 1, "start": "09:00", "end": "14:00"},
{"day_of_week": 1, "start": "16:00", "end": "19:00"},
{"day_of_week": 3, "start": "09:00", "end": "14:00"}
]}'
# 4. A service they take
curl -X POST "https://www.nutalk.ai/v1/clinic/services" \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"name": "Consulta dermatológica", "duration_minutes": 30,
"allowed_doctor_ids": ["'$DOCTOR_ID'"], "price": 900}'/v1/clinic/locationsList locations
Lists the clinic's locations with their opening hours, by name.
clinic_setup:readQuery parameters
limitinteger · 1–100Results per page. Default: 20.
offsetinteger · at least 0Results to skip. Default: 0.
statusactive | inactive | archivedOnly locations in this status. Without it, every location but the archived ones.
Errors
400validation_errorA query parameter is invalid (details.errors lists each one).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/locations \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": [
{
"id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"name": "Clínica Centro",
"timezone": "America/Monterrey",
"address": "Av. Constitución 100, Monterrey, N.L.",
"phone_number": "+528112345678",
"status": "active",
"hours": [
{
"id": "9d3f5b7c-1e2a-4b4d-8f6c-8e0a2c4d6f81",
"day_of_week": 1,
"open_time": "09:00",
"close_time": "18:00",
"is_active": true
}
],
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
],
"pagination": {
"total": 1,
"limit": 20,
"offset": 0,
"has_more": false
}
}/v1/clinic/locationsCreate a location
Creates a location. A workspace's first location adopts the rooms that have none; warnings says when that could not be done.
clinic_setup:writeTakes an Idempotency-KeyWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Request body
namestring · 1–200 charactersrequiredThe location's name.
timezonestring · up to 64IANA time zone of the location's clock (default America/Monterrey).
addressstring | null · up to 500Street address; null clears it.
phone_numberstring | null · up to 40The location's phone; null clears it.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X POST https://www.nutalk.ai/v1/clinic/locations \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Clínica Centro",
"timezone": "America/Monterrey",
"address": "Av. Constitución 100, Monterrey, N.L.",
"phone_number": "+528112345678"
}'{
"success": true,
"data": {
"id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"name": "Clínica Centro",
"timezone": "America/Monterrey",
"address": "Av. Constitución 100, Monterrey, N.L.",
"phone_number": "+528112345678",
"status": "active",
"hours": [],
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/locations/:idGet a location
Returns one location (archived ones too) with its opening hours.
clinic_setup:readPath parameters
iduuidrequiredThe location id.
Errors
404not_foundNo location with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/locations/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"name": "Clínica Centro",
"timezone": "America/Monterrey",
"address": "Av. Constitución 100, Monterrey, N.L.",
"phone_number": "+528112345678",
"status": "active",
"hours": [
{
"id": "9d3f5b7c-1e2a-4b4d-8f6c-8e0a2c4d6f81",
"day_of_week": 1,
"open_time": "09:00",
"close_time": "18:00",
"is_active": true
}
],
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/locations/:idUpdate a location
Changes the fields you send.
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe location id.
Request body
namestring · 1–200 charactersThe location's name.
timezonestring · up to 64IANA time zone of the location's clock.
addressstring | null · up to 500Street address; null clears it.
phone_numberstring | null · up to 40The location's phone; null clears it.
statusactive | inactiveinactive keeps the location out of new bookings; active brings it back. Archiving is the DELETE.
Show 1 more field
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).404not_foundNo location with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThe location is archived (removed).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PATCH https://www.nutalk.ai/v1/clinic/locations/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "+528187654321"
}'{
"success": true,
"data": {
"id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"name": "Clínica Centro",
"timezone": "America/Monterrey",
"address": "Av. Constitución 100, Monterrey, N.L.",
"phone_number": "+528187654321",
"status": "active",
"hours": [
{
"id": "9d3f5b7c-1e2a-4b4d-8f6c-8e0a2c4d6f81",
"day_of_week": 1,
"open_time": "09:00",
"close_time": "18:00",
"is_active": true
}
],
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/locations/:idArchive a location
Archives the location (the dashboard's Remove): it leaves every flow and its history stays. Archiving an archived location changes nothing.
clinic_setup:writeWaits for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe location id.
Unless its key was set not to wait, nothing is removed yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
404not_foundNo location with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X DELETE https://www.nutalk.ai/v1/clinic/locations/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"archived": true
}
}/v1/clinic/locations/:id/hoursAdd opening hours
Adds one opening-hours range to a location. Opening hours bound the services nobody staffs (staff_involvement: none); a location without any is open whenever its doctors work. Add one range per weekday (or several, for a break).
clinic_setup:writeTakes an Idempotency-KeyWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe location id.
Request body
day_of_weekinteger · 0–6required0 = Sunday … 6 = Saturday.
open_timestringrequiredHH:MM (24-hour) on the location's clock.
close_timestringrequiredHH:MM after open_time (23:59 at the latest).
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).404not_foundNo location with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThe location is archived (removed).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X POST https://www.nutalk.ai/v1/clinic/locations/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7/hours \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"day_of_week": 1,
"open_time": "09:00",
"close_time": "18:00"
}'{
"success": true,
"data": {
"id": "9d3f5b7c-1e2a-4b4d-8f6c-8e0a2c4d6f81",
"day_of_week": 1,
"open_time": "09:00",
"close_time": "18:00",
"is_active": true
}
}/v1/clinic/location-hours/:idUpdate opening hours
Changes one opening-hours range of a location (an id from the location's hours).
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe opening-hours range id.
Request body
day_of_weekinteger · 0–60 = Sunday … 6 = Saturday.
open_timestringHH:MM (24-hour) on the location's clock.
close_timestringHH:MM after open_time (23:59 at the latest).
is_activebooleanfalse keeps the range but stops applying it.
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorThe closing time would not be after the opening time.404not_foundNo opening-hours range with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PATCH https://www.nutalk.ai/v1/clinic/location-hours/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"close_time": "19:00"
}'{
"success": true,
"data": {
"id": "9d3f5b7c-1e2a-4b4d-8f6c-8e0a2c4d6f81",
"day_of_week": 1,
"open_time": "09:00",
"close_time": "19:00",
"is_active": true
}
}/v1/clinic/location-hours/:idRemove opening hours
Deletes one opening-hours range of a location.
clinic_setup:writeWaits for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe opening-hours range id.
Unless its key was set not to wait, nothing is removed yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
404not_foundNo opening-hours range with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X DELETE https://www.nutalk.ai/v1/clinic/location-hours/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "9d3f5b7c-1e2a-4b4d-8f6c-8e0a2c4d6f81",
"deleted": true
}
}/v1/clinic/roomsList rooms
Lists the clinic's rooms, by name, each with its spots: the places inside a room that hold one appointment at a time (a chair, a bed, a station).
clinic_setup:readQuery parameters
limitinteger · 1–100Results per page. Default: 20.
offsetinteger · at least 0Results to skip. Default: 0.
location_iduuidOnly rooms of this location.
statusactive | inactive | archivedOnly rooms in this status. Without it, every room but the archived ones.
Errors
400validation_errorA query parameter is invalid (details.errors lists each one).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/rooms \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": [
{
"id": "ae4a6c8d-2f3b-4c5e-9a7d-9f1b3d5e7a92",
"name": "Sala de sueros",
"location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"room_type": "iv",
"capacity": 4,
"status": "active",
"spots": [
{
"id": "bf5b7d9e-3a4c-4d6f-8b8e-0a2c4e6f8ba3",
"name": "Sillón 1",
"position": 1,
"status": "active"
}
],
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
],
"pagination": {
"total": 1,
"limit": 20,
"offset": 0,
"has_more": false
}
}/v1/clinic/roomsCreate a room
Creates a room with its first spot, named as the room: appointments are booked into spots. Add more spots for a room that holds several patients at once. A room in an inactive location takes no bookings until its location is active.
clinic_setup:writeTakes an Idempotency-KeyWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Request body
namestring · 1–200 charactersrequiredThe room's name (its first spot takes it too).
location_iduuid | nullThe location the room is in (an active location of yours); null unlinks it.
room_typestring | null · up to 100A label services can require (required_room_type), e.g. iv or consultation.
capacityinteger · 1–100How many people fit (default 1).
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorlocation_id is not a location of yours, or it is archived (details.ids).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X POST https://www.nutalk.ai/v1/clinic/rooms \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Sala de sueros",
"location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"room_type": "iv",
"capacity": 4
}'{
"success": true,
"data": {
"id": "ae4a6c8d-2f3b-4c5e-9a7d-9f1b3d5e7a92",
"name": "Sala de sueros",
"location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"room_type": "iv",
"capacity": 4,
"status": "active",
"spots": [
{
"id": "bf5b7d9e-3a4c-4d6f-8b8e-0a2c4e6f8ba3",
"name": "Sala de sueros",
"position": 1,
"status": "active"
}
],
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/rooms/:idGet a room
Returns one room (archived ones too) with its spots.
clinic_setup:readPath parameters
iduuidrequiredThe room id.
Errors
404not_foundNo room with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/rooms/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "ae4a6c8d-2f3b-4c5e-9a7d-9f1b3d5e7a92",
"name": "Sala de sueros",
"location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"room_type": "iv",
"capacity": 4,
"status": "active",
"spots": [
{
"id": "bf5b7d9e-3a4c-4d6f-8b8e-0a2c4e6f8ba3",
"name": "Sillón 1",
"position": 1,
"status": "active"
}
],
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/rooms/:idUpdate a room
Changes the fields you send.
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe room id.
Request body
namestring · 1–200 charactersThe room's name.
location_iduuid | nullThe location the room is in (an active location of yours); null unlinks it.
room_typestring | null · up to 100A label services can require (required_room_type), e.g. iv or consultation.
capacityinteger · 1–100How many people fit (default 1).
statusactive | inactiveinactive keeps the room out of new bookings; active brings it back. Archiving is the DELETE.
Show 1 more field
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorlocation_id is not a location of yours, or it is archived (details.ids).404not_foundNo room with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThe room is archived (removed).409validation_errorThe change would make the room active in a location that isn't active, or move an active room into one (details.reason location_closed).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PATCH https://www.nutalk.ai/v1/clinic/rooms/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"capacity": 6
}'{
"success": true,
"data": {
"id": "ae4a6c8d-2f3b-4c5e-9a7d-9f1b3d5e7a92",
"name": "Sala de sueros",
"location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"room_type": "iv",
"capacity": 6,
"status": "active",
"spots": [
{
"id": "bf5b7d9e-3a4c-4d6f-8b8e-0a2c4e6f8ba3",
"name": "Sillón 1",
"position": 1,
"status": "active"
}
],
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/rooms/:idArchive a room
Archives the room (the dashboard's Remove). Archiving an archived room changes nothing.
clinic_setup:writeWaits for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe room id.
Unless its key was set not to wait, nothing is removed yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
404not_foundNo room with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X DELETE https://www.nutalk.ai/v1/clinic/rooms/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "ae4a6c8d-2f3b-4c5e-9a7d-9f1b3d5e7a92",
"archived": true
}
}/v1/clinic/rooms/:id/spotsAdd a spot
Adds a spot to a room: one more place that holds one appointment at a time.
clinic_setup:writeTakes an Idempotency-KeyWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe room id.
Request body
namestring · 1–200 charactersrequiredThe spot's name, e.g. Sillón 2.
positioninteger · 1–200Its order in the room (default 1).
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).404not_foundNo room with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThe room is archived (removed).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X POST https://www.nutalk.ai/v1/clinic/rooms/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7/spots \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Sillón 2",
"position": 2
}'{
"success": true,
"data": {
"id": "bf5b7d9e-3a4c-4d6f-8b8e-0a2c4e6f8ba3",
"room_id": "ae4a6c8d-2f3b-4c5e-9a7d-9f1b3d5e7a92",
"name": "Sillón 2",
"position": 2,
"status": "active",
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/spots/:idUpdate a spot
Renames, reorders or switches off one spot (an id from its room's spots).
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe spot id.
Request body
namestring · 1–200 charactersThe spot's name, e.g. Sillón 2.
positioninteger · 1–200Its order in the room (default 1).
statusactive | inactiveinactive keeps the spot out of new bookings; active brings it back. Archiving is the DELETE.
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).404not_foundNo spot with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThe spot is archived (removed).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PATCH https://www.nutalk.ai/v1/clinic/spots/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "inactive"
}'{
"success": true,
"data": {
"id": "bf5b7d9e-3a4c-4d6f-8b8e-0a2c4e6f8ba3",
"room_id": "ae4a6c8d-2f3b-4c5e-9a7d-9f1b3d5e7a92",
"name": "Sillón 2",
"position": 2,
"status": "inactive",
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/spots/:idArchive a spot
Archives one spot. Archiving an archived spot changes nothing.
clinic_setup:writeWaits for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe spot id.
Unless its key was set not to wait, nothing is removed yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
404not_foundNo spot with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X DELETE https://www.nutalk.ai/v1/clinic/spots/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "bf5b7d9e-3a4c-4d6f-8b8e-0a2c4e6f8ba3",
"archived": true
}
}/v1/clinic/doctorsList doctors
Lists the people who take clinic appointments, by name: doctors, nurses, therapists, technicians and other staff (their role).
clinic_setup:readA removed doctor reads status: "archived": listed only with that filter, kept so past appointments keep the name.
Query parameters
limitinteger · 1–100Results per page. Default: 20.
offsetinteger · at least 0Results to skip. Default: 0.
statusactive | inactive | archivedOnly doctors in this status. Without it, every doctor but the archived ones.
roledoctor | nurse | therapist | technician | staffOnly this role.
location_iduuidOnly doctors whose default location is this one.
Show 1 more field
Errors
400validation_errorA query parameter is invalid (details.errors lists each one).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/doctors \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": [
{
"id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
"name": "Dra. Ana López",
"role": "doctor",
"specialty": "Dermatología",
"email": "ana.lopez@clinica.mx",
"phone_number": "+528112345679",
"timezone": "America/Monterrey",
"status": "active",
"default_location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"default_room_id": null,
"max_concurrent_supervised": 3,
"user_id": null,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
],
"pagination": {
"total": 1,
"limit": 20,
"offset": 0,
"has_more": false
}
}/v1/clinic/doctorsAdd a doctor
Adds a doctor (or nurse, therapist…) to Clinic Scheduling. They take appointments once they have weekly hours (PUT /clinic/doctors/{id}/weekly-hours) and a service allows them.
clinic_setup:writeTakes an Idempotency-KeyWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Request body
namestring · 1–200 charactersrequiredHow patients and the agents name them.
roledoctor | nurse | therapist | technician | staffWhat they do (default doctor): services can require a role.
specialtystring | null · up to 200Shown to patients and the agents.
emailstring | null · up to 320Contact email.
phone_numberstring | null · up to 40Contact phone.
timezonestring · up to 64IANA time zone of their clock. Without it, their clinic's (their location's, else the workspace's).
default_location_iduuid | nullWhere they usually work (an active location of yours).
default_room_iduuid | nullThe room they usually use (an active room of yours).
max_concurrent_supervisedinteger · 1–50How many supervised services they can watch at once (default 3).
user_iduuid | nullThe workspace member who is this doctor (their My Schedule shows these appointments); null unlinks.
Show 6 more fields
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errordefault_location_id or default_room_id is not an active location or room of yours, or user_id is not a member of the workspace.403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X POST https://www.nutalk.ai/v1/clinic/doctors \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Dra. Ana López",
"role": "doctor",
"specialty": "Dermatología",
"email": "ana.lopez@clinica.mx",
"default_location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70"
}'{
"success": true,
"data": {
"id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
"name": "Dra. Ana López",
"role": "doctor",
"specialty": "Dermatología",
"email": "ana.lopez@clinica.mx",
"phone_number": "+528112345679",
"timezone": "America/Monterrey",
"status": "active",
"default_location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"default_room_id": null,
"max_concurrent_supervised": 3,
"user_id": null,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/doctors/:idGet a doctor
Returns one doctor (removed ones too).
clinic_setup:readPath parameters
iduuidrequiredThe doctor id.
Errors
404not_foundNo doctor with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/doctors/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
"name": "Dra. Ana López",
"role": "doctor",
"specialty": "Dermatología",
"email": "ana.lopez@clinica.mx",
"phone_number": "+528112345679",
"timezone": "America/Monterrey",
"status": "active",
"default_location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"default_room_id": null,
"max_concurrent_supervised": 3,
"user_id": null,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/doctors/:idUpdate a doctor
Changes the fields you send. inactive stops new bookings and keeps their appointments; removing them is the DELETE. warnings lists the dates whose day changes a new time zone could not rebuild.
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe doctor id.
Request body
namestring · 1–200 charactersHow patients and the agents name them.
roledoctor | nurse | therapist | technician | staffWhat they do: services can require a role.
specialtystring | null · up to 200Shown to patients and the agents.
emailstring | null · up to 320Contact email.
phone_numberstring | null · up to 40Contact phone.
timezonestring · up to 64IANA time zone of their clock. A new zone moves their weekly hours with it (same wall times) and rebuilds their day changes.
default_location_iduuid | nullWhere they usually work (an active location of yours).
default_room_iduuid | nullThe room they usually use (an active room of yours).
max_concurrent_supervisedinteger · 1–50How many supervised services they can watch at once (default 3).
user_iduuid | nullThe workspace member who is this doctor (their My Schedule shows these appointments); null unlinks.
statusactive | inactiveinactive keeps the doctor out of new bookings; active brings it back. Archiving is the DELETE.
Show 7 more fields
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorA location, room or member named is not yours, or timezone is not an IANA time zone.404not_foundNo doctor with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThe doctor was removed, or a new user_id while their calendar accounts are connected (disconnect them first).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PATCH https://www.nutalk.ai/v1/clinic/doctors/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"specialty": "Dermatología pediátrica"
}'{
"success": true,
"data": {
"id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
"name": "Dra. Ana López",
"role": "doctor",
"specialty": "Dermatología pediátrica",
"email": "ana.lopez@clinica.mx",
"phone_number": "+528112345679",
"timezone": "America/Monterrey",
"status": "active",
"default_location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"default_room_id": null,
"max_concurrent_supervised": 3,
"user_id": null,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/doctors/:idRemove a doctor
Removes the doctor (the dashboard's Remove): refused while they have an upcoming appointment (move or cancel it, or set them inactive instead). Their calendar links, calendar subscriptions and round-robin places go; the record stays archived so past appointments keep the name.
clinic_setup:writeWaits for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe doctor id.
Unless its key was set not to wait, nothing is removed yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
404not_foundNo doctor with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThey have upcoming appointments (details.reason is PROVIDER_HAS_UPCOMING_APPOINTMENTS, details.upcoming_appointments the count).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X DELETE https://www.nutalk.ai/v1/clinic/doctors/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
already_removed when they were){
"success": true,
"data": {
"id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
"removed": true,
"already_removed": false,
"past_appointments_kept": 12
}
}/v1/clinic/doctors/:id/weekly-hoursGet a doctor's weekly hours
Returns the doctor's recurring week: hours, the every-week ranges on their own clock that PUT replaces, and other_hours, the rows a PUT keeps as they are (alternate weeks, hours bounded to dates, hours on another clock; edited in the dashboard).
clinic_setup:readother_hours rows also carry timezone, every_weeks with anchor_date (every other week, …) and effective_start/effective_end (dates the row applies between).
Days off and day changes are not part of the week: see the doctor's days off.
Path parameters
iduuidrequiredThe doctor id.
Errors
404not_foundNo doctor with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/doctors/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7/weekly-hours \ -H "Authorization: Bearer $NUTALK_API_KEY"
timezone; day_of_week 0 is Sunday.{
"success": true,
"data": {
"doctor_id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
"timezone": "America/Monterrey",
"hours": [
{
"id": "e28ea0c1-6d7f-4a9c-9ebc-3d5f7b9cbed6",
"day_of_week": 1,
"start": "09:00",
"end": "14:00",
"location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"room_id": null,
"slot_interval_minutes": 15
}
],
"other_hours": []
}
}/v1/clinic/doctors/:id/weekly-hoursSet a doctor's weekly hours
Replaces the doctor's every-week hours with hours: the whole week, so a weekday left out has no hours and [] clears the week. It runs through the dashboard's weekly-hours writer: ranges of one day can't overlap, other_hours are kept, the day changes of the weekdays that change are rebuilt, and the appointments the new week leaves outside its hours are listed (never cancelled: reception gives them a new time).
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
The hours are saved on the doctor's clock: a later time zone change moves them with it.
Path parameters
iduuidrequiredThe doctor id.
Request body
hoursobject[] · 0–56 itemsrequiredThe week's ranges.
hours[].day_of_weekinteger · 0–6required0 = Sunday … 6 = Saturday.
hours[].startstringrequiredHH:MM (24-hour) on the doctor's clock.
hours[].endstringrequiredHH:MM after start (23:59 at the latest).
hours[].iduuidThe range of GET it replaces: it keeps that range's location, room and slot step. A new range takes its weekday's first range's, else the doctor's default location.
dry_runbooleantrue: saves nothing and lists the appointments the new week would leave outside. Default: false.
Show 2 more fields
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorTwo ranges of a day overlap (details.reason WEEKLY_OVERLAP, details.day_of_week), or a day mixes two time zones (WEEKLY_TIMEZONE_MIX).404not_foundNo doctor with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThe doctor was removed, has too many schedule rows, or the weekdays changed have more than 25 day changes ahead (WEEKLY_TOO_MANY_DAY_CHANGES: change fewer weekdays at a time).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PUT https://www.nutalk.ai/v1/clinic/doctors/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7/weekly-hours \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hours": [
{
"day_of_week": 1,
"start": "09:00",
"end": "14:00"
},
{
"day_of_week": 1,
"start": "16:00",
"end": "19:00"
},
{
"day_of_week": 3,
"start": "09:00",
"end": "14:00"
}
]
}'conflicts (the first 200) and conflict_count count the appointments left outside the new hours (patient_name and service are null unless the key holds appointments:read); recompile_warnings names the dates whose day changes could not be rebuilt (recompile_failed when the rebuild failed altogether: open those days in the dashboard); weekly_hours is the saved week (null on a dry run).{
"success": true,
"data": {
"dry_run": false,
"conflicts": [
{
"id": "6b1d2c3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"starts_at": "2026-10-19T22:00:00.000Z",
"ends_at": "2026-10-19T22:30:00.000Z",
"timezone": "America/Monterrey",
"patient_name": "María Pérez",
"service": "Consulta dermatológica"
}
],
"conflict_count": 1,
"recompile_warnings": [],
"recompile_failed": false,
"weekly_hours": {
"doctor_id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
"timezone": "America/Monterrey",
"hours": [
{
"id": "e28ea0c1-6d7f-4a9c-9ebc-3d5f7b9cbed6",
"day_of_week": 1,
"start": "09:00",
"end": "14:00",
"location_id": "8c2e4a6b-0d1f-4a3c-9e5b-7d9f1b3c5e70",
"room_id": null,
"slot_interval_minutes": 15
}
],
"other_hours": []
}
}
}/v1/clinic/doctors/:id/days-offList a doctor's days off
Lists the doctor's blocked time (days off, time off), soonest first: by default what has not ended yet.
clinic_setup:readDay changes the clinic made to the doctor's hours for one date are not days off and are left out.
Path parameters
iduuidrequiredThe doctor id.
Query parameters
limitinteger · 1–100Results per page. Default: 20.
offsetinteger · at least 0Results to skip. Default: 0.
fromdatetimeOnly blocks that end after this time (default: now).
todatetimeOnly blocks that start before this time.
Errors
400validation_errorA query parameter is invalid (details.errors lists each one).404not_foundNo doctor with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl "https://www.nutalk.ai/v1/clinic/doctors/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7/days-off?from=2026-12-01T00:00:00Z" \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": [
{
"id": "f39fb1d2-7e8a-4bad-8fcd-4e6a8cadcfe7",
"doctor_id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
"starts_at": "2026-12-24T06:00:00+00:00",
"ends_at": "2026-12-26T06:00:00+00:00",
"reason": "Vacaciones",
"created_at": "2026-10-12T16:02:11.402+00:00"
}
],
"pagination": {
"total": 1,
"limit": 20,
"offset": 0,
"has_more": false
}
}/v1/clinic/doctors/:id/days-offBlock a doctor's time
Blocks the doctor's time (a day off, a vacation, an afternoon) through the database's one write path for it: it joins the blocks it touches, refuses time that already ended, and lists the appointments inside. Those stay booked: reception moves them. Send the time as instants (starts_at, ends_at), as part of one day on the doctor's clock (date, from, to), or as whole days on the doctor's clock (first_date, last_date).
clinic_setup:writeTakes an Idempotency-KeyWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe doctor id.
Request body
starts_atdatetimeWith ends_at: the block's start.
ends_atdatetimeWith starts_at: the block's end.
datestringWith from and to: the day (YYYY-MM-DD) on the doctor's clock.
fromstringHH:MM the block starts that day.
tostringHH:MM the block ends that day.
first_datestringWith last_date: the first whole day off (YYYY-MM-DD).
last_datestringThe last whole day off, included.
reasonstring | null · up to 500Why (shown to the team).
dry_runbooleantrue: saves nothing; lists what the block would cover. Default: false.
conflicts_keystringThe conflicts_key of a dry run: the block is made only while the same appointments are inside (409 otherwise).
Show 6 more fields
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorThe time already ended (details.reason CLINIC_BLOCK_IN_PAST) or is too long (CLINIC_BLOCK_TOO_LONG).404not_foundNo doctor with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThe doctor was removed, or the appointments inside changed since the dry run whose conflicts_key was sent (CLINIC_BLOCK_APPOINTMENTS_CHANGED).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X POST https://www.nutalk.ai/v1/clinic/doctors/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7/days-off \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"first_date": "2026-12-24",
"last_date": "2026-12-25",
"reason": "Vacaciones"
}'day_off is the stored block (null on a dry run), starts_at/ends_at its range after joining, joined the blocks it absorbed, conflicts (the first 200) and conflict_count the appointments inside (patient_name and service are null unless the key holds appointments:read), conflicts_key names that set.{
"success": true,
"data": {
"dry_run": false,
"day_off": {
"id": "f39fb1d2-7e8a-4bad-8fcd-4e6a8cadcfe7",
"doctor_id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
"starts_at": "2026-12-24T06:00:00+00:00",
"ends_at": "2026-12-26T06:00:00+00:00",
"reason": "Vacaciones",
"created_at": "2026-10-12T16:02:11.402+00:00"
},
"starts_at": "2026-12-24T06:00:00+00:00",
"ends_at": "2026-12-26T06:00:00+00:00",
"joined": [],
"conflicts": [],
"conflict_count": 0,
"conflicts_key": "00000000000000000000000000000abc"
}
}/v1/clinic/days-off/:idRemove a day off
Removes a doctor's blocked time (an id from their days off): the time is open for booking again at once.
clinic_setup:writeWaits for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe day off id.
Unless its key was set not to wait, nothing is removed yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
404not_foundNo day off with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorAnother block joined into it meanwhile (details.reason CLINIC_BLOCK_CHANGED): read the doctor's days off again.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X DELETE https://www.nutalk.ai/v1/clinic/days-off/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "f39fb1d2-7e8a-4bad-8fcd-4e6a8cadcfe7",
"deleted": true
}
}/v1/clinic/servicesList services
Lists the services patients book (appointment types) in the clinic's display order, with the rules the scheduling engine applies and the facts the agents answer from.
clinic_setup:readQuery parameters
limitinteger · 1–100Results per page. Default: 20.
offsetinteger · at least 0Results to skip. Default: 0.
statusactive | inactive | archivedOnly services in this status. Without it, every service but the archived ones.
categorystringOnly services of this category (exact).
Errors
400validation_errorA query parameter is invalid (details.errors lists each one).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/services \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": [
{
"id": "c06c8eaf-4b5d-4e7a-9c9f-1b3d5f7a9cb4",
"name": "Consulta dermatológica",
"description": "Valoración de piel, cabello y uñas.",
"category": "Dermatología",
"status": "active",
"duration_minutes": 30,
"buffer_before_minutes": 0,
"buffer_after_minutes": 10,
"color": "#0EA5E9",
"default_room_id": null,
"required_room_type": null,
"eligible_spot_ids": [],
"staff_involvement": "exclusive",
"required_staff_role": "doctor",
"allowed_doctor_ids": [
"3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7"
],
"min_notice_minutes": 60,
"max_advance_days": 90,
"full_hour_start": false,
"requires_human_confirmation": false,
"currency": "MXN",
"price": 900,
"price_note": null,
"search_aliases": [
"consulta de piel",
"dermatólogo"
],
"benefits": [],
"indications": [],
"contraindications": [],
"preparation_instructions": "Llegar sin maquillaje.",
"aftercare_instructions": null,
"patient_arrival_offset_minutes": 10,
"intake_form_required": false,
"intake_form_url": null,
"intake_form_instructions": null,
"handoff_summary": null,
"modality": null,
"mechanism_summary": null,
"ideal_candidate": null,
"operational_notes": null,
"service_details": [],
"information_sources": [],
"content_review_status": "tenant_confirmed",
"display_order": 100,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
],
"pagination": {
"total": 1,
"limit": 20,
"offset": 0,
"has_more": false
}
}/v1/clinic/servicesCreate a service
Creates a service. Every field but name is optional.
clinic_setup:writeTakes an Idempotency-KeyWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Request body
namestring · 1–200 charactersrequiredWhat patients book, e.g. Consulta dermatológica.
descriptionstring | null · up to 5,000What it is; the agents read it.
categorystring | null · up to 200A label to group services.
duration_minutesinteger · 5–480How long it takes (default 30).
buffer_before_minutesinteger · 0–240Time kept free before it.
buffer_after_minutesinteger · 0–240Time kept free after it.
colorstring | nullCalendar color, #RRGGBB (null: the default).
default_room_iduuid | nullThe room it is usually booked in.
required_room_typestring | null · up to 100Only rooms with this room_type can hold it.
eligible_spot_idsuuid[] · 0–100 itemsThe spots it can be booked in, the main one first (active spots of yours). Replaces the stored list; [] removes the restriction.
staff_involvementexclusive | supervised | noneexclusive (default): the doctor is busy for the whole service; supervised: one doctor watches several at once (up to their max_concurrent_supervised); none: nobody staffs it (bounded by the location's opening hours).
required_staff_roledoctor | nurse | therapist | technician | staff | nullOnly doctors with this role can take it.
allowed_doctor_idsuuid[] · 0–200 itemsOnly these doctors can take it (doctors of yours). Replaces the stored list; [] lets every qualified doctor take it.
min_notice_minutesinteger · 0–20,160How far ahead it must be booked (default 60).
max_advance_daysinteger · 1–365How far into the future it can be booked (default 90).
full_hour_startbooleanStarts only on the hour.
requires_human_confirmationbooleanThe agents don't book it on their own: reception or an outside provider confirms first.
currencystring · 3–3 charactersISO 4217 code of the price (default MXN).
pricenumber | null · at least 0The regular price, in currency; null: no price.
price_notestring | null · up to 1,000What the price includes or depends on.
search_aliasesstring[] · 0–50 itemsOther names patients use for it (the agents match them). Replaces the stored list.
benefitsstring[] · 0–50 itemsBenefits the agents can mention. Replaces the stored list.
indicationsstring[] · 0–50 itemsWho it is for. Replaces the stored list.
contraindicationsstring[] · 0–50 itemsWho should not take it. Replaces the stored list.
preparation_instructionsstring | null · up to 5,000What the patient does before coming.
aftercare_instructionsstring | null · up to 5,000What the patient does afterwards.
patient_arrival_offset_minutesinteger | null · 0–240How many minutes early the patient should arrive.
intake_form_requiredbooleanThe patient fills a form before the visit.
intake_form_urlstring | null · up to 2,000The form's link.
intake_form_instructionsstring | null · up to 5,000How to fill it.
handoff_summarystring | null · up to 5,000What the agents tell reception when they hand a patient over.
modalitystring | null · up to 200How it is given (e.g. in person, IV).
mechanism_summarystring | null · up to 5,000How it works, in plain words.
ideal_candidatestring | null · up to 5,000Who benefits most.
operational_notesstring | null · up to 5,000Notes for the team.
service_detailsstring[] · 0–50 itemsFurther facts the agents can share. Replaces the stored list.
information_sourcesstring[] · 0–50 itemsWhere the facts above come from. Replaces the stored list.
content_review_statusdraft | source_backed | tenant_confirmed | medical_review_required | medical_approvedHow far the patient-facing content was reviewed (default draft).
display_orderinteger · 0–10,000Lower comes first in lists (default 100).
Show 35 more fields
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorA room, spot or doctor named is not an active one of yours.403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X POST https://www.nutalk.ai/v1/clinic/services \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Consulta dermatológica",
"duration_minutes": 30,
"buffer_after_minutes": 10,
"required_staff_role": "doctor",
"allowed_doctor_ids": [
"3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7"
],
"currency": "MXN",
"price": 900,
"search_aliases": [
"consulta de piel",
"dermatólogo"
]
}'{
"success": true,
"data": {
"id": "c06c8eaf-4b5d-4e7a-9c9f-1b3d5f7a9cb4",
"name": "Consulta dermatológica",
"description": "Valoración de piel, cabello y uñas.",
"category": "Dermatología",
"status": "active",
"duration_minutes": 30,
"buffer_before_minutes": 0,
"buffer_after_minutes": 10,
"color": "#0EA5E9",
"default_room_id": null,
"required_room_type": null,
"eligible_spot_ids": [],
"staff_involvement": "exclusive",
"required_staff_role": "doctor",
"allowed_doctor_ids": [
"3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7"
],
"min_notice_minutes": 60,
"max_advance_days": 90,
"full_hour_start": false,
"requires_human_confirmation": false,
"currency": "MXN",
"price": 900,
"price_note": null,
"search_aliases": [
"consulta de piel",
"dermatólogo"
],
"benefits": [],
"indications": [],
"contraindications": [],
"preparation_instructions": "Llegar sin maquillaje.",
"aftercare_instructions": null,
"patient_arrival_offset_minutes": 10,
"intake_form_required": false,
"intake_form_url": null,
"intake_form_instructions": null,
"handoff_summary": null,
"modality": null,
"mechanism_summary": null,
"ideal_candidate": null,
"operational_notes": null,
"service_details": [],
"information_sources": [],
"content_review_status": "tenant_confirmed",
"display_order": 100,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/services/:idGet a service
Returns one service (archived ones too).
clinic_setup:readPath parameters
iduuidrequiredThe service id.
Errors
404not_foundNo service with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/services/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "c06c8eaf-4b5d-4e7a-9c9f-1b3d5f7a9cb4",
"name": "Consulta dermatológica",
"description": "Valoración de piel, cabello y uñas.",
"category": "Dermatología",
"status": "active",
"duration_minutes": 30,
"buffer_before_minutes": 0,
"buffer_after_minutes": 10,
"color": "#0EA5E9",
"default_room_id": null,
"required_room_type": null,
"eligible_spot_ids": [],
"staff_involvement": "exclusive",
"required_staff_role": "doctor",
"allowed_doctor_ids": [
"3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7"
],
"min_notice_minutes": 60,
"max_advance_days": 90,
"full_hour_start": false,
"requires_human_confirmation": false,
"currency": "MXN",
"price": 900,
"price_note": null,
"search_aliases": [
"consulta de piel",
"dermatólogo"
],
"benefits": [],
"indications": [],
"contraindications": [],
"preparation_instructions": "Llegar sin maquillaje.",
"aftercare_instructions": null,
"patient_arrival_offset_minutes": 10,
"intake_form_required": false,
"intake_form_url": null,
"intake_form_instructions": null,
"handoff_summary": null,
"modality": null,
"mechanism_summary": null,
"ideal_candidate": null,
"operational_notes": null,
"service_details": [],
"information_sources": [],
"content_review_status": "tenant_confirmed",
"display_order": 100,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/services/:idUpdate a service
Changes the fields you send; a list replaces the stored list. Booked appointments keep their time.
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe service id.
Request body
namestring · 1–200 charactersWhat patients book, e.g. Consulta dermatológica.
descriptionstring | null · up to 5,000What it is; the agents read it.
categorystring | null · up to 200A label to group services.
duration_minutesinteger · 5–480How long it takes.
buffer_before_minutesinteger · 0–240Time kept free before it.
buffer_after_minutesinteger · 0–240Time kept free after it.
colorstring | nullCalendar color, #RRGGBB (null: the default).
default_room_iduuid | nullThe room it is usually booked in.
required_room_typestring | null · up to 100Only rooms with this room_type can hold it.
eligible_spot_idsuuid[] · 0–100 itemsThe spots it can be booked in, the main one first (active spots of yours). Replaces the stored list; [] removes the restriction.
staff_involvementexclusive | supervised | noneexclusive (default): the doctor is busy for the whole service; supervised: one doctor watches several at once (up to their max_concurrent_supervised); none: nobody staffs it (bounded by the location's opening hours).
required_staff_roledoctor | nurse | therapist | technician | staff | nullOnly doctors with this role can take it.
allowed_doctor_idsuuid[] · 0–200 itemsOnly these doctors can take it (doctors of yours). Replaces the stored list; [] lets every qualified doctor take it.
min_notice_minutesinteger · 0–20,160How far ahead it must be booked (default 60).
max_advance_daysinteger · 1–365How far into the future it can be booked (default 90).
full_hour_startbooleanStarts only on the hour.
requires_human_confirmationbooleanThe agents don't book it on their own: reception or an outside provider confirms first.
currencystring · 3–3 charactersISO 4217 code of the price (default MXN).
pricenumber | null · at least 0The regular price, in currency; null: no price.
price_notestring | null · up to 1,000What the price includes or depends on.
search_aliasesstring[] · 0–50 itemsOther names patients use for it (the agents match them). Replaces the stored list.
benefitsstring[] · 0–50 itemsBenefits the agents can mention. Replaces the stored list.
indicationsstring[] · 0–50 itemsWho it is for. Replaces the stored list.
contraindicationsstring[] · 0–50 itemsWho should not take it. Replaces the stored list.
preparation_instructionsstring | null · up to 5,000What the patient does before coming.
aftercare_instructionsstring | null · up to 5,000What the patient does afterwards.
patient_arrival_offset_minutesinteger | null · 0–240How many minutes early the patient should arrive.
intake_form_requiredbooleanThe patient fills a form before the visit.
intake_form_urlstring | null · up to 2,000The form's link.
intake_form_instructionsstring | null · up to 5,000How to fill it.
handoff_summarystring | null · up to 5,000What the agents tell reception when they hand a patient over.
modalitystring | null · up to 200How it is given (e.g. in person, IV).
mechanism_summarystring | null · up to 5,000How it works, in plain words.
ideal_candidatestring | null · up to 5,000Who benefits most.
operational_notesstring | null · up to 5,000Notes for the team.
service_detailsstring[] · 0–50 itemsFurther facts the agents can share. Replaces the stored list.
information_sourcesstring[] · 0–50 itemsWhere the facts above come from. Replaces the stored list.
content_review_statusdraft | source_backed | tenant_confirmed | medical_review_required | medical_approvedHow far the patient-facing content was reviewed (default draft).
display_orderinteger · 0–10,000Lower comes first in lists (default 100).
statusactive | inactiveinactive keeps the service out of new bookings; active brings it back. Archiving is the DELETE.
Show 36 more fields
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorA room, spot or doctor named is not an active one of yours.404not_foundNo service with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409validation_errorThe service is archived (removed).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PATCH https://www.nutalk.ai/v1/clinic/services/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"price": 950,
"price_note": "Incluye revisión con dermatoscopio."
}'{
"success": true,
"data": {
"id": "c06c8eaf-4b5d-4e7a-9c9f-1b3d5f7a9cb4",
"name": "Consulta dermatológica",
"description": "Valoración de piel, cabello y uñas.",
"category": "Dermatología",
"status": "active",
"duration_minutes": 30,
"buffer_before_minutes": 0,
"buffer_after_minutes": 10,
"color": "#0EA5E9",
"default_room_id": null,
"required_room_type": null,
"eligible_spot_ids": [],
"staff_involvement": "exclusive",
"required_staff_role": "doctor",
"allowed_doctor_ids": [
"3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7"
],
"min_notice_minutes": 60,
"max_advance_days": 90,
"full_hour_start": false,
"requires_human_confirmation": false,
"currency": "MXN",
"price": 950,
"price_note": "Incluye revisión con dermatoscopio.",
"search_aliases": [
"consulta de piel",
"dermatólogo"
],
"benefits": [],
"indications": [],
"contraindications": [],
"preparation_instructions": "Llegar sin maquillaje.",
"aftercare_instructions": null,
"patient_arrival_offset_minutes": 10,
"intake_form_required": false,
"intake_form_url": null,
"intake_form_instructions": null,
"handoff_summary": null,
"modality": null,
"mechanism_summary": null,
"ideal_candidate": null,
"operational_notes": null,
"service_details": [],
"information_sources": [],
"content_review_status": "tenant_confirmed",
"display_order": 100,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/services/:idArchive a service
Archives the service: it can no longer be booked; booked appointments and history keep it. Archiving an archived service changes nothing.
clinic_setup:writeWaits for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe service id.
Unless its key was set not to wait, nothing is removed yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
404not_foundNo service with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X DELETE https://www.nutalk.ai/v1/clinic/services/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "c06c8eaf-4b5d-4e7a-9c9f-1b3d5f7a9cb4",
"archived": true
}
}/v1/clinic/record-fieldsList the patient record's questions
Lists what the clinic wants to know about each patient, in the clinic's order. Only the questions: answers aren't here. Archived questions only with archived=true.
clinic_setup:readQuery parameters
limitinteger · 1–100Results per page. Default: 20.
offsetinteger · at least 0Results to skip. Default: 0.
archivedbooleantrue lists the archived questions instead.
Errors
400validation_errorA query parameter is invalid (details.errors lists each one).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/record-fields \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": [
{
"id": "c06c8eaf-4b5d-4e70-9c9f-1b3d5f708cb4",
"label": "Municipio",
"question_es": "¿En qué municipio vives?",
"question_en": "What city do you live in?",
"answer_type": "text",
"options": null,
"scope": "patient",
"needed": true,
"all_services": true,
"service_ids": [],
"contact_field_id": "5a7c9e1b-3d5f-4a7b-9c1d-3e5f7a9b1c2d",
"position": 0,
"archived": false,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
],
"pagination": {
"total": 1,
"limit": 20,
"offset": 0,
"has_more": false
}
}/v1/clinic/record-fieldsAdd a question
Adds a question to the clinic's patient record: up to 12 active for any one service, 40 in the record. A question about the patient creates its contact field, or reuses one with the same name that can hold the answers, in the same save.
clinic_setup:writeTakes an Idempotency-KeyWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Request body
labelstring · 1–80 charactersrequiredThe name on the appointment. A question about the patient names its contact field with it.
question_esstring | null · up to 300The question in Spanish. The AI asks in its own words.
question_enstring | null · up to 300The question in English.
answer_typetext | long_text | date | choice | yes_no | numberWhat the answer is (default text).
optionsstring[] | null · 1–30 itemsThe choices of a choice question. A yes_no question has Sí and No unless you name two others.
scopepatient | visitpatient asks once and saves on a contact field, which the save creates or reuses. visit asks every appointment and saves on it. Default patient.
neededbooleanNeeded before the visit: a gap shows as missing and is asked once more. It never blocks a booking (default false).
all_servicesbooleanAsked for every service (default true).
service_idsuuid[] · 0–500 itemsAsked only for these services: naming them turns all_services off. An empty list never means every service.
Show 5 more fields
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorA rule of the question: details.reason says which (RECORD_FIELD_INVALID, RECORD_FIELD_LABEL_UNUSABLE, RECORD_FIELD_UNKNOWN_SERVICE). service_ids names something that is not yours (details.ids).409validation_errordetails.reason: RECORD_FIELD_LIMIT (12 active questions for one service, 40 in the record), RECORD_SECTION_LIMIT (a question for services no section asks yet, in a record with 20 sections), RECORD_FIELD_IN_USE (its answer type or scope can't change once it holds answers), RECORD_FIELD_ARCHIVED (bring it back first), or the contact field its name lands on can't take it: RECORD_FIELD_NAME_ARCHIVED, RECORD_FIELD_NAME_CONFLICT, RECORD_FIELD_NAME_TAKEN, RECORD_FIELD_CONTACT_FIELDS_LIMIT.403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X POST https://www.nutalk.ai/v1/clinic/record-fields \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"label": "Municipio",
"question_es": "¿En qué municipio vives?",
"question_en": "What city do you live in?",
"needed": true
}'{
"success": true,
"data": {
"id": "c06c8eaf-4b5d-4e70-9c9f-1b3d5f708cb4",
"label": "Municipio",
"question_es": "¿En qué municipio vives?",
"question_en": "What city do you live in?",
"answer_type": "text",
"options": null,
"scope": "patient",
"needed": true,
"all_services": true,
"service_ids": [],
"contact_field_id": "5a7c9e1b-3d5f-4a7b-9c1d-3e5f7a9b1c2d",
"position": 0,
"archived": false,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/record-fields/orderOrder the questions
Sets the list's order: the questions you name, in that order, and any other after them in its order. Returns the active questions as they now stand.
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Request body
field_idsuuid[] · 1–100 itemsrequiredThe questions, each once, first to last.
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorfield_ids names something that is not yours (details.ids).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PUT https://www.nutalk.ai/v1/clinic/record-fields/order \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"field_ids": [
"c06c8eaf-4b5d-4e70-9c9f-1b3d5f708cb4"
]
}'{
"success": true,
"data": [
{
"id": "c06c8eaf-4b5d-4e70-9c9f-1b3d5f708cb4",
"label": "Municipio",
"question_es": "¿En qué municipio vives?",
"question_en": "What city do you live in?",
"answer_type": "text",
"options": null,
"scope": "patient",
"needed": true,
"all_services": true,
"service_ids": [],
"contact_field_id": "5a7c9e1b-3d5f-4a7b-9c1d-3e5f7a9b1c2d",
"position": 0,
"archived": false,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
]
}/v1/clinic/record-fields/:idGet a question
Returns one question of the patient record (archived ones too).
clinic_setup:readPath parameters
iduuidrequiredThe question id.
Errors
404not_foundNo question with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/record-fields/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "c06c8eaf-4b5d-4e70-9c9f-1b3d5f708cb4",
"label": "Municipio",
"question_es": "¿En qué municipio vives?",
"question_en": "What city do you live in?",
"answer_type": "text",
"options": null,
"scope": "patient",
"needed": true,
"all_services": true,
"service_ids": [],
"contact_field_id": "5a7c9e1b-3d5f-4a7b-9c1d-3e5f7a9b1c2d",
"position": 0,
"archived": false,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/record-fields/:idUpdate a question
Changes the fields you send. A new label renames the question's contact field; its key stays. archived: false brings an archived question back, and it goes alone: an archived question takes no other change.
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe question id.
Request body
labelstring · 1–80 charactersThe name on the appointment. A question about the patient names its contact field with it.
question_esstring | null · up to 300The question in Spanish. The AI asks in its own words.
question_enstring | null · up to 300The question in English.
answer_typetext | long_text | date | choice | yes_no | numberWhat the answer is. It stays once the question holds answers.
optionsstring[] | null · 1–30 itemsThe choices of a choice question. A yes_no question has Sí and No unless you name two others.
scopepatient | visitpatient asks once and saves on a contact field, which the save creates or reuses. visit asks every appointment and saves on it. It stays once the question holds answers.
neededbooleanNeeded before the visit: a gap shows as missing and is asked once more. It never blocks a booking (default false).
all_servicesbooleanAsked for every service (default true).
service_idsuuid[] · 0–500 itemsAsked only for these services: naming them turns all_services off. An empty list never means every service.
archivedbooleanfalse brings an archived question back. Archiving is the DELETE.
Show 6 more fields
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorA rule of the question: details.reason says which (RECORD_FIELD_INVALID, RECORD_FIELD_LABEL_UNUSABLE, RECORD_FIELD_UNKNOWN_SERVICE). service_ids names something that is not yours (details.ids).409validation_errordetails.reason: RECORD_FIELD_LIMIT (12 active questions for one service, 40 in the record), RECORD_SECTION_LIMIT (a question for services no section asks yet, in a record with 20 sections), RECORD_FIELD_IN_USE (its answer type or scope can't change once it holds answers), RECORD_FIELD_ARCHIVED (bring it back first), or the contact field its name lands on can't take it: RECORD_FIELD_NAME_ARCHIVED, RECORD_FIELD_NAME_CONFLICT, RECORD_FIELD_NAME_TAKEN, RECORD_FIELD_CONTACT_FIELDS_LIMIT.404not_foundNo question with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PATCH https://www.nutalk.ai/v1/clinic/record-fields/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"needed": false
}'{
"success": true,
"data": {
"id": "c06c8eaf-4b5d-4e70-9c9f-1b3d5f708cb4",
"label": "Municipio",
"question_es": "¿En qué municipio vives?",
"question_en": "What city do you live in?",
"answer_type": "text",
"options": null,
"scope": "patient",
"needed": true,
"all_services": true,
"service_ids": [],
"contact_field_id": "5a7c9e1b-3d5f-4a7b-9c1d-3e5f7a9b1c2d",
"position": 0,
"archived": false,
"created_at": "2026-10-12T16:02:11.402+00:00",
"updated_at": "2026-10-12T16:02:11.402+00:00"
}
}/v1/clinic/record-fields/:idArchive a question
Archives the question: nothing asks it any more, and what patients answered stays. Archiving an archived question changes nothing.
clinic_setup:writeWaits for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Path parameters
iduuidrequiredThe question id.
Unless its key was set not to wait, nothing is removed yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
404not_foundNo question with this id in your workspace (ids of other workspaces answer the same).403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X DELETE https://www.nutalk.ai/v1/clinic/record-fields/3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "c06c8eaf-4b5d-4e70-9c9f-1b3d5f708cb4",
"archived": true
}
}/v1/clinic/settingsGet clinic settings
Returns the clinic-wide settings: booking several services at once, how the AI agents offer and start appointments, the attendance recorded when nobody records it, and the round robin of new patients among doctors with each service's roster.
clinic_setup:readErrors
403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/settings \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"allow_manual_simultaneous_services": false,
"ai_start_grid_minutes": 30,
"ai_offer_policy": {
"enabled": true,
"days": 2,
"options_per_daypart": 2,
"afternoon_start_minute": 780,
"rules": [
{
"day_of_week": 6,
"start_minute": 600,
"end_minute": 720,
"kind": "blocked"
}
]
},
"attendance_after_hours": 24,
"attendance_staff_bookings": "completed",
"attendance_ai_bookings": "completed_if_confirmed",
"round_robin": {
"enabled": true,
"preference_consumes_turn": false,
"annul_on_switch": true,
"keep_existing_patients": true,
"full_agenda_behavior": "advance",
"full_agenda_days": 7,
"services": [
{
"service_id": "c06c8eaf-4b5d-4e7a-9c9f-1b3d5f7a9cb4",
"enabled": true,
"doctor_ids": [
"3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7"
]
}
]
}
}
}/v1/clinic/settingsUpdate clinic settings
Changes the settings you send and returns them all. Service rosters are saved first, then the round-robin switches, then the clinic-wide settings, as the dashboard saves them; when one is refused, the ones before it stay saved.
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Scheduling handler (the same rules as the dashboard), acting as the member who created the key: their role, at most admin, must allow it. It is recorded as the key's.
Request body
allow_manual_simultaneous_servicesbooleanReception (and the API) may book several services for one patient at the same time.
ai_start_grid_minutesintegerThe minutes the AI agents may start an appointment on: 15 (any start the hours give), 30 (:00 and :30) or 60 (on the hour). Never applies to reception's bookings.
ai_offer_policyobjectHow the AI agents offer times (the whole policy; every field required). Never applies to reception's bookings.
ai_offer_policy.enabledbooleanrequiredfalse switches the rules off.
ai_offer_policy.daysinteger · 1–5requiredLead with the first this many dates that have openings.
ai_offer_policy.options_per_daypartinteger · 1–3requiredTimes offered per morning and per afternoon.
ai_offer_policy.afternoon_start_minuteinteger · 600–1,080requiredMinutes after midnight the afternoon starts (on the hour or half hour, 10:00 to 18:00).
ai_offer_policy.rulesobject[] · 0–672 itemsrequiredWeekly times the agents offer first (preferred) or never (blocked).
attendance_after_hoursinteger · 2–48Attendance when nobody records it: hours after a visit's end (2, 6, 12, 24 or 48; default 24) before NuTalk closes a visit nobody marked Attended or No-show, as attendance_staff_bookings or attendance_ai_bookings says. Only a key created by an owner or admin can change it.
attendance_staff_bookingscompleted | completed_if_confirmed | unconfirmedWhat a visit your team booked (dashboard, API, import) becomes then: completed (attended; the default), completed_if_confirmed (attended if the patient confirmed it, unconfirmed otherwise) or unconfirmed. Never a no-show. Owners' and admins' keys only.
attendance_ai_bookingscompleted | completed_if_confirmed | unconfirmedThe same for a visit an AI agent booked: completed, completed_if_confirmed or unconfirmed (the default). Owners' and admins' keys only.
round_robinobjectThe round robin of new patients among doctors. Only the fields sent change.
round_robin.enabledbooleanThe master switch.
round_robin.preference_consumes_turnbooleanA patient who asks for a doctor still counts as that doctor's turn.
round_robin.annul_on_switchbooleanWhen the conversation books another doctor, the first assignment is annulled.
round_robin.keep_existing_patientsbooleanReturning patients keep their doctor.
round_robin.full_agenda_behavioradvance | waitWhen the assigned doctor has no opening soon: advance passes the patient to the next doctor, wait keeps offering the assigned doctor.
round_robin.full_agenda_daysinteger · 1–30What "soon" means, in days.
round_robin.servicesobject[] · 0–200 itemsPer-service rosters to save (each replaces that service's roster; services not listed keep theirs). Saved before the switches.
Show 15 more fields
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorai_offer_policy is not a whole valid policy, a roster names a service or doctor that is not yours, or newly adds an inactive doctor.403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.503internal_errorA setting needs a release that is not deployed yet: retry later.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PATCH https://www.nutalk.ai/v1/clinic/settings \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ai_start_grid_minutes": 30,
"round_robin": {
"enabled": true,
"services": [
{
"service_id": "c06c8eaf-4b5d-4e7a-9c9f-1b3d5f7a9cb4",
"enabled": true,
"doctor_ids": [
"3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7"
]
}
]
}
}'{
"success": true,
"data": {
"allow_manual_simultaneous_services": false,
"ai_start_grid_minutes": 30,
"ai_offer_policy": {
"enabled": true,
"days": 2,
"options_per_daypart": 2,
"afternoon_start_minute": 780,
"rules": [
{
"day_of_week": 6,
"start_minute": 600,
"end_minute": 720,
"kind": "blocked"
}
]
},
"attendance_after_hours": 24,
"attendance_staff_bookings": "completed",
"attendance_ai_bookings": "completed_if_confirmed",
"round_robin": {
"enabled": true,
"preference_consumes_turn": false,
"annul_on_switch": true,
"keep_existing_patients": true,
"full_agenda_behavior": "advance",
"full_agenda_days": 7,
"services": [
{
"service_id": "c06c8eaf-4b5d-4e7a-9c9f-1b3d5f7a9cb4",
"enabled": true,
"doctor_ids": [
"3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7"
]
}
]
}
}
}/v1/clinic/remindersGet the clinic's reminders
Returns the clinic's appointment reminders, as Clinic Settings › Reminders shows them: whether they go out, the WhatsApp channel they go out on (send_from_channel_id) and the agent that writes them, when, the confirmation, the reminder call, quiet hours, and what happens while your team handles the chat. channels lists the channels they can go out on, and other_agents any other agent whose own reminders still go out on its channel (changed on that agent, with PUT /agents/{id}/automations). agent_id and updated_at are null until the clinic first saves them; until then each agent keeps its own. agent_left is true when that agent answers no channel here any more: none go out (send_from_channel_id is null) until a change names send_from_channel_id, which moves them to that channel's agent.
clinic_setup:readErrors
403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/clinic/reminders \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"enabled": true,
"send_from_channel_id": "9f19ef32-eaef-452c-bebc-14d9759cdb64",
"agent_id": "550e8400-e29b-41d4-a716-446655440000",
"agent_left": false,
"offsets_minutes": [
1440,
30
],
"whatsapp_enabled": true,
"confirmation_enabled": true,
"day_reminders_at_hour": true,
"day_reminder_hour": 9,
"late_booking_reminders": true,
"remind_held_chats": false,
"voice_enabled": false,
"voice_channel_ids": [],
"voice_offset_minutes": 240,
"quiet_hours_enabled": true,
"quiet_start_hour": 21,
"quiet_end_hour": 9,
"updated_at": "2026-10-12T16:02:11.402+00:00",
"channels": [
{
"id": "9f19ef32-eaef-452c-bebc-14d9759cdb64",
"name": "WA Recepción",
"agent_id": "550e8400-e29b-41d4-a716-446655440000",
"agent_name": "Lía",
"ai_mode": "live"
}
],
"other_agents": []
}
}/v1/clinic/remindersChange the clinic's reminders
Changes the settings you send, over what is saved at that moment, and returns them all. From then on reminders and reminder calls go out to patients on their own. A deploy or a rollback of the agent doesn't change them. PUT /agents/{id}/automations still changes them through the agent that sends them.
clinic_setup:writeCan wait for approvalWorkspace keys only · acts as the key's creatorThe change runs through the dashboard's own Clinic Settings handler, acting as the member who created the key: an owner, admin, builder or clinic manager. It is recorded as the key's.
Request body
enabledbooleanRemind patients of their appointments.
send_from_channel_iduuidThe WhatsApp channel they go out on, one of channels: the agent live on it writes them. Once the clinic has saved, only that agent's channels, unless none of them is left.
offsets_minutesinteger[] · 1–3 itemsMinutes before the appointment for each WhatsApp reminder (at most 3).
whatsapp_enabledbooleanSend WhatsApp reminders.
confirmation_enabledbooleanAsk the patient to confirm, and record when they do.
day_reminders_at_hourbooleanSend a reminder set in whole days (1 day, 2 days…) at day_reminder_hour of that day instead of at the appointment's hour.
day_reminder_hourinteger · 0–23Local hour day reminders go out at.
late_booking_remindersbooleanAn appointment booked after its day reminder's moment, for a later day, gets that reminder right away.
remind_held_chatsbooleanWhile your team handles the chat, reminders keep going: the team, not the AI, reads the reply. Off by default: reminders stop. The clinic's own: meetings follow theirs (PUT /business/reminders). A patient's own exception, set in the dashboard, wins.
voice_enabledbooleanAlso place a reminder call, from the voice channels the same agent answers (at least one).
voice_offset_minutesinteger · 15–10,080Minutes before the appointment for the reminder call.
quiet_hours_enabledbooleanHold reminders during quiet hours; due ones go out after.
quiet_start_hourinteger · 0–23Local hour quiet hours start.
quiet_end_hourinteger · 0–23Local hour quiet hours end.
Show 10 more fields
Nothing changes yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorsend_from_channel_id is not one of channels, no channel can send them yet, or the reminder call has no voice channel the same agent answers.403forbiddenClinic Scheduling is not enabled for the workspace (NuTalk turns it on per workspace).403forbiddenChanges act as the member who created the key: their role can't make this change in the dashboard, or they are no longer in the workspace.409conflictThe reminders changed while saving: try again.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X PUT https://www.nutalk.ai/v1/clinic/reminders \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"offsets_minutes": [
1440,
120
],
"late_booking_reminders": true
}'{
"success": true,
"data": {
"enabled": true,
"send_from_channel_id": "9f19ef32-eaef-452c-bebc-14d9759cdb64",
"agent_id": "550e8400-e29b-41d4-a716-446655440000",
"agent_left": false,
"offsets_minutes": [
1440,
30
],
"whatsapp_enabled": true,
"confirmation_enabled": true,
"day_reminders_at_hour": true,
"day_reminder_hour": 9,
"late_booking_reminders": true,
"remind_held_chats": false,
"voice_enabled": false,
"voice_channel_ids": [],
"voice_offset_minutes": 240,
"quiet_hours_enabled": true,
"quiet_start_hour": 21,
"quiet_end_hour": 9,
"updated_at": "2026-10-12T16:02:11.402+00:00",
"channels": [
{
"id": "9f19ef32-eaef-452c-bebc-14d9759cdb64",
"name": "WA Recepción",
"agent_id": "550e8400-e29b-41d4-a716-446655440000",
"agent_name": "Lía",
"ai_mode": "live"
}
],
"other_agents": []
}
}