List All Webhooks for Broadcast Campaign

Ashley Parks -

GET /api/v2/lists/:list_id/webhooks

Request

Headers

Accept: application/json
Content-Type: application/json
Authorization: Basic dGF0YW5nbzp0YXRhbmdvX2tleV9OUkdRaFpEZEl6ZjhwRkNHcUI2RDVn

Host: example.org
Cookie: 

Route

GET /api/v2/lists/1/webhooks

cURL

curl "https://app.tatango.com/api/v2/lists/1/webhooks" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-u tatango:tatango_key_NRGQhZDdIzf8pFCGqB6D5g \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json; charset=utf-8
X-Meta-Request-Version: 0.2.6
Content-Security-Policy: default-src https: 'self'; connect-src http: https: 'self' wss://*.intercom.io; img-src https: 'self'; script-src 'self' *.intercom.io *.intercomcdn.com 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; report-uri /uri-directive
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 1; mode=block
X-UA-Compatible: IE=Edge,chrome=1
ETag: "a35e30006304b55ead832de4bd24f0a7"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: cb23a61d299938c08c3094f3bf5d11e3
X-Runtime: 0.012671
Set-Cookie: __profilin=p%3Dt; path=/
Content-Length: 734

Status

200 OK

Body

{"status":"OK","per_page":10,"count":3,"page":1,"pages_count":1,"webhooks":[{"callback_url":"http://localhost/dev/null","created_at":"2016-08-04T16:43:27-07:00","enabled":true,"id":1,"list_id":1,"message_sent":false,"subscribe":true,"unsubscribe":false,"updated_at":"2016-08-04T16:43:27-07:00"},{"callback_url":"http://localhost/dev/null","created_at":"2016-08-04T16:43:27-07:00","enabled":true,"id":2,"list_id":1,"message_sent":false,"subscribe":true,"unsubscribe":false,"updated_at":"2016-08-04T16:43:27-07:00"},{"callback_url":"http://localhost/dev/null","created_at":"2016-08-04T16:43:27-07:00","enabled":true,"id":3,"list_id":1,"message_sent":false,"subscribe":true,"unsubscribe":false,"updated_at":"2016-08-04T16:43:27-07:00"}]}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.