Skip to navigation

Get Service

Get a specific service by ID

Path parameters

service_idstringRequired

ID of the service. Returned when you create one; list them with GET /v1/reception/services.

Headers

xi-api-keystringOptional
xi-workspace-idstringRequired
The customer workspace a reseller's API key acts on.

Response

Successful Response
namestring
Service name shown to customers and the receptionist.
variantslist of objects

Bookable options for this service; variants[0] is the default.

idstring
The service's ID.
duration_minutesintegerRead-only
Duration of the first variant.
pricedouble or nullRead-only
Price of the first variant.
pricing_modeenumOptionalDefaults to fixed

‘fixed’ (default): the item has a known price the agent can quote, and customers can book or order it directly. ‘quote’: the price depends on the job (renovation, catering, custom work), so no price or slot is offered; the agent collects the intake_questions and files a quote request instead. Takes effect only while quotes are enabled for the business. Group services cannot use ‘quote’.

Allowed values:
intake_questionslist of objectsOptional

Questions the agent asks before booking or ordering this item. Required for a useful pricing_mode='quote' item — without them a quote request arrives with nothing to price — but also valid on fixed-price items that need extra detail (current hair color before a dye job, allergies before a treatment).

groupslist of objectsOptional

Group memberships for this item. Each entry carries the group label and the item’s 0-based rank within that group.

ungrouped_rankinteger or nullOptional>=0

Display position among items with no group; null sorts last. Change it with the reorder endpoint.

descriptionstringOptional

Details about the service for customers and the receptionist; empty string means none.

kindenumOptionalDefaults to classic

Classic = staff-delivered; rental = asset-based; group = multi-participant session.

Allowed values:
buffer_minutesintegerOptional0-1440Defaults to 0

Turnover/cleanup time reserved after each booking. Applies to every service kind; default 0 means no buffer.

service_locationenumOptionalDefaults to business

Where the service is delivered. business = client visits the business location (default); customer = staff travels to the client. Only meaningful for kind='classic'.

Allowed values:
add_onslist of objectsOptional
Optional extras that can be added to a booking of this service.
max_participantsinteger or nullOptional2-200

Capacity for kind='group': how many seats a single session can sell across all registrations. Must be null for classic and rental services (those are always exclusive to one client per booking).

capacityinteger or nullOptional

Not used to limit bookings; set max_participants on group services instead.

is_activebooleanOptionalDefaults to true

Whether the service is offered; inactive services can’t be booked.

any_staff_memberbooleanOptionalDefaults to true

Whether any staff member can deliver the service. When false, only the staff in staff_ids can. Ignored for rentals.

staff_idslist of stringsOptional

Staff assigned to this service; must be empty for kind=‘rental’.

asset_idslist of stringsOptional
Assets, such as rooms or equipment, this service can be booked on.
advance_booking_minutesintegerOptional0-525600Defaults to 1440

How far into the future customer-facing channels (public booking page, voice agent) may book this service. Applies to every kind.

location_idslist of stringsOptional

Locations where this service is offered; empty list means all locations.

display_on_booking_pagebooleanOptionalDefaults to true
Whether the service is listed on the public booking page.
travel_minutesintegerOptional0-480Defaults to 0

Travel time in minutes added before/after appointments for customer-location services. Blocks the staff member’s calendar but is not visible to the customer. Ignored when service_location='business'.

travel_beforebooleanOptionalDefaults to true

Add travel time before the appointment (outbound trip).

travel_afterbooleanOptionalDefaults to true

Add travel time after the appointment (return trip).

promotionslist of objectsOptional

Time-bound discounts applicable to this service or specific variants.

created_at_unixintegerOptional
When this was created, as a Unix timestamp in seconds.
updated_at_unixintegerOptional
When this was last updated, as a Unix timestamp in seconds.

Errors

422
Unprocessable Entity Error