Setup a webhook subscription

Subscribe to events happening on your Amberflo account in order to receive an HTTP POST request when it happens.

Note that you can only configure one subscription per topic.

The following topics are supported:

The payload format is:

{
  "topic": <topic name>,
  "eventTime": <when the event happened, in milliseconds since UNIX epoch>,
  "eventId": <unique-per-topic event id>,
  "data": <data pertaining to the specific event>
}

The system will make a limitted number of attempts to deliver the webhook. Each attempt is logged and can be seen using the Account Event API

Since your endpoint may receive the same request multiple times, its logic should be idempotent.

Language
Authentication
Header
Click Try It! to start a request and see the response here!