1. :number
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
            POST
          • List the leads submitted against a WhatsApp number.
            GET
    • RoutingConfigs
      • :uuid
        • Single Routing Config
        • Replace Routing Config
        • Update Routing Config
        • Delete Routing Config
      • List of Routing Configs
      • Create Routing Config
    • 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. :number

Submit a lead

POST
https://api.sudonum.com/v2/whatsapp/lead/{number}/
Accepts one lead and queues it for processing.
The listing reference_id must match a chat intro on this WhatsApp number. The
enquirer must carry a name and at least one of enquirer_phone_number or
enquirer_email_address. A phone number selects the WhatsApp path; an email address
alone selects the email path.
notify_delay and reply_delay override the delays the chat intro configures for
this lead only. reply_delay holds back the message to the enquirer. notify_delay
holds back the notification to the agent. When both legs carry the same delay, the
enquirer is always messaged first.
The response echoes the accepted lead under data. The echo is the stored payload,
so it carries the values the API resolved: listing.url is filled in from
extra_variable_data.Link or the chat intro when the request left it out, and a
validated a-party template override appears as aparty_notify_data.

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Path Params

Body Params application/jsonRequired

Examples
{
    "enquirer": {
        "enquirer_name": "Joe Doe",
        "enquirer_phone_number": "27820000000"
    },
    "listing": {
        "url": "www.link.to.listing",
        "reference_id": "REF-0001"
    }
}

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/whatsapp/lead//' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "enquirer": {
        "enquirer_name": "Joe Doe",
        "enquirer_phone_number": "27820000000"
    },
    "listing": {
        "url": "www.link.to.listing",
        "reference_id": "REF-0001"
    }
}'

Responses

🟢202
application/json
Accepted
Bodyapplication/json

Examples
{
    "uuid": "9f8e7d6c-5b4a-4321-9876-0fedcba98765",
    "data": {
        "enquirer": {
            "enquirer_name": "Joe Doe",
            "enquirer_phone_number": "27820000000"
        },
        "listing": {
            "url": "www.link.to.listing",
            "reference_id": "REF-0001"
        }
    },
    "whatsapp_number": "27710000001",
    "created": "2026-07-20T09:00:00Z"
}
🟠400
🟠401
🟠403
🟠404
🟠429
Modified at 2026-10-22 07:56:10
Previous
Upload WhatsApp Media
Next
List the leads submitted against a WhatsApp number.
Built with