Skip to content

Commit 0a106d2

Browse files
committed
[webhooks] unify examples
1 parent 15e4418 commit 0a106d2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/features/webhooks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Your server will receive a POST request with a payload like:
173173
"simNumber": 1,
174174
"receivedAt": "2024-06-22T15:46:11.000+07:00"
175175
},
176-
"webhookId": "<unique-id>"
176+
"webhookId": "LreFUt-Z3sSq0JufY9uWB"
177177
}
178178
```
179179

@@ -190,7 +190,7 @@ Your server will receive a POST request with a payload like:
190190
"simNumber": 1,
191191
"receivedAt": "2024-06-22T15:46:11.000+07:00"
192192
},
193-
"webhookId": "<unique-id>"
193+
"webhookId": "LreFUt-Z3sSq0JufY9uWB"
194194
}
195195
```
196196

@@ -210,7 +210,7 @@ Your server will receive a POST request with a payload like:
210210
"contentClass": "IMAGE_BASIC",
211211
"receivedAt": "2025-08-23T05:15:30.000+07:00"
212212
},
213-
"webhookId": "<unique-id>"
213+
"webhookId": "LreFUt-Z3sSq0JufY9uWB"
214214
}
215215
```
216216

docs/getting-started/webhooks.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ Webhooks provide real-time notifications about SMS events. Follow these steps to
3838
"event": "sms:received",
3939
"id": "Ey6ECgOkVVFjz3CL48B8C",
4040
"payload": {
41-
"textMessage": { "text": "Android is always a sweet treat!"},
41+
"messageId": "abc123",
42+
"message": "Android is always a sweet treat!",
4243
"phoneNumber": "6505551212",
44+
"simNumber": 1,
4345
"receivedAt": "2024-06-22T15:46:11.000+07:00"
4446
},
4547
"webhookId": "LreFUt-Z3sSq0JufY9uWB"

0 commit comments

Comments
 (0)