Skip to main content
GET
/
workspaces
/
credits
Get credits
curl --request GET \
  --url https://app2.freyavoice.ai/api/v2/workspaces/credits \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "creditsLeft": 123
    }
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

workspaceId
string<uuid>
required

Workspace ID

Response

Credit balance

success
enum<boolean>
required
Available options:
true,
false
data
object
required