Skip to main content
GET
Get one package by id
Returns the requested package as long as it belongs to the PAT’s tenant. The response is the same shape as one entry of GET /v1/scheduling/packages.

Endpoint

Required scope

scheduling:services:read

Path params

Example request

Response

200 OK

404 Not Found

The package 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 - application/json
id
string
required

ObjectId of the package.

name
string
required
mode
string
required

simultaneous or sequential.

duration_minutes
number
required

Total duration. simultaneous is the longest service; sequential is the sum of every service.

branches
string[]
required

Branches that offer the package.

items
object[]
required

Services that compose the package, in order.

status
string
required

active or inactive.

description
string
price
object

Package price { amount, currency }. Absent when settings.show_price is false.

services_total
number

Sum of the component services' individual prices. Absent when show_price is false.

settings
object