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",
"status": "live",
"signature": "mysignature123",
"last_http_code": 200
},
{
"webhook_id": "67",
"type": "MO",
"url": "https://mywebhook.com/mo",
"status": "paused",
"signature": null,
"last_http_code": 200
}
]
}
<?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>
<signature>mysignature123</signature>
<status>live</status>
<last_http_code>200</last_http_code>
</webhooks>
<webhooks>
<webhook_id>67</webhook_id>
<type>MO</type>
<url>https://mywebhook.com/mo</url>
<signature>null</signature>
<status>paused</status>
<last_http_code>200</last_http_code>
</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
- 51.159.7.123
- 51.159.21.54