Webhooks
Get a webhook
GET
Returns one outbound webhook with its signing configuration and recent delivery status.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
id*stringapplication/json- response
id*stringurl*stringevents*array<>enabled*booleanconsecutiveFailures*integerlastError*string|nulllastDeliveredAt*|Format
date-timecreatedAt*stringFormat
date-timesecret*stringcurl -X GET 'https://api.example.com/api/v1/webhooks/string'Example Response
{
"id": "string",
"url": "string",
"events": [
"error.created"
],
"enabled": true,
"consecutiveFailures": 0,
"lastError": "string",
"lastDeliveredAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"secret": "string"
}