cURL
curl --request GET \ --url https://api.fish.audio/wallet/{user_id}/api-credit \ --header 'Authorization: Bearer <token>'
{ "_id": "<string>", "user_id": "<string>", "credit": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "has_phone_sha256": true, "has_free_credit": true }
Get current API credit balance
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
User ID or 'self'
Request fulfilled, document follows
Was this page helpful?