cURL
curl --request GET \ --url https://api.gptmaker.ai/v2/workspace/{workspaceId}/credits \ --header 'Authorization: Bearer <token>'
{ "credits": 123, "status": "TRIAL" }
Lista a quantidade de crédito disponível na conta.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID do workspace
Quantidade de crédito disponível
The response is of type object.
object