Sure Skill
Setup
- Go to your Sure app, example : https://localhost:3000
- Go to settings and get an API key, example : https://localhost:3000/settings/api_key
- Export your API KEY and BASE URL as environment variables :
export SURE_API_KEY="YOUR_API_KEY"
export SURE_BASE_URL="YOUR_BASE_URL"
Get accounts
List all accounts amounts
curl -H "X-Api-Key: $SURE_API_KEY" "$SURE_BASE_URL/api/v1/accounts"