GET
/
v2
/
workspace
/
{workspaceId}
/
credits
curl --request GET \
  --url https://api.gptmaker.ai/v2/workspace/{workspaceId}/credits \
  --header 'Authorization: Bearer <token>'
{
  "credits": 123,
  "status": "TRIAL"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

ID do workspace

Response

200
application/json

Quantidade de crédito disponível

The response is of type object.