#Webhook secret
1 messages · Page 1 of 1 (latest)
To find your webhook secret (not the webhook signing secret), you can follow these steps:
-
Access the Dodo Payments Dashboard:
- Navigate to the Dodo Payments Dashboard and go to
Settings > Webhooks.
- Navigate to the Dodo Payments Dashboard and go to
-
Create or Select a Webhook Endpoint:
- If you haven't created a webhook yet, click on
Add Webhookto create a new endpoint. Otherwise, select an existing webhook endpoint.
- If you haven't created a webhook yet, click on
-
Obtain the Webhook Secret Key:
- Once you have your webhook endpoint, you can find the webhook secret key in the settings page of the selected webhook. This key is used to verify the authenticity of received webhooks.
-
Environment Variable Setup:
- Set this secret key in your environment variables for your application. For example, in a
.envfile, you might have:DODO_PAYMENTS_WEBHOOK_SECRET=your_webhook_secret_here
- Set this secret key in your environment variables for your application. For example, in a
Ensure that you keep this secret key secure and do not expose it in client-side code or public repositories【4:8†source】.
Helpful Links
What exactly do you mean by webhook secret?