Skip to main content
GET
/
api-keys
/
check
Check API key
curl --request GET \
  --url https://app.freyavoice.ai/api/v2/api-keys/check \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "valid": true,
      "workspaceId": "<string>",
      "name": "<string>",
      "isActive": true,
      "expiresAt": "<string>",
      "rateLimit": {
        "requestsPerMinute": 123,
        "requestsPerDay": 123
      }
    }
  }
}

Authorizations

Authorization
string
header
required

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

Response

API key is valid

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