Show examples in:
Retrieve a webhook

Returns

Returns a webhook resource object.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const webhookId = '312';
const webhook = await client.webhooks.find(webhookId);
console.log(webhook);
}
run();