Triggered when messaging channel status is changed. Only applicable for SMS channels (Nexmo / Zipwhip).
Messaging channel status subscribes example:
curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "channel/status",
"target_url": "URL"
}'
Messaging channel status payload example:
{
"entity_name": "channel",
"event_type": "status",
"data": {
"channel": {
"type": "sms",
"provider": "zipwhip",
"status": "active",
"message_type": "transactional",
"additional_info": {
"display_phone_number": "123564654"
}
}
}
}