Get a webhook
Returns one webhook.
Needs an API key with read access to integrations: the Admin, Editor, Viewer, CRM Admin or AI Manager role (not an Enrichment API key).
ApiKeyAuthx-api-key<token>Your Knock API key. Reading webhooks takes a key with read access to integrations: the Admin, Editor, Viewer, CRM Admin or AI Manager role (not an Enrichment API key). Changing them takes a key with the Admin role.
webhookId*stringID of the webhook.
uuidThe webhook.
application/json- response
A URL Knock POSTs events to.
id*stringID of the webhook, sent as the knock-webhook-id header.
uuidname*|The label you gave the webhook. Null when it has none.
url*stringThe URL Knock POSTs events to.
urievents*array<>The event types sent to this webhook.
"meeting.booked""meeting.rescheduled""meeting.declined""meeting.cancelled""meeting.completed""meeting.rejected""outreach.linkedin_invite_sent""outreach.linkedin_invite_accepted""member.linkedin_status_changed""enrichment_request.completed"status*stringWhether Knock sends events to this webhook: active, or paused (Knock sends it nothing until you set it back to active).
"active""paused"hasSecretToken*booleanWhether the webhook has a secret token. The token itself is never returned with the webhook: read it with GET /v1/webhooks/{webhookId}/secret-token.
createdAt*stringWhen the webhook was created.
date-timecurl -X GET 'https://app.knock-ai.com/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'x-api-key: <YOUR_API_KEY>'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "url": "http://example.com", "events": [ "meeting.booked" ], "status": "active", "hasSecretToken": true, "createdAt": "2019-08-24T14:15:22Z"}