• Get Started >>

›Insights

Home

  • Introduction

Inbox

  • Incoming

Switch

  • Sender ID
  • Messaging
  • Number
  • Templates

Token

  • Send Token
  • Verify Token
  • In-App Token

Insights

  • Events and Reports
  • Balance
  • Search
  • Status
  • History

Events and Reports - Updated 12/20

Outbound-Message Status Update (Delivery Report)

You can receive the outbound message status update reports directly in your application using Termii's Webhook Notiifcation. Add your webhook url in your termii developer console

OptionsDescription
typestring
Represents the type of message that is sent
idstring
Represents the ID of the request sent
message_idstring
Represents the ID of the message sent
receiverstring
Represents the destination phone number
senderstring
Represents a sender ID for sms or Device ID for Whatsapp which can be Alphanumeric
messagestring
Text of a message that would be sent to the destination phone number
sent_atstring
Represents the time the message was sent
coststring
Represent amount charged for the message sent
statusstring
Represents the status of the message sent. A message can have any of the following states; DELIVERED | Message delivered to handset, DND Active on Phone Number, Message Failed
channelstring
This is the route through which the message is sent. It is either dnd, whatsapp, or generic

Webhook Notification Data

{  
   "type":"outbound",
   "message_id":"5964465985113503103",
   "receiver":"2343459509389",
   "sender":"N-Alert",
   "message":"Your Termii confirmation code is 234u53.",
   "sent_at":"2020-12-16 11:34:36",
   "cost":"3.9",
   "command":"deliver",
   "status":"DELIVERED | Message delivered to handset",
   "channel":"Number Api"
}           
← In-App TokenBalance →