Referencewebhooks
Create a webhook endpoint
Register a URL to receive call events. Returns the signing secret once.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/v1/webhooks" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com" }'{
"id": "string",
"url": "string",
"secret": "string",
"events": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}