Skip to main content
POST
/
v2
/
notifications
/
webhooks
Register Webhook
curl --request POST \
  --url https://api.avenia.io:8443/v2/v2/notifications/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "webhookUrl": "<string>",
  "subscriptions": [
    "<string>"
  ]
}
'
{
  "webhookId": "<string>"
}

Register Webhook

POST request to /v2/notifications/webhooks

Authorizations

Authorization
string
header
required

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

Body

application/json
webhookUrl
string
required
subscriptions
string[]
required

Response

Created

webhookId
string
required