curl --request GET \
--url https://app.freyavoice.ai/api/v2/workspaces \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>",
"workspaceSettings": {
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"language": "<string>",
"webhooks": {}
},
"workspaceIntegrations": {
"workspaceId": "<string>",
"version": "<string>",
"assistantIds": []
},
"logoPath": "<string>",
"workspaceMembers": [],
"workspaceInvitations": []
}
]
}
}
}Returns all workspaces the authenticated user has access to, including settings and members.
curl --request GET \
--url https://app.freyavoice.ai/api/v2/workspaces \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>",
"workspaceSettings": {
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"language": "<string>",
"webhooks": {}
},
"workspaceIntegrations": {
"workspaceId": "<string>",
"version": "<string>",
"assistantIds": []
},
"logoPath": "<string>",
"workspaceMembers": [],
"workspaceInvitations": []
}
]
}
}
}