1. :uuid
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
          • All Messages from Campaign Log
          • Send Contact
          • Send Text Message
          • Send Media Message
          • Send Location Message
          • Send Reaction Message
        • 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
      • Campaigns
        • Campaigns
          • :uuid
            • Single Campaign
              GET
            • Replace Campaign
              PUT
            • Update Campaign
              PATCH
            • Delete Campaign
              DELETE
            • Sample CSV for Campaign
              GET
            • Upload Contacts to Campaign
              POST
          • List of Campaigns
            GET
          • Create Campaign
            POST
        • 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. :uuid

Upload Contacts to Campaign

POST
https://api.sudonum.com.com/v2/campaign/campaigns/{uuid}/upload_csv/

Prerequisites#

Campaign has a template object
Campaign has a whatsapp_id
Uploads the CSV produced by Sample CSV for Campaign, populated with your
recipients, to attach contacts to this campaign. Returns 409 Conflict if the
campaign is already processing an upload.

Request

Path Params

Body Params multipart/form-dataRequired

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/campaign/campaigns/123e4567-e89b-12d3-a456-426614174000/upload_csv/' \
--form 'uploaded_file=@""'

Responses

🟢200
application/json
OK
Bodyapplication/json

Example
{
    "status": "string"
}
🟠400
🟠409
🔴502
Modified at 2026-08-31 07:42:46
Previous
Sample CSV for Campaign
Next
List of Campaigns
Built with