Skip to content
GET
https://api.voice213.com/api/v1/me
Try it
curl https://api.voice213.com/api/v1/me \
  -H "Authorization: Bearer $VOICE213_API_KEY"
{
  "success": true,
  "account": {
    "credit": 4865.91,
    "currency": "DZD"
  },
  "key": {
    "name": "My Store Backend",
    "rateLimit": { "rpm": 600, "rpd": 1000, "concurrentRequests": 20, "maxTextWords": 5000 }
  }
}

Returns your API credit and the name and limits of the key you called with. It's free, and it doesn't count toward your rate limits. Use it to check that a key works before you start, or to read your balance from code.

It answers only what the API uses. Your email, name, plan and plan credits aren't in it, so a key that leaks doesn't reveal who you are. The response is never cached.

Authorizations

Authorizationstringrequired

Your API key as a Bearer token: Bearer sk_live_.... See Authentication.

Response

application/json
successbooleanrequired

true.

accountobjectrequired

Your API credit.

Show properties
creditnumberrequired

Your API credit, in dinars, rounded to the centime. This is what API requests are paid from.

currencystringrequired

DZD.

keyobjectrequired

The key you called with.

Show properties
namestringrequired

The name you gave the key.

rateLimitobjectrequired

The key's limits, the same for every key: rpm (600 requests per minute), rpd (1,000 requests per day), concurrentRequests (20 voice-overs running at once) and maxTextWords (5,000 words per voice-over, tone directions included, in either format). See Rate Limits.

Errors

StatusErrorWhen
401Missing API key. Pass it as 'Authorization: Bearer sk_live_...'The request has no key.
401Invalid or inactive API keyThe key is wrong, switched off or deleted.
403Account deactivatedThe account that owns the key is deactivated or suspended. Contact support.
403API_ACCESS_BLOCKED (in code)API access was switched off for the account. The message in error is in Arabic. Contact support. See API access switched off.
429Rate limit exceeded: RPM limit exceeded or Rate limit exceeded: Daily limit exceededYour key used up its requests for the minute or the day. This call doesn't count toward them, but it's refused while they're used up.
503MAINTENANCE (in code)The API is down for maintenance. Retry later. See Paused models and maintenance.

Was this page helpful?