1. RoutingConfigs
Sudonum API
Sudonum
  • Sudonum
  • v2
    • Number
      • :number
        • Single Number
        • Replace Number
        • Release Number
        • Update Number
      • Search
        • Search Numbers to Buy
      • Bulk
        • Replace Numbers in Bulk
        • Buy Numbers in Bulk
        • Update Numbers in Bulk
      • List of Numbers
      • Buy Number
    • Whatsapp
      • Flows
        • :uuid
          • Single Flow
          • Update Flow
          • Preview Flow
          • Not supported.
        • List of Flows
        • Not supported.
      • Accounts
        • :uuid
          • Single WhatsApp Account
          • Partial update a WhatsApp Account
        • List of WhatsApp Accounts
      • ChatIntroLogs
        • :chat_intro_log_uuid
          • Status Logs for a Chat Intro Log
          • Single Status Log for a Chat Intro Log
        • :uuid
          • Single Chat Intro Log
        • List of Chat Intro Logs
      • ChatIntros
        • :uuid
          • Single Chat Intro
          • Replace Chat Intro
          • Delete Chat Intro
          • Update Chat Intro
        • :chat_intro_uuid
          • Chat Intro Logs for a Chat Intro
        • List of Chat Intros
        • Create Chat Intro
        • Submit a batch of chat-intro creates, updates or deletes
        • Per-row results for one bulk job, paginated.
        • List bulk jobs, or read one with its progress
      • MessageTemplates
        • :uuid
          • Single Message Template
        • List of Message Templates
      • Messages
        • :uuid
          • Single WhatsApp Message
        • Send Message
        • All Messages
      • Webhooks
        • :uuid
          • Single WhatsApp Webhook
          • Replace WhatsApp Webhook
          • Update WhatsApp Webhook
          • Delete WhatsApp Webhook
        • List of WhatsApp Webhooks
        • Create WhatsApp Webhook
      • TemplateMedia
        • List of WhatsApp Media
        • Upload WhatsApp Media
      • Lead
        • :number
          • Submit a lead
          • List the leads submitted against a WhatsApp number.
    • RoutingConfigs
      • :uuid
        • Single Routing Config
        • Replace Routing Config
        • Update Routing Config
        • Delete Routing Config
      • List of Routing Configs
        GET
      • Create Routing Config
        POST
    • Audiofiles
      • :name
        • Delete Audio File
      • List of Audio Files
      • Upload Audio File
    • Logs
      • Billable
        • List of Billable Number Logs
      • Raw
        • List of Raw Number Logs
      • VoiceCall
        • List of Voice Call Logs
    • SendSms
      • Bulk
        • Send multiple SMSes
      • Send an SMS
    • Status
      • Sms
        • Status of the SMS Network
      • Voice
        • Status of the Voice Network
    • Webhooks
      • :name
        • Single Webhook
        • Replace Webhook
        • Delete Webhook
        • Update Webhook
      • List of Webhooks
      • Create Webhook
    • Campaign
      • Campaigns
        • :uuid
          • Single Campaign
          • Replace Campaign
          • Update Campaign
          • Delete Campaign
          • Sample CSV for Campaign
          • Upload Contacts to Campaign
        • List of Campaigns
        • Create Campaign
      • Logs
        • :uuid
          • Single Campaign Log
          • Replace Campaign Log
          • Update Campaign Log
          • Delete Campaign Log
          • Opted-out Contacts
        • List of Campaign Logs
        • Create Campaign Log
        • Export Campaign Logs
      • Contacts
        • :uuid
          • Single Contact
          • Replace Contact
          • Update Contact
          • Delete Contact
        • List of Contacts
        • Create Contact
        • Download Contact CSV Sample File
        • Upload Contact CSV
      • CampaignLists
        • :uuid
          • Single Campaign List
          • Replace Campaign List
          • Update Campaign List
          • Delete Campaign List
          • List Contacts under Campaign List
          • Export Contacts under Campaign List
        • List of Campaign Lists
        • Create Campaign List
      • OptOuts
        • :uuid
          • Single Opt-out
          • Replace Opt-out
          • Update Opt-out
          • Single Opt-out/Opt-in Event
        • List of Opt-outs
        • Create Opt-out
        • List of Opt-out/Opt-in Events
    • Sumi
      • Config
        • :uuid
          • Update SUMI Config
          • Single SUMI Config
        • List of SUMI Configs
        • Create SUMI Config
      • Agent
        • :uuid
          • Single SUMI Agent Config
        • List of SUMI Agent Configs
    • AvailableNumbers
      • List of Available Number Prefixes
    • CallDetailRecords
      • List of Call Detail Records
    • Insights
      • Number
        • Number Insights
    • SmsRecords
      • List of SMS Records
    • VoiceCall
      • Start a call
    • Blacklist
      • Number
        • :uuid
          • Single Blacklisted Number
          • Replace Blacklisted Number
          • Update Blacklisted Number
          • Delete Blacklisted Number
        • List of Blacklisted Numbers
        • Create Blacklisted Number
  • v3
    • Sumi
      • Jobs
        • :uuid
          • Retrieve a job
        • Submit a job
        • List Jobs
  • Schemas
    • ErrorDetailResponse
    • WhatsAppAccount
    • BulkChatIntrosPerformActionEnum
    • CreateCampaignRequest
    • JobSubmit
    • PatchedUpdateContactRequest
    • UpdateContactRequest
    • ValidationError
    • CreateContactRequest
    • SumiInsights
    • PatchedUpdateCampaignRequest
    • LeadNumberNotFoundResponse
    • AvailableNumber
    • UpdateCampaignRequest
    • PatchedWhatsAppAccount
    • CreateSMSBulkRequest
    • CreateWebHookRequest
    • ListCampaign
    • DataSource
    • RoutingConfig
    • ActionEnum
    • PaginatedRoutingConfigList
    • ChatIntroLogStatusEnum
    • ListCampaignLog
    • BlankEnum
    • FlowStatus
    • BuyNumberRequest
    • PatchedRoutingConfigRequest
    • CreateAudioFile
    • NetworkStatus
    • CreateMessageRequest
    • CreateSMSRequest
    • MessagePage
    • ListDIDProviderFilter
    • DataSourceTypeEnum
    • OptOutStaffOnlyResponse
    • BillableNumbersLogTable
    • RoutingConfigInUseResponse
    • PaginatedListSudoWorkFlowDataList
    • CreateMediaRequest
    • ListMessage
    • ErrorDetail
    • RoutingConfigRequest
    • SudoWorkFlowData
    • BulkCreateChatIntrosPerformActionEnum
    • FlowCategory
    • BulkCreateChatIntrosRequest
    • ValidationErrorResponse
    • WorkFlowRequest
    • JobCreated
    • MediaMessageUploadRequest
    • CreateOptOutContactLogRequest
    • ListOptOutList
    • ChatIntroBulkLogDetail
    • ListOptOutListRequest
    • ChatIntroBulkAccepted
    • OptOutEvent
    • ChatIntroBulkLogs
    • PatchedListOptOutListRequest
    • BulkDeleteChatIntrosRequest
    • CampaignErrorResponse
    • ListWebHook
    • Flow
    • PaginatedListMessageList
    • BulkUpdateChatIntrosRequest
    • JobList
    • ListBlacklistedNumbers
    • LeadSubmit
    • MessageType
    • FlowList
    • ValidationErrorBody
    • CreateNumberRequest
    • MessageDirection
    • PaginatedListWebHookList
    • FlowUpdate
    • JobDetail
    • LeadPage
    • SUMIAgentConfig
    • ListBlacklistedNumbersRequest
    • MessageStatus
    • ListChatIntroLog
    • FlowPreview
    • PaginatedAudioFileList
    • Detail
    • PatchedUpdateWebHookRequest
    • CampaignUploadResponse
    • PreviewError
    • ErrorsBody
    • PaginatedListDIDProviderFilterList
    • UpdateWebHookRequest
    • PaginatedListBlacklistedNumbersList
    • Error
    • ContactUploadResponse
    • JobCallback
    • DetailBody
    • SMSBulkFailedResponse
    • CreateCampaignListRequest
    • Moments
    • ListNumber
    • PatchedListBlacklistedNumbersRequest
    • NumberLog
    • ExportJobResponse
    • CreateWebhookRequest
    • ListCampaignList
    • ListCampaignLogRequest
    • NumberInUseResponse
    • ListContacts
    • PaginatedListCampaignList
    • PaginatedListCampaignListList
    • SMSBulkSentResponse
    • PaginatedListCampaignLogList
    • MomentsRequest
    • PaginatedListContactsList
    • PaginatedBillableNumbersLogTableList
    • PaginatedListOptOutListList
    • DetailFlow
    • PaginatedListContactListList
    • ChatIntroCreate
    • PaginatedListNumberList
    • PaginatedOptOutEventList
    • ChatwootInbox
    • PatchedListCampaignLogRequest
    • SMSQueuedResponse
    • PatchedUpdateCampaignListRequest
    • PaginatedPipelineContextList
    • PatchedUpdateNumberRequest
    • UpdateCampaignListRequest
    • PaginatedNumberLogList
    • ChannelTypeEnum
    • Destination
    • CampaignStatusEnum
    • CampaignLog
    • Route
    • SearchNumberRequest
    • RoutingDestination
    • PaginatedSUMIAgentConfigList
    • UpdateNumberRequest
    • RoutingDestinationTypeEnum
    • PaginatedVoiceCallLogList
    • RoutingConditions
    • FlowPreviewErrorResponse
    • RoutingTimeOfDay
    • RoutingWeekdayEnum
    • RoutingFallbackTriggerEnum
    • ChatIntroBulkInFlightResponse
    • RouteRequest
    • PatchedPipelineContextRequest
    • RoutingDestinationRequest
    • FlowPreviewResponse
    • RoutingConditionsRequest
    • RoutingTimeOfDayRequest
    • TextMessageRequest
    • TextMessageTypeEnum
    • PipelineContext
    • TemplateMessageRequest
    • VoiceCallLog
    • TemplateMessageTypeEnum
    • ListAccount
    • InteractiveMessageRequest
    • InteractiveMessageTypeEnum
    • MediaMessageRequest
    • CreateMediaTypeEnum
    • ChatIntroBulkItemResult
    • ContactsMessageRequest
    • PipelineContextRequest
    • ContactsMessageTypeEnum
    • LocationMessageRequest
    • MessageLocationRequest
    • LocationMessageTypeEnum
    • ReactionMessageRequest
    • ListSudoWorkFlowData
    • ProviderEnum
    • MessageReactionRequest
    • ListChatIntroLogStatusLog
    • ReactionMessageTypeEnum
    • Message
    • Type72aEnum
    • DirectionEnum
    • ListFlow
    • CampaignCategoryEnum
    • OriginEnum
    • OptOutCategoryEnum
    • JobStatus
    • ListMedia
    • Enquirer
    • ReplyAlt
    • Listing
    • TranscriptSegment
    • ListMediaTypeEnum
    • ReportCard
    • TimeOfDay
    • MomentMatches
    • LeadRecord
    • ListContactList
    • ListMessageTemplate
    • CreateChatIntroRequest
    • ListMessageTemplateTypeEnum
    • ListWebhook
    • BulkChatIntrosRequest
    • CreateSpecificNumberRequest
    • ListChatIntro
    • PaginatedListAccountList
    • PaginatedListChatIntroLogStatusLogList
    • PaginatedListFlowList
    • PaginatedListChatIntroList
    • PaginatedListMediaList
    • PaginatedListChatIntroLogList
    • PaginatedListMessageTemplateList
    • CreateCampaign
    • PatchedUpdateChatIntroRequest
    • PaginatedListWebhookList
    • ReplyType72aEnum
    • PatchedUpdateFlowRequest
    • ReplyTypeBa7Enum
    • ChannelsEnum
    • PatchedUpdateWebhookRequest
    • UpdateCampaign
    • UpdateChatIntroRequest
    • UpdateWebhookRequest
    • WebhookTypeEnum
    • ChatIntro
    • RouteConditions
    • BulkDeleteChatIntrosPerformActionEnum
    • AudioFile
    • CampaignListContactUploadRequest
    • NumberSIPAgentStatusEnum
    • RouteFallback
    • CountryCodeIsoEnum
    • PrefixTypeEnum
    • BulkUpdateChatIntrosPerformActionEnum
    • RoutingConfigWrite
    • RoutingConfigPatch
    • ChatIntroBulkItem
    • ContactUploadRequest
    • ChatIntroBulkItemStatusEnum
    • RoutingConfigValidationErrorBody
    • ResourcesExistBody
    • ChatIntroBulkLogResult
    • CreateCampaignList
    • ChatIntroBulkRequest
    • PaginatedChatIntroBulkItemList
    • CreateContact
    • PaginatedChatIntroBulkLogs
    • CreateOptOutContactLog
    • ListContactsRequest
    • NullEnum
    • PatchedListContactsRequest
    • UpdateCampaignList
    • MessageTemplate
    • MessageContent
    • MessageContacts
    • MessageText
    • MessageLocation
    • MessageReaction
  1. RoutingConfigs

Create Routing Config

POST
https://api.sudonum.com/v2/routing-configs/
Creates one routing config on your organisation. Route calls statically with routes and default_destination, or set live_route to have your own endpoint decide for each call.
Name. name must be unique within your organisation. A duplicate is rejected with a 400.
Routes. 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.
Destinations. A destination is 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. 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. fallback catches a failed leg. It needs on and destination. timeout_seconds is optional and runs from 5 to 120.
Default destination. default_destination is used when no route matches. It takes the same shape as a route destination.
Required field is name.

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Body Params application/jsonRequired

Examples
{
    "name": "Placeholder config"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://api.sudonum.com/v2/routing-configs/' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "name": "Placeholder config"
}'

Responses

🟢201Created
application/json
Created
Bodyapplication/json

Examples
{
    "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"
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
Modified at 2026-10-16 09:03:52
Previous
List of Routing Configs
Next
Delete Audio File
Built with