Chatbots

Create Chatbot

post
Authorizations
Body
namestringRequired
descriptionstring | nullableOptional
instructionsstringRequired
longcodeIdnumberRequired
filesstring[]Optional
isEnabledbooleanOptional
Responses
200

Success

application/json
Responseall of
post
POST /v3/chatbots HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 107

{
  "name": "text",
  "description": "text",
  "instructions": "text",
  "longcodeId": 1,
  "files": [
    "text"
  ],
  "isEnabled": true
}
{
  "success": true,
  "error": "text",
  "message": "text",
  "data": {
    "id": 1,
    "name": "text",
    "description": "text",
    "instructions": "text",
    "longcodeId": 1,
    "isEnabled": 1,
    "createdAt": "2025-10-13T11:13:02.451Z",
    "conversationCount": 1,
    "files": [
      {
        "id": 1,
        "filePath": "text",
        "url": "text"
      }
    ]
  }
}

Get Chatbot

get
Authorizations
Path parameters
chatbotIdstringRequired
Responses
200

Success

application/json
Responseall of
get
GET /v3/chatbots/{chatbotId} HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "success": true,
  "error": "text",
  "message": "text",
  "data": {
    "id": 1,
    "name": "text",
    "description": "text",
    "instructions": "text",
    "longcodeId": 1,
    "isEnabled": 1,
    "createdAt": "2025-10-13T11:13:02.451Z",
    "conversationCount": 1,
    "files": [
      {
        "id": 1,
        "filePath": "text",
        "url": "text"
      }
    ]
  }
}

Update Chatbot

patch
Authorizations
Path parameters
chatbotIdstringRequired
Body
namestringOptional
descriptionstring | nullableOptional
instructionsstringOptional
filesstring[]Optional
isEnabledbooleanOptional
Responses
200

Success

application/json
Responseall of
patch
PATCH /v3/chatbots/{chatbotId} HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 92

{
  "name": "text",
  "description": "text",
  "instructions": "text",
  "files": [
    "text"
  ],
  "isEnabled": true
}
{
  "success": true,
  "error": "text",
  "message": "text",
  "data": {
    "id": 1,
    "name": "text",
    "description": "text",
    "instructions": "text",
    "longcodeId": 1,
    "isEnabled": 1,
    "createdAt": "2025-10-13T11:13:02.451Z",
    "conversationCount": 1,
    "files": [
      {
        "id": 1,
        "filePath": "text",
        "url": "text"
      }
    ]
  }
}

List Chatbots

get
Authorizations
Query parameters
pagenumberOptional
pageSizenumberOptional
sortBystringOptional
sortDirectionstring · enumOptionalPossible values:
querystringOptional
Responses
200

Success

application/json
Responseall of
get
GET /v3/chatbots HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "success": true,
  "error": "text",
  "message": "text",
  "data": {
    "rows": [
      {
        "id": 1,
        "name": "text",
        "description": "text",
        "instructions": "text",
        "longcodeId": 1,
        "isEnabled": 1,
        "createdAt": "2025-10-13T11:13:02.451Z",
        "conversationCount": 1,
        "files": [
          {
            "id": 1,
            "filePath": "text",
            "url": "text"
          }
        ]
      }
    ],
    "page": 1,
    "pageSize": 1,
    "total": 1
  }
}

Last updated

Was this helpful?