Update Webhook
Changed onUpdates the webhook. Any fields not provided in the request body will reset to their default values. Send the request body with a Content-Type of application/json. Parameters such as charset=utf-8 are accepted.
Request
- Base URLhttps://api.transmitmessage.com
- AuthAPI key in header x-api-key
Path parameters
Unique identifier for the webhook
Request body
Example request
{
"filter": {
"event_type": [
"SMS_STATUS",
"SMS_INBOUND"
],
"sender": [
"+61412345678",
"+61487654321"
],
"status": [
"DELIVERED",
"FAILED"
],
"message_ref": [
"ref123",
"ref456"
],
"campaign_id": [
"campaign_123",
"campaign_456"
]
},
"name": "My Webhook",
"url": "https://example.com/webhook"
}Response
Webhook updated successfully
Example response
{
"id": "67e3e4af-62e8-4515-8b67-6f20d0c51ffb",
"filter": {
"event_type": [
"SMS_STATUS",
"SMS_INBOUND"
],
"sender": [
"+61412345678",
"+61487654321"
],
"status": [
"DELIVERED",
"FAILED"
],
"message_ref": [
"ref123",
"ref456"
],
"campaign_id": [
"campaign_123",
"campaign_456"
]
},
"name": "Hook",
"url": "https://webhook.site/uuid",
"rate_limit": 10,
"created_at": "2025-04-14T00:59:32.75819Z",
"updated_at": "2025-04-14T00:59:32.75819Z"
}Changes
- warning
added the new
SENDER_COMPLIANCE_STATUSenum value to the//response property for the response status - warning
added the new
SENDER_REGISTRATION_STATUSenum value to the//response property for the response status - info
added the new
SENDER_COMPLIANCE_STATUSenum value to the request property//// - info
added the new
SENDER_COMPLIANCE_STATUSenum value to the request property// - info
added the new
SENDER_REGISTRATION_STATUSenum value to the request property//// - info
added the new
SENDER_REGISTRATION_STATUSenum value to the request property//
- warning
- warning
added the new
PAYMENT_FAILEDenum value to the//response property for the response status - warning
added the new
PAYMENT_SUCCEEDEDenum value to the//response property for the response status - info
added the new
PAYMENT_FAILEDenum value to the request property//// - info
added the new
PAYMENT_FAILEDenum value to the request property// - info
added the new
PAYMENT_SUCCEEDEDenum value to the request property//// - info
added the new
PAYMENT_SUCCEEDEDenum value to the request property//
- warning