Overview .

To use webhooks, you will need a way to accept http requests and process them. Typically this would be your own web server but there are modern alternatives like AWS Lambda and Cloudflare workers. Whichever approach you are taking, you will have an endpoint to direct webhooks to.

You can configure one or multiple endpoints in Tradesync via the App or API. Once configured, the system will send a POST request to the endpoint, when an event occurs.

The events sent are the same information from the /event endpoint but pushed when they occur.

The POST will be in a json format.

An example payload

{
    "id": 488,
    "created_at": "2020-06-22T12:09:09Z",
    "account_id": 4,
    "trade_id": 77,
    "event": "position_open",
    .....
}

Stay in the loop..

Sign up to our newsletter to keep up-to-date.