Skip to main content
POST
/
api
/
webhooks
Create Webhook
curl --request POST \
  --url https://api.e-invoice.be/api/webhooks/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "events": [
    "<string>"
  ],
  "url": "<string>",
  "enabled": true
}
'
{
  "events": [
    "<string>"
  ],
  "url": "<string>",
  "id": "<string>",
  "secret": "<string>",
  "enabled": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Schema for creating a new webhook.

events
string[]
required
url
string<uri>
required
Required string length: 1 - 2083
enabled
boolean
default:true

Response

Successful Response

Response model for webhook API endpoints.

events
string[]
required
url
string<uri>
required
Required string length: 1 - 2083
id
string
required
secret
string
required
enabled
boolean
default:true