DescriptionEXACT, CONTAINS, STARTS_WITH (literal keywords after Arabic normalisation: أ/إ/آ → ا, ى → ي, ة → ه, diacritics removed) or REGEX (RE2 patterns in trigger.patterns). Any case is accepted (regex, starts_with); trigger.matchType is an alias.
trigger.keywordsoptional
Typestring[]
Constraints≤ 50 items
DescriptionUp to 50 keywords for EXACT / CONTAINS / STARTS_WITH rules.
trigger.patternsoptional
Typestring[]
Constraints1–10 items
DescriptionREGEX rules: 1–10 RE2 patterns, ≤ 200 characters each; any match fires the rule. Linear time — no lookarounds or backreferences. Captures go into the reply as {1}, {2} or {groupName}.
DescriptionKeep link-like captures (URLs, domains, wa.me / t.me) in the reply (default false: always removed, so a customer can’t make your number send a link of their choice).
Besides the authentication, rate-limit and validation errors every endpoint can return:
404 · NUMBER_NOT_FOUND — Number not found in this account.
Check numberId (GET /v2/numbers).
Correct the cause before repeating the request.
HTTP 404 · application/json
{
"error": {
"code": "NUMBER_NOT_FOUND",
"message": "Number not found in this account.",
"docsUrl": "https://mursilat.com/developers/v2/errors#NUMBER_NOT_FOUND",
"requestId": "req_6604bedc8c489f20e582691a"
}
}
404 · AUTO_REPLY_NOT_FOUND — Rule not found on this number.
Check ids.
Correct the cause before repeating the request.
HTTP 404 · application/json
{
"error": {
"code": "AUTO_REPLY_NOT_FOUND",
"message": "Rule not found on this number.",
"docsUrl": "https://mursilat.com/developers/v2/errors#AUTO_REPLY_NOT_FOUND",
"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"
}
}