Skip to main content

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}.documocu.com/api/webhooks/{id} \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"id": "wh_4c49373b8698d4ceac793e0f",
"url": "http://www.goodwin.com/unde-aut-iusto-quidem-amet-nihil",
"events_types": [
"document.created",
"document.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"
}