Status Message
Webhook
This will be triggered every time you deliver a message, with the message status information (event "status").
You need to set the webhook URL within the 99 Digital dashboard. How the webhooks are delivered is explained on Webhook.
Settings:
| Setting | Value |
|---|---|
| URL | Your URL |
| Method | JSON via POST |
With every outgoing message you send, you will receive the following back:
{
"event": "status",
"status": 1,
"date": "26/08/26 09:45:47",
"he_message": "נמסר",
"en_message": "delivered",
"from": "972535355499",
"to": "0507139996",
"operator": "Pelephone",
"unique": 3683442114
}
Response explained:
| Parameter | Description / Example |
|---|---|
event | "status" always. |
status | The status code (int) — see the table below. |
date | The time when this message arrived or failed to arrive. |
he_message | Hebrew text of the status: נמסר, נכשל, מספר כשר, מספר חסום, תקלה. |
en_message | English text of the status: delivered, failed, kosher, blocked, error. |
from | Your SMS API number: the sender you sent the message from. |
to | The number you sent the message to. |
operator | The mobile operator of the end user. |
unique | The unique message ID that you received when sending the message from the Send SMS API endpoint. |
| Status code (int) | en_message | he_message | Explanation |
|---|---|---|---|
| 1 | delivered | נמסר | Message delivered successfully. |
| 2 | failed | נכשל | Failed (for example, the phone is off or out of network). |
| 3 | kosher | מספר כשר | Kosher number, can't get SMS. |
| 4 | blocked | מספר חסום | Blocked: the end user asked not to receive messages from you. |
| 5 | error | תקלה | Error (either a network error, delivery error, or server error). Try again. |
Remarks
- A message sent to several numbers has one
unique(from Send SMS), and you get a status for each number. - Codes sent by Verify SMS get a status too. Its
uniqueis the ID of the SMS, not theuniquethat Verify SMS returned.
Webhook payload
Your response
- 200
Answer with HTTP 200. The status and body of your answer are ignored.