Solutions
worksection
beta
help
Getting webhooks via API: get_webhooks
The get_webhooks method can be executed using the administrative API key:
https://youraccount.worksection.com/api/admin/v2/?action=get_webhooks&hash=HASH
or using an OAuth 2.0 token with scope = administrative:
curl -X GET -H "Authorization: Bearer <token_value>"
https://youraccount.worksection.com/api/oauth2?action=get_webhooks
Example response:
{
"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"
}
]
}
Leave your review
Did this article help you?
Glad we could help! What was helpful?
Sorry this didn't help. What went wrong?