Sipgate-CLI/getbalance.sh

2 lines
188 B
Bash
Executable File

curl --request GET --header 'Content-Type: application/json' --header 'Accept: application/json' --header "Authorization: Bearer $AUTH_TOKEN" "https://api.sipgate.com/v2/balance" -s | jq