Registering Webhooks
This page will document how to Register webhooks for our API to use.
POST /webhooks/receipt
POST /webhooks/receiptcurl -X POST \
"https://api.mobivatebulksms.com/webhooks/receipt" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer [API Key]' \
-d '{ "url": "https://your.domain.com/endpoint" }'import requests
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer [API Key]',
}
json_data = {
'url': 'https://your.domain.com/endpoint',
}
response = requests.post('https://api.mobivatebulksms.com/webhooks/receipt', headers=headers, json=json_data)
# Note: json_data will not be serialized by requests
# exactly as it was in the original request.
#data = '{ "url": "https://your.domain.com/endpoint" }'
#response = requests.post('https://api.mobivatebulksms.com/webhooks/receipt', headers=headers, data=data)Incoming Messages
POST /webhooks/incoming
POST /webhooks/incoming/curl -X POST \
"https://api.mobivatebulksms.com/webhooks/incoming" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer [API Key]' \
-d '{ "url": "https://your.domain.com/endpoint" }'import requests
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer [API Key]',
}
json_data = {
'url': 'https://your.domain.com/endpoint',
}
response = requests.post('https://api.mobivatebulksms.com/webhooks/incoming', headers=headers, json=json_data)
# Note: json_data will not be serialized by requests
# exactly as it was in the original request.
#data = '{ "url": "https://your.domain.com/endpoint" }'
#response = requests.post('https://api.mobivatebulksms.com/webhooks/incoming', headers=headers, data=data)Short URL Clicks
POST /webhooks/click
POST /webhooks/clickHeader
Value
Name
Type
Required?
Description
Last updated