message_data with a template and a whatsapp_id, or the request must send them. The template must exist on that WhatsApp number. You can set campaign_status only to DRAFT, SCHEDULED or RUNNING. A move to SCHEDULED or RUNNING also needs a campaign list and a category, on the campaign or in the same request. RUNNING sends the campaign now. SCHEDULED needs a scheduled_at at least 60 seconds ahead. A SCHEDULED campaign can go back to DRAFT, which cancels the send. A PROCESSING, RUNNING or COMPLETED campaign cannot change, and a FAILED campaign cannot change its status.Authorization: ********************{
"name": "Summer promo (v2)"
}curl --location --request PATCH 'https://api.sudonum.com/v2/campaign/campaigns/123e4567-e89b-12d3-a456-426614174000/' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Summer promo (v2)"
}'{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "Summer promo (v2)",
"message_data": {
"template": {
"name": "summer_promo_v1"
},
"whatsapp_id": "27710000001",
"template_header_url": "https://example.com/media/header.jpg"
},
"campaign_status": "DRAFT",
"scheduled_at": null,
"channel_type": "WHATSAPP",
"category": "PROMOTIONS",
"campaign_list": "9f8e7d6c-5b4a-4321-9876-0fedcba98765",
"campaign_log": {
"uuid": null,
"contact_count": null,
"contact_count_subscribed": null,
"contact_count_unsubscribed": null,
"messages_sent_count": null,
"messages_delivered_count": null,
"messages_failed_count": null,
"modified": null
},
"campaign_list_name": "Summer 2026 subscribers",
"campaign_list_status": {},
"created": "2026-07-20T09:00:00Z",
"modified": "2026-07-20T09:00:00Z"
}