Version: 202607
Update a webhook
PUT/openapi/2026-07/webhooks/:id
Update a webhook with a unique identifier, notification URL, event name, and format.
Request
Path Parameters
id stringrequired
Webhook ID
- application/json
- Body
- Example
Bodyrequired
idstringrequired
Webhook ID
webhook objectrequired
Webhook
addressstring
Webhook notification URL, e.g. https://example.com/webhook
topicstring
The topic of the webhook
{
"id": "string",
"webhook": {
"address": "string",
"topic": "string"
}
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
webhook object
Webhook
idstring
The unique identifier of the webhook
addressstring
Webhook notification URL, e.g. https://example.com/webhook
topicstring
The topic of the webhook
created_atstring
The time of the webhook was created
updated_atstring
The time of the webhook was updated
formatstring
The format of the webhook
{
"code": "string",
"message": "string",
"data": {
"webhook": {
"id": "string",
"address": "string",
"topic": "string",
"created_at": "string",
"updated_at": "string",
"format": "string"
}
}
}