1. messages
Sudonum API
  • Sudonum
    • v2
      • audiofiles
        • Get a list of your uploaded audio files (MP3)
        • Upload an audio file
        • Delete an uploaded MP3 audio file
      • logs
        • Get your billable number logs
        • Get your raw number logs
        • Get your voice-call logs
      • number
        • search
          • Search for Sudonum
        • bulk
          • Update Sudonums in bulk
          • Create Sudonums in bulk
          • Partial update Sudonums in bulk
        • {number}
          • Return the details for a Sudonum
          • Update a Sudonum
          • Delete a Sudonum
          • Partial update a Sudonum
        • Return all active Sudonum numbers
        • Buy a number
      • send-sms
        • Send an SMS
        • Send multiple SMSes.
      • status
        • Get the current status of the SMS Network
        • Get the current status of the Voice Network
      • webhooks
        • {name}
          • Return the details for a webhook
          • Update a webhook
          • Delete a webhook
          • Partially update a webhook
        • Get a list of your webhooks
        • Create a webhook
      • Whatsapp
        • accounts
          • WhatsApp Accounts
          • Single WhatsApp Account
        • chat-intro-logs
          • {chat intro log uuid}/status-logs
            • All status change logs for a Chat Intro Log
            • Status change log for a Chat Intro Log
          • All Chat Intro Logs
          • Single Chat Intro Log
        • chat-intros
          • {uuid}
            • Single Chat Intro
            • Update Chat Intro
            • Delete Chat Intro
            • Partially update Chat Intro
            • Partially update Chat Intro (application/json)
          • reply components
            • Interactive Flow Reply
            • Text Reply (Default)
            • Image Reply
            • Interactive Reply CTA
            • Interactive List Reply
            • Interactive Quick Reply
          • alternative reply components
            • Text Reply
            • Image Reply
            • Interactive Quick Reply
          • aparty connect
            • Interactive CTA Reply
            • Aparty Template
            • Text Reply
          • aparty components
            • Aparty notify Flow template
            • Aparty Template Components
            • Aparty Template Components + Aparty connect
          • Create a chat intro.
          • All Chat Intros
          • Create Chat Intro
          • Chat Intro Logs for a Chat Intro
        • message-templates
          • All WhatsApp Message Templates
          • WhatsApp Message Template
        • messages
          • {uuid}
            • Single WhatsApp Message
          • interactive messages
            • Interactive Flow Message - flow_id
            • Interactive Flow Message - flow_name
            • Send Interactive List Message
            • Send Interactive Quick Reply Message
            • Send Interactive Quick Reply Message + Media Header
            • Send Interactive Call-To-Action Message
            • Send Interactive Location Request Message
          • templates messages
            • Send Flow Template (custom token)
            • Send Flow Template (no params)
            • Send Message
            • Send Template (no body)
            • Send Template (body + url button)
            • Send Template (header IMAGE + body)
            • Send Template (header VIDEO + body)
            • Send Template (header TEXT + body)
            • Send Template (header LOCATION + body + button)
            • Send Template (Quick Reply with payload )
            • Send LTO Coupon Template (no expiry date)
            • Send LTO Coupon (WITH expiry date)
            • Send Carousel Message Template
            • Send OTP Template
            • Send Coupon Template
          • All Messages
            GET
          • All Messages from Campaign Log
            GET
          • Send Contact
            POST
          • Send Text Message
            POST
          • Send Media Message
            POST
          • Send Location Message
            POST
          • Send Reaction Message
            POST
        • webhooks
          • {uuid}
            • Single WhatsApp Webhook
            • Update a Webhook
            • Delete a Webhook
            • Partially update Webhook
          • All Webhooks
          • Create Webhook
        • template media
          • Upload Whatsapp Media
          • All Whatsapp Media
        • Flows
          • {uuid}
            • Retrieve a single flow.
            • Update a flow's name, status or category.
            • Not supported.
            • Fetch Meta's preview URL for a flow.
          • List the flows on your organisation's WABAs.
          • Not supported.
        • Leads
          • Submit WhatsApp number.
          • List the leads submitted against a WhatsApp number.
        • Start a chat intro
          POST
      • Campaigns
        • Campaigns
          • :uuid
            • Single Campaign
            • Replace Campaign
            • Update Campaign
            • Delete Campaign
            • Sample CSV for Campaign
            • Upload Contacts to Campaign
          • List of Campaigns
          • Create Campaign
        • 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
          • Download Contact CSV sample file
        • Lists
          • :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
        • Opt-outs
          • :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 Insights Config
        • /{uuid}
          • Edit Sumi Config
          • Get Sumi Config
        • Get Sumi Configs
        • Create Sumi Config
      • Sumi Agent Config
        • {uuid}
          • Config
        • All Configs
      • RoutingConfigs
        • List RoutingConfigs
        • Create a RoutingConfig
        • Retrieve a RoutingConfig
        • Replace a RoutingConfig
        • Update a RoutingConfig
        • Delete a RoutingConfig
      • Get an authentication token
        POST
      • Number prefixes available on your account
        GET
      • Call detail records
        GET
      • Number capabilities
        GET
      • Voice feature list
        GET
      • Number insights
        GET
      • SMS records
        GET
      • Start a call
        POST
      • Webhook types
        GET
    • v3
      • sumi
        • jobs
          • {uuid}
            • Retrieve a job
          • List Jobs
          • Submit a job
    • Schemas
      • JobSubmit
      • FlowStatus
      • MessagePage
      • Enquirer
      • ChatIntroCreate
      • Destination
      • BlankEnum
      • CampaignCategoryEnum
      • JobCreated
      • FlowCategory
      • Listing
      • ReplyAlt
      • TimeOfDay
      • CreateOptOutContactLogRequest
      • CreateCampaign
      • Message
      • PatchedListOptOutListRequest
      • OptOutEvent
      • ListOptOutListRequest
      • CreateCampaignRequest
      • PatchedUpdateCampaignRequest
      • UpdateCampaign
      • UpdateCampaignRequest
      • ListCampaign
      • ListOptOutList
      • ChatIntro
      • RouteConditions
      • Flow
      • CampaignErrorResponse
      • JobList
      • LeadSubmit
      • CampaignListContactUploadRequest
      • FlowList
      • MessageType
      • LeadRecord
      • RouteFallback
      • JobStatus
      • LeadPage
      • CampaignLog
      • MessageDirection
      • DetailBody
      • Route
      • FlowUpdate
      • JobDetail
      • TranscriptSegment
      • FlowPreview
      • MessageStatus
      • RoutingConfigWrite
      • CampaignStatusEnum
      • SumiInsights
      • PreviewError
      • RoutingConfigPatch
      • CampaignUploadResponse
      • ErrorsBody
      • MomentMatches
      • Detail
      • RoutingConfig
      • ChannelTypeEnum
      • Error
      • ContactUploadRequest
      • ValidationError
      • ReportCard
      • PaginatedRoutingConfigList
      • ContactUploadResponse
      • JobCallback
      • ValidationErrorBody
      • ResourcesExistBody
      • DetailBody
      • CreateCampaignList
      • CreateCampaignListRequest
      • CreateContact
      • CreateContactRequest
      • ValidationErrorBody
      • CreateOptOutContactLog
      • ExportJobResponse
      • ListCampaignList
      • ListCampaignLog
      • ListCampaignLogRequest
      • ListContactList
      • ListContacts
      • ListContactsRequest
      • NullEnum
      • OptOutCategoryEnum
      • OriginEnum
      • PaginatedListCampaignList
      • PaginatedListCampaignListList
      • PaginatedListCampaignLogList
      • PaginatedListContactsList
      • PaginatedListOptOutListList
      • PaginatedListContactListList
      • PaginatedOptOutEventList
      • PatchedListCampaignLogRequest
      • PatchedListContactsRequest
      • PatchedUpdateCampaignListRequest
      • UpdateCampaignList
      • UpdateCampaignListRequest
  1. messages

