v1
latestOpenAPI 3.1.02026-07-222392081.7 MBWebhooks
Create webhook endpoint
Create a new webhook endpoint.
post/v1/webhooks/endpoints
Request body
Example request
{
"description": "Production webhook endpoint",
"url": "https://example.com/webhook",
"event_types": [
"customer.created",
"customer.updated"
]
}Response
Example response
{
"id": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"description": "Production webhook endpoint",
"url": "https://example.com/webhook",
"event_types": [
"customer.created",
"customer.updated"
],
"created_at": "2024-01-20T16:04:11Z"
}