webhooks
Update webhook
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.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
_idstring
Webhook ID to update (required)
name?string
Webhook name (max 50 characters)
Length
length <= 50url?string
Webhook endpoint URL (must be HTTPS in production)
Format
urisecret?string
Secret key for HMAC-SHA256 signature verification
events?array<string>
Events to subscribe to
isActive?boolean
Enable or disable webhook delivery
customHeaders?
Custom headers to include in webhook requests
Response Body
application/json
application/json
curl -X PUT "https://getlate.dev/api/v1/webhooks/settings" \ -H "Content-Type: application/json" \ -d '{ "_id": "507f1f77bcf86cd799439011", "url": "https://new-example.com/webhook", "events": [ "post.published", "post.failed" ] }'{
"success": true,
"webhook": {
"_id": "string",
"name": "string",
"url": "http://example.com",
"secret": "string",
"events": [
"post.scheduled"
],
"isActive": true,
"lastFiredAt": "2019-08-24T14:15:22Z",
"failureCount": 0,
"customHeaders": {
"property1": "string",
"property2": "string"
}
}
}Empty
{
"error": "Unauthorized"
}Empty