Skip to main content
GET
/
v1
/
chatbots
/
my-chatbots
Get My Chatbots
curl --request GET \
  --url https://interhemispheric-unwet-paulene.ngrok-free.dev/api/v1/chatbots/my-chatbots \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Success",
  "data": {
    "accounts": [
      {
        "accountId": "360596271623307865",
        "accountName": "My Workspace",
        "userRole": "SUPER_ADMIN",
        "chatbots": [
          {
            "chatbotId": "361628903185318481",
            "name": "Support Bot",
            "description": "Handles customer queries",
            "isActive": true,
            "createdByUserId": "360596271623307865",
            "createdAt": "2024-01-15T10:30:00.000Z",
            "updatedAt": "2024-01-20T14:00:00.000Z",
            "accountId": "360596271623307865",
            "userChatbotRole": "SUPER_ADMIN"
          }
        ]
      }
    ],
    "totalCount": 1
  }
}
Returns all chatbots the authenticated user personally has access to, grouped by account — across every account they belong to. No accountId is required. Access rules per account:
  • SUPER_ADMIN or account owner → sees all chatbots in that account, with their per-chatbot role resolved via a left join on chatbot_members
  • Regular member → sees only chatbots they are explicitly added to in chatbot_members
Contrast with Get All Chatbots in Account: that endpoint is scoped to a single account, requires accountId, returns a flat unfiltered list.

Authorizations

Authorization
string
header
required

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

Response

Success

success
boolean
Example:

true

message
string
Example:

"Success"

data
object