Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > Webhook call

Re-send the webhook call

Examples

1
POST https://site-api.datocms.com/webhook_calls/:webhook_call_id/resend_webhook HTTP/1.1
2
Authorization: Bearer YOUR-API-TOKEN
3
Accept: application/json
4
X-Api-Version: 3
Terminal window
1
curl -g 'https://site-api.datocms.com/webhook_calls/:webhook_call_id/resend_webhook' \
2
-X POST \
3
-H "Authorization: Bearer YOUR-API-TOKEN" \
4
-H "Accept: application/json" \
5
-H "X-Api-Version: 3"
1
await fetch(
2
"https://site-api.datocms.com/webhook_calls/:webhook_call_id/resend_webhook",
3
{
4
method: "POST",
5
headers: {
6
Authorization: "Bearer YOUR-API-TOKEN",
7
Accept: "application/json",
8
"X-Api-Version": "3",
9
},
10
},
11
);