Skip to main content
GET
/
workspaces
List workspaces
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": []
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Response

User's workspaces

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