User
Update current user properties.
Update current user properties.
post/user
Request
- Base URLhttps://HOSTNAME:8887/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"email": "example@example.com",
"outbound_caller_ids": [
{
"provider_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}
],
"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"
}
]
}
},
"custom_forward_rules": [
{
"hours": {
"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"
}
]
}
}
}
],
"voicemail_prompt": "en-US",
"avatar_file_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.