Register the ClickUp real-time webhook

posthttps://api.expiryedge.com/v1/integrations/clickup/registerWebhook
editor or admin60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/integrations/clickup/registerWebhook' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "team_id": "9012345",
  "list_id": "901201010"
}'
Antwort
{
  "success": true,
  "webhook_id": "4b67ac88-e506-4a29-9d42-26e504e3435e",
  "target": "https://us-central1-expiryedge.cloudfunctions.net/api/integrations/clickup/webhook?orgId=org_northwind"
}

Replaces any existing webhook for the organization. list_id optionally scopes it to one list.

Body-Parameter

application/json
  • team_idstringerforderlich
  • list_idstring

Rückgabe

200
Webhook registered.
  • successboolean
    Erlaubttrue
  • webhook_idstring
  • targetstring
    format: uri

Fehler

400
The user has no organization, the provider is not connected, validation failed, or the provider API call failed.
401
Missing, expired or invalid bearer token.
403
Authenticated, but your role or organization does not allow this action.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.