Skip to main content
GET
/
v1
/
scheduling
/
services
/
{id}
Obtener detalle de un servicio
curl --request GET \
  --url https://api.keebai.com/v1/scheduling/services/{id} \
  --header 'Authorization: Bearer <token>'
Returns the requested service as long as it belongs to the PAT’s tenant. Includes the fields needed to build a service picker in a public UI (duration, description, pricing) and the data the availability engine uses internally (time_rules, allowedProfessionals).

Endpoint

GET https://api.keebai.com/v1/scheduling/services/:id

Required scope

scheduling:services:read

Path params

ParamTypeDescription
idstringService id.

Example request

curl https://api.keebai.com/v1/scheduling/services/65b1c2d3e4f5a6b7c8d9e0f1 \
  -H "Authorization: Bearer kbai_pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Response

200 OK

{
  "_id": "65b1c2d3e4f5a6b7c8d9e0f1",
  "name": "Consulta general",
  "description": "Atención de medicina general 30 minutos.",
  "duration_minutes": 30,
  "bufferBefore": 0,
  "bufferAfter": 5,
  "time_rules": { "earliest_start": "09:00", "latest_end": "19:00" },
  "allowedProfessionals": ["66c1...", "66c2..."],
  "price": 25000,
  "currency": "CLP",
  "status": "active"
}

404 Not Found

The service doesn’t exist or belongs to another company.

401 Unauthorized · 403 Forbidden

Same semantics as the rest of the public API.

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Path Parameters

id
string
required

Response

200

Detalle del servicio