Inbound Rule
Create an inbound rule
Add a new inbound rule. Please make sure you have at least one provider created before creating a new inbound rule.
post/inbound_rules
Request body
Example request
{
"office_hours": {
"mode": "CUSTOM",
"monday": {
"ranges": [
{
"from": "09:00",
"to": "17:00"
}
]
},
"tuesday": {
"ranges": [
{
"from": "09:00",
"to": "17:00"
}
]
},
"wednesday": {
"ranges": [
{
"from": "09:00",
"to": "17:00"
}
]
},
"thursday": {
"ranges": [
{
"from": "09:00",
"to": "17:00"
}
]
},
"friday": {
"ranges": [
{
"from": "09:00",
"to": "17:00"
}
]
},
"saturday": {
"ranges": [
{
"from": "09:00",
"to": "17:00"
}
]
},
"sunday": {
"ranges": [
{
"from": "09:00",
"to": "17:00"
}
]
}
},
"holidays": [
"NzAwNTUxOTA5NzczMTQ4MTYw"
],
"provider_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}Response
Created
Example response
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}