Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > Webhook call

Re-send the webhook call

Examples

1
import { buildClient } from "@datocms/cma-client-node";
2
3
async function run() {
4
const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
5
6
const webhookCallId = "42";
7
await client.webhookCalls.resendWebhook(webhookCallId);
8
}
9
10
run();