Dhesend

Webhook

Refresh Webhook Secret

Learn how to refresh Webhook secret in Dhesend API.

import Dhesend from 'dhesend';

const dhesend = new Dhesend('dhe_fdd03c4eb1');

dhesend.webhook.refreshSecret("a19ae25a-32ef-4f17-b5c8-5c3cf37471b3");
{
  "id": "a19ae25a-32ef-4f17-b5c8-5c3cf37471b3",
  "secret": "dws_6078fb1444edb82a"
}
Endpoint
This endpoint is used to refresh Webhook secret.
POST webhook/refresh-secret
Body parameters
webhook_idstringrequired
ID of the Webhook.

Dhesend @ 2024 - Made with ❤ by  DHEM