Customers
Update Customer Communication Settings
PATCH
Updates the communication settings for a customer, e.g. auto-voicemail or static call routing.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
autoVoicemailCalls*booleanWhen enabled, inbound calls from this customer's phone number are rejected by the Voys call plan (NAK) so they end up in voicemail.
staticCallDestination*|Voys account number, internal extension, or phone number. Inbound calls from this customer's phone are routed here. Null disables static routing.
OK
application/json- response
autoVoicemailCalls*booleanWhen enabled, inbound calls from this customer's phone number are rejected by the Voys call plan (NAK) so they end up in voicemail.
staticCallDestination*|Voys account number, internal extension, or phone number. Inbound calls from this customer's phone are routed here. Null disables static routing.
curl -X PATCH 'https://api.tillor.eu/orgs/string/customers/string/communication-settings' \ -H 'Content-Type: application/json' \ -d '{ "autoVoicemailCalls": true, "staticCallDestination": "string"}'{ "autoVoicemailCalls": true, "staticCallDestination": "string"}