Update Webhook
Changed onUpdates the configuration of an existing webhook, including its name, event subscriptions, or target URL.
Request
- Base URLhttps://api.v0.dev/v2
- URLhttps://api.v0.dev/v2/hooks/{hookId}
- AuthHTTP bearer
Path parameters
The unique identifier of the webhook to update.
Request body
Response
Response for status 200
Changes
- breaking
for the
pathrequest parameterhookId, the minLength was increased from0to1 - breaking
response property
chatIdlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
api operation id
hooks.updateremoved and replaced withwebhooks.update - info
the endpoint scheme security
apiKeywas removed from the API - info
api tag
Webhooksadded - info
api tag
hooksremoved - info
added the media type
application/x-www-form-urlencodedto the request body - info
added the media type
multipart/form-datato the request body - info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
the response property
became required for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- warning
added the new
message.finishedenum value to the/response property for the response status - info
added the new
message.finishedenum value to the request property/
- warning