Skip to main content
POST
Create appointment service

Path Parameters

accountId
integer
required

HueChat account ID

Body

application/json

Appointment service/type

buffer_after_minutes
integer
Required range: 0 <= x <= 720
buffer_before_minutes
integer
Required range: 0 <= x <= 720
color
string
Example:

"#5CB198"

currency
string
Required string length: 3
Example:

"SAR"

description
string
duration_minutes
integer
Required range: 5 <= x <= 1440
Example:

30

name
string
Required string length: 1 - 160
Example:

"Initial consultation"

position
integer
Example:

1

price
number
Required range: x >= 0
Example:

250

Response

OK

account_id
integer
Example:

3

buffer_after_minutes
integer
buffer_before_minutes
integer
color
string
created_at
string<date-time>
currency
string
description
string
duration_minutes
integer
id
string<uuid>
is_active
boolean
metadata
object
name
string
position
integer
price
number
updated_at
string<date-time>