Skip to content

List Webhooks

GET {{base_url}}/v1/webhooks

Allows you to get a paginated list of configured webhooks, with the ability to filter and sort the results.


ParameterTypeDescriptionLimits
Authorization*stringAccess token obtained during login, with the 'Bearer' prefix.Required
Content-TypestringSpecifies the content type of the HTTP request body. For requests that include JSON data'application/json'

ParameterTypeDescriptionLimits
per_pageintegerNumber of results per page.Optional
pageintegerCurrent page number.Optional
document_tokenstringFilters webhooks associated with a specific document.Optional
sort_bystringField to sort by (defaults to created_at).Optional
sort_orderstringResult order: asc or desc.Optional
eventstringFilter by configured event type (e.g.: document_created, signer_rejected).Optional
activebooleanFilter by active or inactive webhooks.Optional

{
"items": [
{
"id": "c71d4e53-28f2-4a17-9b82-6f3a9a2e4d97",
"user": "e4f9b215-6a2d-49b0-a76a-8f25d73f9d3e",
"document": null,
"event": "signer_rejected",
"target_url": "[https://hooks.empresaglobal.com/events/c71d4e53-28f2-4a17-9b82-6f3a9a2e4d97](https://hooks.empresaglobal.com/events/c71d4e53-28f2-4a17-9b82-6f3a9a2e4d97)",
"active": true,
"secret_key": "3K92MQLX7FJ0P1V8H6RC5T4YNE",
"custom_headers": null,
"signed_headers": null,
"type": "E",
"created_at": "2024-11-22T14:45:10.000000Z",
"updated_at": "2024-11-22T14:45:10.000000Z"
}
],
"pagination": {
"total_items": 2,
"total_pages": 2,
"current_page": 1,
"per_page": 1,
"next_page_url": "[https://api.empresaglobal.com/v1/webhooks?per_page=1&page=2](https://api.empresaglobal.com/v1/webhooks?per_page=1&page=2)",
"first_page_url": "[https://api.empresaglobal.com/v1/webhooks?per_page=1&page=1](https://api.empresaglobal.com/v1/webhooks?per_page=1&page=1)",
"last_page_url": "[https://api.empresaglobal.com/v1/webhooks?per_page=1&page=2](https://api.empresaglobal.com/v1/webhooks?per_page=1&page=2)"
}
}
NombreTypeDescription
idstringUnique webhook identifier in Firmeasy.
userstringID of the webhook owner user.
documentstring/nullAssociated document if applicable, or null.
eventstringConfigured event that will trigger the webhook.
target_urlstringConfigured destination URL.
activebooleanIndicates if the webhook is active.
secret_keystringUnique secret key used to sign payloads with HMAC.
custom_headersarray/nullCustom headers to send.
signed_headersarray/nullSigned headers (currently null).
typestring/nullWebhook type (reserved for future use).
created_atdatetimeCreation date.
updated_atdatetimeLast update.

The response includes a pagination object with detailed information to manage navigation between pages:

NombreTypeDescription
total_itemsintegerTotal number of records available in the query.
total_pagesintegerTotal number of pages calculated based on items per page.
current_pageintegerCurrent page number being viewed.
per_pageintegerMaximum number of items returned per page.
next_page_urlstring/nullURL for the next page, if it exists.
first_page_urlstringFirst page URL.
last_page_urlstringLast page URL.