Retrieve webhooks
GET
/webhook
Examples
GET /webhook HTTP/1.1
Host: api.smsfactor.com
Authorization: Bearer your.token
Accept: application/json
Result Format
{
"status": 1,
"message": "OK",
"webhooks": [
{
"webhook_id": "66",
"type": "DLR",
"url": "https://mywebhook.com/dlr"
},
{
"webhook_id": "67",
"type": "MO",
"url": "https://mywebhook.com/mo"
}
]
}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>1</status>
<message>OK</message>
<webhooks>
<webhook_id>66</webhook_id>
<type>DLR</type>
<url>https://mywebhook.com/dlr</url>
</webhooks>
<webhooks>
<webhook_id>67</webhook_id>
<type>MO</type>
<url>https://mywebhook.com/mo</url>
</webhooks>
</response>
Our servers IP addresses
You might have to authorize some IPs to your firewall in order to allow incoming requests from us. Here's the list of our servers IP addresses:
- 163.172.210.135
- 163.172.210.137
- 163.172.210.139
- 163.172.210.141
- 163.172.210.145
- 163.172.210.153
- 195.154.187.60
- 195.154.185.102