Skip to main content

Retrieve a Webhook

Retrieve a Webhook resource by ID.

Retrieving webhooks

As of this writing, you can retrieve webhooks via API. In future releases, we will allow you to view a webhook via Dashboard.


Endpoint

GET /webhooks/:id

Sample code

const client = require('payrex-node')('insert your PayRex Secret API key.');

const webhook = await client.webhooks.retrieve('<ID of a webhook resource>');

Returns

Returns a Webhook resource.