webhooks
List webhooks
Retrieve all configured webhooks for the authenticated user. Supports up to 10 webhooks per user.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/webhooks/settings"{
"webhooks": [
{
"_id": "507f1f77bcf86cd799439011",
"name": "My Production Webhook",
"url": "https://example.com/webhook",
"events": [
"post.published",
"post.failed"
],
"isActive": true,
"lastFiredAt": "2024-01-15T10:30:00Z",
"failureCount": 0
},
{
"_id": "507f1f77bcf86cd799439012",
"name": "Slack Notifications",
"url": "https://hooks.slack.com/services/xxx",
"events": [
"post.failed",
"account.disconnected"
],
"isActive": true,
"failureCount": 0
}
]
}{
"error": "Unauthorized"
}Get delivery logs GET
Retrieve webhook delivery history. Logs are automatically deleted after 7 days.
Update webhook PUT
Update an existing webhook configuration. All fields except _id are optional; only provided fields will be updated. Webhooks are automatically disabled after 10 consecutive delivery failures.