cURL
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>" }
Creates or updates a webhook endpoint.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Operation succeeded.