How to capture a balance snapshot.
curl --request POST \
--url http://localhost:5001/balances-snapshots \
--header 'X-blnk-key: <api-key>' \
--header 'Content-Type: application/json' \
X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Secure your Blnk server
curl --request POST \
--url http://localhost:5001/balances-snapshots \
--header 'X-blnk-key: <api-key>' \
--header 'Content-Type: application/json' \
Was this page helpful?
curl --request POST \
--url http://localhost:5001/balances-snapshots \
--header 'X-blnk-key: <api-key>' \
--header 'Content-Type: application/json' \