Skip to content
Vessios Docs
English
Esc
navigateopen⌘Jpreview

Create Webhook

Webhook 登録。secret はこのレスポンスでのみ返す(HMAC-SHA256 署名鍵)。

POST/webhooks
Header parameters
authorizationstring | any
X-Api-Keystring | any
Request body
requiredapplication/json
urlstringrequired
eventsstring[]required
Responses
200Successful Response
any
422Validation Error
detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
Request
curl -X POST "/webhooks" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "string",
  "events": [
    "string"
  ]
}'
Response
"string"