API References
cURL
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>" } }
Get account details
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Account details retrieved successfully
ID of the account
Name of the paid plan
Text API quota
Remaining quota
Show child attributes
Was this page helpful?