name must be unique within your organisation. A duplicate is rejected with a 400.routes is a list. Every route needs an integer priority and a destination. Priorities must be unique across the list. A lower priority number is tried first.phone or voice_agent. A phone destination needs number in digits only — a leading + is rejected. The number must be a real, dial-able E.164 number; the API normalises it and stores the digits-only form. A voice_agent destination needs agent_config, the UUID of a SUMI agent config on your organisation.conditions decides when a route applies. time_of_day takes days, start and end. public_holiday is a boolean and needs country to be set on the config.fallback catches a failed leg. It needs on and destination. timeout_seconds is optional and runs from 5 to 120.default_destination is used when no route matches. It takes the same shape as a route destination.{
"name": "Cape Town office hours",
"timezone": "Africa/Johannesburg",
"country": "ZA",
"routes": [
{
"priority": 1,
"conditions": {
"time_of_day": {
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"start": "08:00",
"end": "17:00"
}
},
"destination": {
"type": "phone",
"number": "27821234567"
},
"fallback": {
"on": [
"busy",
"no_answer"
],
"timeout_seconds": 30,
"destination": {
"type": "phone",
"number": "27821234568"
}
}
}
],
"default_destination": {
"type": "phone",
"number": "27821234569"
}
}curl --location 'https://api.sudonum.com.com/v2/routing-configs/' \
--header 'Content-Type: application/json' \
--data '{
"name": "Cape Town office hours",
"timezone": "Africa/Johannesburg",
"country": "ZA",
"routes": [
{
"priority": 1,
"conditions": {
"time_of_day": {
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"start": "08:00",
"end": "17:00"
}
},
"destination": {
"type": "phone",
"number": "27821234567"
},
"fallback": {
"on": [
"busy",
"no_answer"
],
"timeout_seconds": 30,
"destination": {
"type": "phone",
"number": "27821234568"
}
}
}
],
"default_destination": {
"type": "phone",
"number": "27821234569"
}
}'{
"uuid": "3f1c8a20-0000-4c00-8a00-2d3e4f5a6b7c",
"name": "Cape Town office hours",
"timezone": "Africa/Johannesburg",
"country": "ZA",
"routes": [
{
"priority": 1,
"conditions": {
"time_of_day": {
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"start": "08:00",
"end": "17:00"
}
},
"destination": {
"type": "phone",
"number": "27821234567"
},
"fallback": {
"on": [
"busy",
"no_answer"
],
"timeout_seconds": 30,
"destination": {
"type": "phone",
"number": "27821234568"
}
}
}
],
"default_destination": {
"type": "phone",
"number": "27821234569"
},
"created": "2026-08-20T09:14:52.418000Z",
"modified": "2026-08-20T09:14:52.418000Z"
}