Get Webhook URLs
Stripe Configuration
Get Webhook URLs
Get the webhook endpoint URLs to configure in your Stripe dashboard
GET
Get Webhook URLs
Get the webhook endpoint URLs for your project. Use these URLs when configuring webhook endpoints in your Stripe Dashboard for both test and live modes.
Authentication
This endpoint requires developer authentication via OAuth2 Bearer Token. You must own the project.
Path Parameters
string (UUID)
required
The unique identifier of the project
Response
string
Webhook URL for test mode events
string
Webhook URL for live mode events
Example Request
Example Response
Configuring Webhooks in Stripe
1
Get Webhook URLs
Call this endpoint to get your project’s webhook URLs.
2
Open Stripe Dashboard
Navigate to Developers > Webhooks in Stripe Dashboard.(((REPLACE_THIS_WITH_IMAGE: stripe-dashboard-webhooks-page.png: Stripe Dashboard webhooks page showing the Add endpoint button)))
3
Create Test Endpoint
Click Add endpoint and paste the
test_webhook_url. Make sure you’re in Test mode.4
Select Events
Select the events to listen for:
checkout.session.completedcustomer.subscription.createdcustomer.subscription.updatedcustomer.subscription.deletedinvoice.paidinvoice.payment_failed
5
Get Signing Secret
After creating the endpoint, click to reveal the Signing secret (starts with
whsec_).6
Save Webhook Secret
Use Update Stripe Config to save the webhook secret.
7
Repeat for Live Mode
Switch to Live mode in Stripe and repeat steps 3-6 with the
live_webhook_url.Required Webhook Events
Configure these events for full functionality:Webhook URL Format
Error Responses
Related Pages
Stripe Webhook Handler
How webhooks are processed
Update Stripe Config
Save webhook secrets

