Skip to main content

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:

SettingValue
URLYour URL
MethodJSON 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:

ParameterDescription / Example
event"status" always.
statusThe status code (int) — see the table below.
dateThe time when this message arrived or failed to arrive.
he_messageHebrew text of the status: נמסר, נכשל, מספר כשר, מספר חסום, תקלה.
en_messageEnglish text of the status: delivered, failed, kosher, blocked, error.
fromYour SMS API number: the sender you sent the message from.
toThe number you sent the message to.
operatorThe mobile operator of the end user.
uniqueThe unique message ID that you received when sending the message from the Send SMS API endpoint.
Status code (int)en_messagehe_messageExplanation
1deliveredנמסרMessage delivered successfully.
2failedנכשלFailed (for example, the phone is off or out of network).
3kosherמספר כשרKosher number, can't get SMS.
4blockedמספר חסוםBlocked: the end user asked not to receive messages from you.
5errorתקלה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 unique is the ID of the SMS, not the unique that Verify SMS returned.

Webhook payload

​

Your response​

Answer with HTTP 200. The status and body of your answer are ignored.