PlaygroundWebhook endpoints
Update a webhook endpoint
Authorization
BearerAuth AuthorizationBearer <token>
Use a secret API key as the bearer token. Keys are prefixed with
vk_test_ (test mode) or vk_live_ (live mode).
In: header
Path Parameters
id*string
The webhook endpoint ID.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "http://localhost:3000/v1/webhook_endpoints/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"object": "webhook_endpoint",
"url": "string",
"enabled_events": [
"string"
],
"status": "enabled",
"api_version": "string",
"description": "string",
"metadata": {
"property1": "string",
"property2": "string"
},
"created": 0,
"updated": 0,
"secret": "string"
}{
"error": {
"type": "invalid_request_error",
"code": "string",
"message": "string",
"param": "string",
"request_id": "string"
}
}