cURL
curl --request GET \ --url https://api.techforgeinnovate.com/auth/credits \ --header 'x-api-key: <api-key>'
{ "credits": 123 }
Return the current credit balance for the account behind the API key.
curl "https://api.techforgeinnovate.com/auth/credits" \ -H "x-api-key: $TFI_API_KEY"
{ "credits": 1250 }
200 OK
401 Unauthorized