All Messages

GET
https://api.sudonum.com.com/v2/whatsapp/messages/
Returns one page of messages, newest first, scoped to the caller's org.
Pagination is link-driven. The response carries no count. Walk next until it is null; there is no total from which to compute ceil(count / page_size). Use the next value as given rather than incrementing page yourself.
page is bounded from above. The offset ((page - 1) * page_size) may not exceed 2,000,000. Beyond that the request is refused with 404 rather than scanning to that depth for an empty answer. next is withheld at the same boundary, so following links can never walk a client into that 404.
Date window. from_date / to_date may span at most 60 days. Supply one and the other is derived 60 days away from it. A client that needs to read deeper than the offset cap narrows this window rather than paging further.

Request

Query Params

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 --location 'https://api.sudonum.com.com/v2/whatsapp/messages/?page=1&page_size=200&from_date=2026-07-01T00%3A00%3A00Z&to_date=2026-08-28T23%3A59%3A59Z&status=DELIVERED&type=TEXT&direction=INBOUND&from_whatsapp_number=27833052562&to_whatsapp_number=27104773424&campaign_log_uuid=b2b3a1de-7c44-4f0a-9e63-1f0d5c8a2b19&context_data=chat_intro_log_uuid'

Responses

🟢200OK
application/json
One page of messages. Note the absence of count — see MessagePage.
Bodyapplication/json

Examples
{
    "next": "https://api.sudonum.com/v2/whatsapp/messages/?page=2&page_size=2",
    "previous": null,
    "results": [
        {
            "uuid": "6f5e33df-e179-4108-9fc9-533af53caea5",
            "type": "TEXT",
            "status": "DELIVERED",
            "status_description": "",
            "whatsapp_number": "27104773424",
            "direction": "INBOUND",
            "from_whatsapp_number": "27833052562",
            "from_bsuid": null,
            "to_whatsapp_number": "27104773424",
            "to_bsuid": null,
            "message_data": {
                "text": "Hello, World!"
            },
            "meta_data": {},
            "context_data": {},
            "campaign_log_uuid": null,
            "is_coexistence": false,
            "is_history": false,
            "created": "2026-08-28T08:25:47.559162Z",
            "modified": "2026-08-28T08:25:47.559267Z"
        },
        {
            "uuid": "f7bd1b18-4541-4782-a4a0-8fc4f19796c6",
            "type": "IMAGE",
            "status": "READ",
            "status_description": "read",
            "whatsapp_number": "27104773424",
            "direction": "INBOUND",
            "from_whatsapp_number": "27833052562",
            "from_bsuid": null,
            "to_whatsapp_number": "27104773424",
            "to_bsuid": null,
            "message_data": {
                "url": "https://api.sudonum.com/v2/whatsapp/media/8c1f0e14-2a77-4d3e-9f1b-6a2c5d0e7b43/",
                "caption": "a caption",
                "mime_type": "image/jpeg"
            },
            "meta_data": {},
            "context_data": {},
            "campaign_log_uuid": null,
            "is_coexistence": false,
            "is_history": false,
            "created": "2026-08-28T08:25:47.557894Z",
            "modified": "2026-08-28T08:25:47.557943Z"
        }
    ]
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠429Too Many Requests
Modified at 2026-08-31 10:06:33
Previous
Send Coupon Template
Next
All Messages from Campaign Log
Built with