Skip to main content
GET
/
api-keys
List API keys
curl --request GET \
  --url https://app2.freyavoice.ai/api/v2/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "apiKeys": [
        {
          "id": "<string>",
          "key": "<string>",
          "workspaceId": "<string>",
          "userId": "<string>",
          "name": "<string>",
          "isActive": true,
          "createdAt": "<string>",
          "lastUsedAt": "<string>",
          "expiresAt": "<string>",
          "rateLimit": {
            "requestsPerMinute": 123,
            "requestsPerDay": 123
          },
          "creator": {
            "id": "<string>",
            "email": "[email protected]",
            "displayName": "<string>"
          }
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

workspaceId
string
required

Workspace ID

Minimum string length: 1

Response

API keys list

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