How to get downloadId for /fapi/v1/income/asyn/id endpoint

Hey, so I saw the /fapi/v1/income/asyn/id endpoint and wanted to try it. But one of the mandatory parameters are “downloadId” and I’m honestly not sure how to get a valid downloadId. Does anyone have any idea if there is an endpoint for retrieving it or how I can find my download ID?

Also, I’m not entirely sure what the timestamp parameter is meant to do, so if you know anything about it’s purpose/use please let me know :slight_smile:

https://binance-docs.github.io/apidocs/futures/en/#get-download-id-for-futures-transaction-history-user_data

You have to get the downloadId from the endpoint listed above first. Timestamp is the current time when you send this request. It is used for security purposes. You can read more about it here: Binance API Documentation