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>"
}
}
]
}
}
}Returns all API keys for a workspace.
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>"
}
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workspace ID
1