cURL
curl --request GET \ --url https://api.vidgo.ai/api/user/balance \ --header 'Authorization: Bearer <token>'
{ "code": 200, "data": { "email": "goseasp@gmail.com", "credits_amount": 17276 } }
Query the credit balance of your user account
All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer YOUR_API_KEY
Balance retrieved successfully
HTTP status code
200
Show child attributes