Webhook events
A webhook call carries a JSON list of events. Each event has its own id, which stays the same if it is sent again, its type, when it happened as created_at, and its data:
[{
"id": "0193a6f3-0a1b-7c2d-8e3f-5a6b7c8d9e0f",
"type": "message.delivered",
"created_at": "2026-11-28T09:30:00.000+00:00",
"data": {
"…": "…"
}
}]
The fields of data for each type follow.
message.submitted
Message submitted.
| Field | Type | Description |
|---|---|---|
message_id |
string | the Message ID, which GET /v1/messages/{messageId} shows |
batch_id |
string | the Batch the send was split into, one of the send's batchIds |
recipient |
string | E.164, such as "+8801712345678" |
status |
string | always "submitted" |
parts |
integer | the Parts it was charged for |
message.not_sent
Message not sent.
| Field | Type | Description |
|---|---|---|
message_id |
string | the Message ID, which GET /v1/messages/{messageId} shows |
batch_id |
string | the Batch the send was split into, one of the send's batchIds |
recipient |
string | E.164, such as "+8801712345678" |
status |
string | always "not_sent" |
parts |
integer | the Parts it would have used |
reason |
string or null | why it was not sent |
message.delivered
Message delivered.
| Field | Type | Description |
|---|---|---|
message_id |
string | the Message ID, which GET /v1/messages/{messageId} shows |
batch_id |
string | the Batch the send was split into, one of the send's batchIds |
recipient |
string | E.164, such as "+8801712345678" |
status |
string | "delivered" or "undelivered" |
error_code |
string or null | the Operator's error code, for an undelivered Message |
reported_at |
string | when the Operator reported it, ISO 8601 |
message.undelivered
Message undelivered.
| Field | Type | Description |
|---|---|---|
message_id |
string | the Message ID, which GET /v1/messages/{messageId} shows |
batch_id |
string | the Batch the send was split into, one of the send's batchIds |
recipient |
string | E.164, such as "+8801712345678" |
status |
string | "delivered" or "undelivered" |
error_code |
string or null | the Operator's error code, for an undelivered Message |
reported_at |
string | when the Operator reported it, ISO 8601 |
message.inbound
Reply received (dedicated numbers).
| Field | Type | Description |
|---|---|---|
inbound_message_id |
string | the reply's own ID |
from |
string | the sender's number, E.164 |
to |
string | the dedicated number it was sent to |
text |
string | what they wrote |
is_opt_out |
boolean | whether it asks to stop messages, such as "STOP" |
received_at |
string | ISO 8601 |
campaign.completed
Campaign completed (sent once Campaigns launch).
GioSMS does not send this event yet. You can subscribe to it now and receive it once it does.
balance.low
Balance low.
| Field | Type | Description |
|---|---|---|
available |
string | in taka with two decimals, such as "99.35" |
threshold |
string | in taka with two decimals |
currency |
string | always "BDT" |
sender_id.approved
Sender ID approved.
| Field | Type | Description |
|---|---|---|
sender_id_id |
string | the Sender ID's own ID |
name |
string | the masking name or number, such as "DELIVA" |