Skip to main content
POST
Create appointment resource

Path Parameters

accountId
integer
required

HueChat account ID

Body

application/json

Appointment resource

color
string
Example:

"#6C5CE7"

description
string
Example:

"Dermatology consultant"

name
string
Required string length: 1 - 160
Example:

"Dr. Sara"

position
integer
Example:

1

resource_type
string
Required string length: 1 - 80
Example:

"Doctor"

timezone
string
Example:

"Asia/Riyadh"

Response

OK

account_id
integer
Example:

3

color
string
created_at
string<date-time>
description
string
id
string<uuid>
is_active
boolean
metadata
object
name
string
position
integer
resource_type
string
timezone
string
updated_at
string<date-time>