PUT
/
notification-service
/
api
/
v1
/
webhook-endpoints
curl --request PUT \
  --url https://notification-service.vatis.tech/notification-service/api/v1/webhook-endpoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "enabled": true,
  "description": "<string>"
}'
{
  "id": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "enabled": true,
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
url
string
events
string[]
enabled
boolean
description
string

Response

200
application/json
Operation succeeded.
id
string
url
string
events
string[]
enabled
boolean
description
string