GET
/
account
curl --request GET \
  --url https://moderationapi.com/api/v1/account \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "paid_plan_name": "<string>",
  "text_api_quota": 123,
  "remaining_quota": 123,
  "current_project": {
    "id": "<string>",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json
Account details retrieved successfully
id
string
required

ID of the account

paid_plan_name
string
required

Name of the paid plan

text_api_quota
number
required

Text API quota

remaining_quota
number
required

Remaining quota

current_project
object

Was this page helpful?