curl --request GET \
--url https://app2.freyavoice.ai/api/v2/workspaces \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"workspaces": [
{
"id": "<string>",
"name": "<string>",
"ownerId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"workspaceSettings": {
"workspaceId": "<string>",
"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://app2.freyavoice.ai/api/v2/workspaces \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"workspaces": [
{
"id": "<string>",
"name": "<string>",
"ownerId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"workspaceSettings": {
"workspaceId": "<string>",
"language": "<string>",
"webhooks": {}
},
"workspaceIntegrations": {
"workspaceId": "<string>",
"version": "<string>",
"assistantIds": []
},
"logoPath": "<string>",
"workspaceMembers": [],
"workspaceInvitations": []
}
]
}
}
}