Skip to main content
GET
/
v2
/
workspace
/
{workspaceId}
/
credits
cURL
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

Quantidade de crédito disponível

credits
integer

Quantidade de crédito disponível no workspace

status
enum<string>

Status da assinatura

Available options:
TRIAL,
ACTIVE,
PAST_DUE,
CANCELED
I