Retrieve webhook
This method allows you to retrieve a specific webhook.
GET
/webhook/:id
Query Parameters
id
required
|
The webhook id |
Examples
GET /webhook/66 HTTP/1.1
Host: api.smsfactor.com
Authorization: Bearer your.token
Accept: application/json
Result Format
{
"status": 1,
"message": "OK",
"webhook": {
"webhook_id": "66",
"type": "DLR",
"url": "https://mywebhook.com/dlr",
"status": "live",
"signature" : "123Mysignature",
"last_http_code": 200
}
}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>1</status>
<message>OK</message>
<webhook>
<webhook_id>66</webhook_id>
<type>DLR</type>
<url>https://mywebhook.com/dlr</url>
<status>live</status>
<signature>123Mysignature</signature>
<last_http_code>200</last_http_code>
</webhook>
</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:
- 51.159.7.123
- 51.159.21.54