routes and default_destination, or set live_route to have your own endpoint decide for each call.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.Authorization: ********************{
"name": "Placeholder config"
}curl --location 'https://api.sudonum.com/v2/routing-configs/' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Placeholder config"
}'{
"uuid": "9f8e7d6c-5b4a-4321-9876-0fedcba98765",
"name": "Placeholder config",
"timezone": "UTC",
"country": "",
"routes": [],
"default_destination": null,
"live_route": null,
"created": "2026-07-20T09:00:00Z",
"modified": "2026-07-20T09:00:00Z"
}