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"
}Body parameters
ID of the Webhook.