Description
List Webhooks.
Request URL
Mail API v1.0 GET /v1/emails/(uuid:email_id)/webhook
Request Paramters
Parameter | Value | Style | Type | Description |
---|---|---|---|---|
X-Auth-Token | - | header | string | User Token |
email_id | - | URI | UUID | Email ID |
Response Paramters
Parameter | Value | Style | Type | Description |
---|---|---|---|---|
webhook | - | - | dict | - |
webhook_url | - | plain | URL | Webhook URL |
webhook_keyword | - | plain | string | Webhook Keyword |
Request Json
This operation does not accept a request body.
Normal response codes
200 - Success
Error response codes
401 - Access Denied
404 - Not Found
Repeatable
Yes
Example
curl -i -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140" \ https://mail-hosting.tyo1.cloud.z.com/v1/emails/19c0ce1d-3839-4684-b080-692613bc6917/webhook
HTTP/1.1 200 Success Date: Tue, 09 Dec 2014 01:46:58 GMT Server: Apache Content-Length: 1003 Content-Type: application/json { "webhook": { "webhook_url": "http://webhook.example.com/asdf.asp", "webhook_keyword": "keyword" } }