Retrieve a webhook
Retrieves a webhook object.
Parameters
No parameters.
Returns
Returns the webhook object for a valid identifier.
get
/api/webhooks/{id}
curl https://{workspace}.kitchen.co/api/webhooks/{id} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"id": "wh_4c49373b8698d4ceac793e0f",
"url": "http://www.goodwin.com/unde-aut-iusto-quidem-amet-nihil",
"events_types": [
"invoice.deleted",
"list.deleted",
"quote.updated"
],
"attempts_count": 0,
"failed_attempts_count": 0,
"enabled": true,
"secret": "secret",
"created_at": "2024-06-22T23:08:44+00:00",
"updated_at": "2024-06-22T23:08:44+00:00"
}