Workspaces
Get Workspace
API Reference
API Documentation
V3
- Get Started
- π Workspaces
- π€ Agents
- Calls & Numbers
- π¨ Tools
- βοΈ Variables
- π₯ Leads
- π§ Knowledge Base
Agents
- Introduction
- GETGet Agent
- POSTCreate/Edit Agent
- DELDelete Agent
- POSTChat Interact
- POSTConfigure State
- π§ Knowledge Base
- π¬ Conversations
- π Analytics
Workspaces
- GETGet Workspace
- POSTEdit Workspace
- DELDelete Workspace
- πΌ Agency
- π’ Orgs
- π€ Clients
Workspaces
Get Workspace
Returns workspace associated with the bearer token
GET
/
v2
/
workspaces
curl --request GET \
--url https://eu-vg-edge.moeaymandev.workers.dev/v2/workspaces \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Workspaces retrieved successfully",
"data": {
"uid": "<string>",
"displayName": "<string>",
"email": "<string>",
"loadTokens": 123,
"referredFrom": "<string>",
"joinedAt": 123,
"ownerId": "<string>",
"photoURL": "<string>",
"workspaceName": "<string>",
"workspaceEmails": [
"<string>"
],
"workspacePhotoURL": "<string>",
"workspaceSecret": "<string>"
}
}
Authorizations
Workspace secret API key, found in the workspace settings page (top left).
Response
200
application/json
Workspaces retrieved
Workspace associated with bearer token
The unique identifier for the user/workspace.
The display name of the user.
The email address of the user.
Amount of load tokens in the user account/workspace.
Referral source for the user.
Timestamp indicating when the user joined the workspace.
The unique identifier of the workspace owner.
URL to the user's photo.
The name of the workspace.
List of email addresses associated with the workspace.
URL to the workspace photo.
Secret key for the workspace.
curl --request GET \
--url https://eu-vg-edge.moeaymandev.workers.dev/v2/workspaces \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Workspaces retrieved successfully",
"data": {
"uid": "<string>",
"displayName": "<string>",
"email": "<string>",
"loadTokens": 123,
"referredFrom": "<string>",
"joinedAt": 123,
"ownerId": "<string>",
"photoURL": "<string>",
"workspaceName": "<string>",
"workspaceEmails": [
"<string>"
],
"workspacePhotoURL": "<string>",
"workspaceSecret": "<string>"
}
}