Продукт
Рішення
https://youraccount.com/api/admin/v2/?action=get_webhooks&hash=HASHабо ж з використанням OAuth 2.0 токену з scope = administrative:
curl -X GET -H "Authorization: Bearer <token_value>"Приклад відповіді:
https://youraccount.com/api/oauth2?action=get_webhooks
{
"status": "ok",
"data": [
{
"id": "14",
"url": "https://eoaerzysr8s23hq.m.pipedream.net",
"events": "post_task,delete_task,reopen_task",
"status": "active",
"projects": "333"
},
{
"id": "16",
"url": "https://eolb4pffb2s43u.m.pipedream.net",
"events": "post_task,post_comment,post_project",
"status": "paused"
}
]
}