First of all, in order to receive events from the Channel Manager API, you need to register a webhook endpoint in the Fourvenues API.

If you are in a local environment, you can use a tool like ngrok to expose your local server to the internet.

Register your webhook endpoint

curl --request POST \
  --url https://channels-service-alpha.fourvenues.com/webhooks/endpoints \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "url": "<string>"
}'

Response example:

{
  "_id": "<string>",
  "name": "<string>",
  "url": "<string>",
  "sign_secret": "<string>"
}