Scheduling is available on request and is off by default: until it is enabled for you, a request with scheduleAt answers 422 SCHEDULING_DISABLED. A scheduled message is the only message content Mursilat keeps at rest (encrypted, at most 30 days), so it stays off unless you ask support to enable it. Sending now (without scheduleAt) always works.
Available on request: scheduling is off by default (422 SCHEDULING_DISABLED) because a scheduled message is the only content Mursilat keeps at rest — encrypted, at most 30 days, deleted once it leaves. Ask support to enable it. Cancel with DELETE /v2/messages/{id}.
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.
Body
Name
Type
Constraints
Description
numberIdrequired
Typestring
Constraints—
DescriptionNumber to act on (id from GET /v2/numbers). A key restricted to some numbers can use only those.
torequired
Typestring
Constraints—
DescriptionRecipient: international digits without + or leading zeros (e.g. 201001234567, 966501234567).
typerequired
Typestring
Constraints—
DescriptionMessage type: text, image, video, audio, voice, document, sticker, location, contact, buttons, list, cta_url. Each type has its own fields — see the table below.
textoptional
Typestring
Constraints—
DescriptionMessage text. WhatsApp formatting passes through (*bold*, _italic_, ~strike~).
referenceoptional
Typestring
Constraints≤ 128 chars
DescriptionYour own id (order number, ticket…). Echoed in message.status / interactive.reply webhooks and filterable in GET /v2/messages.
scheduleAtoptional
Typestring (date-time)
Constraints—
DescriptionISO 8601 time 1 minute – 30 days ahead. Available on request (otherwise 422 SCHEDULING_DISABLED).
409 · IDEMPOTENCY_KEY_REUSED — This Idempotency-Key was used with a different request.
Use a new key for a new request.
Correct the cause before repeating the request.
HTTP 409 · application/json
{
"error": {
"code": "IDEMPOTENCY_KEY_REUSED",
"message": "This Idempotency-Key was used with a different request.",
"docsUrl": "https://mursilat.com/developers/v2/errors#IDEMPOTENCY_KEY_REUSED",
"requestId": "req_6604bedc8c489f20e582691a"
}
}
409 · IDEMPOTENCY_IN_PROGRESS — The first request with this key is still running.
Retry in a few seconds.
Retry after addressing the cause.
HTTP 409 · application/json
{
"error": {
"code": "IDEMPOTENCY_IN_PROGRESS",
"message": "The first request with this key is still running.",
"docsUrl": "https://mursilat.com/developers/v2/errors#IDEMPOTENCY_IN_PROGRESS",
"requestId": "req_6604bedc8c489f20e582691a"
}
}
403 · SCOPE_REQUIRED — The key lacks the scope of this endpoint.
Add the scope in details.required to the key.
Correct the cause before repeating the request.
HTTP 403 · application/json
{
"error": {
"code": "SCOPE_REQUIRED",
"message": "The key lacks the scope of this endpoint.",
"docsUrl": "https://mursilat.com/developers/v2/errors#SCOPE_REQUIRED",
"requestId": "req_6604bedc8c489f20e582691a"
}
}
Copy the key again from Settings → API keys (it is shown only once; create a new one if lost).
Correct the cause before repeating the request.
HTTP 401 · application/json
{
"error": {
"code": "API_KEY_INVALID",
"message": "The API key is not valid.",
"docsUrl": "https://mursilat.com/developers/v2/errors#API_KEY_INVALID",
"requestId": "req_6604bedc8c489f20e582691a"
}
}
At send time the usual rules apply (opt-outs, content rules, Meta’s 24-hour window). Retryable refusals (a paused or disconnected number) reschedule for up to 24 h; others fail with a message.status: failed webhook.