Retrieve a Webhook

GET {{cryptr_service_url}}/api/v2/webhooks/:id

Retrieve Webhook information for your organization using its identifier.

Note: When you fetch a Webhook, the environment of your API key determines where your Webhook is stored. For example, your Webhook in the sandbox is fetched only if this resource is stored in the sandbox. You can't fetch a Webhook from the Production environment with this API key; you need an API key dedicated to that environment.

RETURNS

Returns the Webhook for a valid organization/environment pair. If it’s for a deleted Webhook, a Not Found response is displayed.

RESPONSES

status: OK

{"__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"}