api-webhooks | R Documentation |
Working with webhooks in ClickUp tasks.
cu_create_webhook(team_id, endpoint, events = "*", ..., cu_token = NULL)
cu_update_webhook(webhook_id, ..., cu_token = NULL)
cu_delete_webhook(webhook_id, cu_token = NULL)
cu_get_webhooks(team_id, cu_token = NULL)
team_id |
Team ID. |
endpoint |
Webhook endpoint. |
events |
Events (see Details). |
... |
Named arguments to be passed to API request body,
e.g. |
cu_token |
ClickUp personal access token or an access token from the OAuth flow.
The |
webhook_id |
Webhook ID. |
You may filter the location of resources that get sent to a webhook
by passing an optional space_id
, folder_id
, list_id
, or
task_id
in the body of the request.
Without specifying any events, all event types
will be sent to the webhook. However, you can filter for specific
actions by sending an events array. To subscribe to specific events,
pass an array of events that you want to subscribe to,
otherwise pass "*"
to subscribe to everything.
Events include: "taskCreated"
"taskUpdated"
"taskDeleted"
"listCreated"
"listUpdated"
"listDeleted"
"folderCreated"
"folderUpdated"
"folderDeleted"
"spaceCreated"
"spaceUpdated"
"spaceDeleted"
"goalCreated"
"goalUpdated"
"goalDeleted"
"keyResultCreated"
"keyResultUpdated"
"keyResultDeleted"
.
A cu object.
cu for the cu object class. cu_task_id()
to remove leading hashes from task IDs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.