Campaigns (bulk)
Resume
/v2/campaigns/{campaignId}/resume- Scope:
campaigns:write - Idempotency-Key:optional
- sends messages
Platform / safety pauses cannot be lifted by you; time-boxed ones resume after they end.
Parameters
Path
| Name | Type | Constraints | Description |
|---|---|---|---|
campaignIdrequired | Typestring | Constraints— | DescriptionCampaign id. |
Headers
| Name | Type | Constraints | Description |
|---|---|---|---|
Idempotency-Keyoptional | Typestring | Constraints≤ 191 chars | DescriptionYour unique id for this operation (≤ 191 visible ASCII). A retry with the same key and body returns the first answer with Idempotent-Replayed: true — it never runs twice. Kept 24 h. |
X-Request-Idoptional | Typestring | Constraints— | DescriptionOptional: your own request id, echoed back (otherwise we generate req_…). Quote it to support. |
Request
curl -X POST "https://mursilat.com/api/v2/campaigns/cm2camp0001xyz/resume" \
-H "Authorization: Bearer $WASLA_API_KEY" \
-H "Idempotency-Key: order-1042-confirm"const res = await fetch('https://mursilat.com/api/v2/campaigns/cm2camp0001xyz/resume', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.WASLA_API_KEY}`,
'Idempotency-Key': 'order-1042-confirm',
},
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data);import os
import requests
headers = {"Authorization": f"Bearer {os.environ['WASLA_API_KEY']}", "Idempotency-Key": "order-1042-confirm"}
res = requests.post(
"https://mursilat.com/api/v2/campaigns/cm2camp0001xyz/resume",
headers=headers,
timeout=30,
)
data = res.json()
if not res.ok:
raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
print(data)<?php
$ch = curl_init('https://mursilat.com/api/v2/campaigns/cm2camp0001xyz/resume');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('WASLA_API_KEY'),
'Idempotency-Key: order-1042-confirm',
],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($status >= 400) { throw new Exception($data['error']['code'] . ': ' . $data['error']['message']); }
print_r($data);Response
200Example
{
"id": "cm2camp0001xyz",
"numberId": "cm1abcd2345efgh6789ijkl",
"name": "عرض الجمعة",
"status": "running",
"contentType": "cta_url",
"createdVia": "api",
"speed": "SAFE",
"scheduledAt": null,
"startedAt": "2026-10-13T09:00:00.000Z",
"pausedAt": null,
"completedAt": null,
"pause": null,
"progress": {
"total": 500,
"queued": 380,
"sent": 120,
"delivered": 115,
"read": 70,
"replied": 9,
"failed": 0,
"skipped": 3,
"optOuts": 1,
"percent": 24
},
"replies": null,
"eta": {
"remaining": 380,
"perDayCap": 200,
"remainingToday": 80,
"estimatedMinutesToday": 34,
"extraDays": 2,
"note": "Estimate from the number warm-up caps and pacing."
},
"purged": false,
"purgedAt": null,
"createdAt": "2026-10-13T08:55:00.000Z",
"updatedAt": "2026-10-13T09:30:00.000Z"
}Response schema
Fields of the example answer. Expand objects and arrays.
responseobject19 fields
- idstring "cm2camp0001xyz"
- numberIdstring "cm1abcd2345efgh6789ijkl"
- namestring "عرض الجمعة"
- statusstring "running"
- contentTypestring "cta_url"
- createdViastring "api"
- speedstring "SAFE"
- scheduledAtnull null
- startedAtstring "2026-10-13T09:00:00.000Z"
- pausedAtnull null
- completedAtnull null
- pausenull null
progressobject10 fields
- totalinteger 500
- queuedinteger 380
- sentinteger 120
- deliveredinteger 115
- readinteger 70
- repliedinteger 9
- failedinteger 0
- skippedinteger 3
- optOutsinteger 1
- percentinteger 24
- repliesnull null
etaobject6 fields
- remaininginteger 380
- perDayCapinteger 200
- remainingTodayinteger 80
- estimatedMinutesTodayinteger 34
- extraDaysinteger 2
- notestring "Estimate from the number warm-up caps and pacing."
- purgedboolean false
- purgedAtnull null
- createdAtstring "2026-10-13T08:55:00.000Z"
- updatedAtstring "2026-10-13T09:30:00.000Z"
Errors
Besides the authentication, rate-limit and validation errors every endpoint can return:
- 409CAMPAIGN_RESUME_BLOCKEDThe platform paused this campaign; you cannot resume it.
Number Shield & behaviour
It pauses the campaign by itself on low delivery (< 80 % over the last hour), many opt-outs (> 3 per 100) or a WhatsApp rate limit — 1 hour, then 24 hours. You get campaign.status with the reason; platform pauses can’t be lifted early (CAMPAIGN_RESUME_BLOCKED).
Try it
Send this request from your browser to the Mursilat API.
documented examplePreview — this copy of the docs isn’t on mursilat.com, so the console shows the documented example instead of calling the API.
Kept only in this tab’s memory: never saved, never put in the URL, sent only to mursilat.com. Reloading the page forgets it.