curl "https://app.tatango.com/api/v2/lists/ID/webhooks" -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u emailaddress@mydomain.com:my_api_key \
-H "Host: example.org" \
-H "Cookie: "
{
"status": "OK",
"per_page": 10,
"count": 1,
"page": 1,
"pages_count": 1,
"webhooks": [
{
"callback_url": "http://localhost/dev/null",
"created_at": "2016-09-07T14:11:13-07:00",
"enabled": true,
"id": 6,
"list_id": 31,
"message_sent": false,
"subscribe": true,
"unsubscribe": false,
"updated_at": "2016-09-07T14:11:13-07:00"
}
]
}
This endpoint lists webhooks
curl "https://app.tatango.com/api/v2/lists/ID/webhooks" -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u emailaddress@mydomain.com:my_api_key \
-H "Host: example.org" \
-H "Cookie: "
{
"status": "OK",
"per_page": 10,
"count": 1,
"page": 1,
"pages_count": 1,
"webhooks": [
{
"callback_url": "http://localhost/dev/null",
"created_at": "2016-09-07T14:11:13-07:00",
"enabled": true,
"id": 6,
"list_id": 31,
"message_sent": false,
"subscribe": true,
"unsubscribe": false,
"updated_at": "2016-09-07T14:11:13-07:00"
}
]
}
GET https://app.tatango.com/api/v2/lists/{ID}/webhooks/
Tatango authenticates API requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.
The ID of the list
Successful response
The response is of type object
.
Was this page helpful?