List all Webhooks

GET {{cryptr_service_url}}/api/v2/webhooks/?page=1&per_page=3

Retrieve all your organization’s Webhooks using pagination or not.

Note: When you fetch the Webhooks, the environment of your API key determines where your Webhooks are stored. For example, your Webhooks in the sandbox are fetched only if the resources are stored in the sandbox. You can’t fetch Webhooks from the Production environment with this API key; you need an API key dedicated to this environment.

RETURNS

Returns a list of Webhooks for a valid organization/environment pair. If no Webhooks exist, an empty list is displayed.

Request Params

KeyDatatypeRequiredDescription
pagenumberPrecise the page of your listing.
per_pagenumberPrecise the size of the pages of the pagination of the list.

RESPONSES

status: OK

{"__type__":"List","data":[{"__environment__":"sandbox","__type__":"Webhook","active":true,"event_codes":["dir_sync.user.provision.success"],"id":"webhook_2jhL3MOOQFRuouWlYhmea6yBEwC","inserted_at":"2024-07-24T15:16:01","name":"User provision success","signature_key":"G8DXTIOobwGxhkFf2X5VidlQhJ8hoVAONc3Ezi21KEZKe2mikvF1-YMx2pQ3RKIsKmHOWWVv5ZTWahxxQuKM72vCMvz84jBeAhfYQsjMqLGA3Tg9nlgBUfa3BOEaUNZH","target_url":"http://localhost:8000","updated_at":"2024-07-24T15:16:01"}],"pagination":{"current_page":1,"current_pages":[1],"next_page":1,"per_page":3,"prev_page":1,"total_pages":1},"total":1}