Sift | Docs

GetWebhook

Retrieve a webhook by ID.

GET
/api/v1/webhooks/{webhookId}

Path Parameters

webhookId
Required
string

curl -X GET "<API_URL>/api/v1/webhooks/string" \
  -H "Authorization: Bearer <API_KEY>"

A successful response.

{
  "webhook": {
    "webhookId": "string",
    "organizationId": "string",
    "targetUrl": "string",
    "name": "string",
    "eventType": "WEBHOOK_EVENT_TYPE_UNSPECIFIED",
    "payload": "string",
    "createdDate": "2019-08-24T14:15:22Z",
    "modifiedDate": "2019-08-24T14:15:22Z",
    "archivedDate": "2019-08-24T14:15:22Z",
    "createdByUserId": "string",
    "modifiedByUserId": "string",
    "httpHeaders": [
      {
        "name": "string",
        "value": "string"
      }
    ]
  }
}