1. Go to your Sure app, example : https://localhost:3000
2. Go to settings and get an API key, example : https://localhost:3000/settings/api_key
3. Export your API KEY and BASE URL as environment variables :
```bash
export SURE_API_KEY="YOUR_API_KEY"
export SURE_BASE_URL="YOUR_BASE_URL"
```
List all accounts amounts
```bash
curl -H "X-Api-Key: $SURE_API_KEY" "$SURE_BASE_URL/api/v1/accounts"
```
Leave a review
No reviews yet. Be the first to review this skill!