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
Get Clients
Returns all clients associated with the bearer token
curl --request GET \
--url https://eu-vg-edge.moeaymandev.workers.dev/v2/clients \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Clients retrieved successfully",
"data": [
{
"ID": "<string>",
"ownerID": "<string>",
"orgUsers": [
"<any>"
],
"orgId": "<string>",
"name": "<string>",
"squarePhotoURL": "<string>",
"email": "<string>",
"dashboardPassword": "<string>",
"canAccess": [
"/overview"
],
"isOrgAdmin": true,
"notificationsSettings": {
"notifyThrough": "email",
"notifyIf": "all"
}
}
]
}
Authorizations
Workspace secret API key, found in the workspace settings page (top left).
Response
Array of client objects
The unique identifier for the client.
The owner user/workspace uid associated with the client.
List of organization users.
The unique identifier for the client.
The owner user/workspace uid associated with the client.
List of organization users.
The unique identifier for the client.
The owner user/workspace uid associated with the client.
List of organization users.
The unique identifier for the client.
The owner user/workspace uid associated with the client.
List of organization users.
The org ID associated with the client.
The name of the client.
URL to the square photo of the client.
The email address of the client (used as username to signin on dashboard).
Password for the client's dashboard (used as password to signin on dashboard).
List of hrefs the client can access.
/overview
, /home
, /convos
, /analytics
, /kb
, /settings
Indicates if the client is an organization admin.
Notification settings for the client.
The org ID associated with the client.
The name of the client.
URL to the square photo of the client.
The email address of the client (used as username to signin on dashboard).
Password for the client's dashboard (used as password to signin on dashboard).
List of hrefs the client can access.
/overview
, /home
, /convos
, /analytics
, /kb
, /settings
Indicates if the client is an organization admin.
Notification settings for the client.
The org ID associated with the client.
The name of the client.
URL to the square photo of the client.
The email address of the client (used as username to signin on dashboard).
Password for the client's dashboard (used as password to signin on dashboard).
List of hrefs the client can access.
/overview
, /home
, /convos
, /analytics
, /kb
, /settings
Indicates if the client is an organization admin.
The org ID associated with the client.
The name of the client.
URL to the square photo of the client.
The email address of the client (used as username to signin on dashboard).
Password for the client's dashboard (used as password to signin on dashboard).
List of hrefs the client can access.
/overview
, /home
, /convos
, /analytics
, /kb
, /settings
Indicates if the client is an organization admin.
curl --request GET \
--url https://eu-vg-edge.moeaymandev.workers.dev/v2/clients \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Clients retrieved successfully",
"data": [
{
"ID": "<string>",
"ownerID": "<string>",
"orgUsers": [
"<any>"
],
"orgId": "<string>",
"name": "<string>",
"squarePhotoURL": "<string>",
"email": "<string>",
"dashboardPassword": "<string>",
"canAccess": [
"/overview"
],
"isOrgAdmin": true,
"notificationsSettings": {
"notifyThrough": "email",
"notifyIf": "all"
}
}
]
}