Chatbots
Create Chatbot POST /chatbots
Get Chatbot GET /chatbots/{chatbotId}
Update Chatbot PATCH /chatbots/{chatbotId}
List Chatbots GET /chatbots
Authorizations
Body
namestringRequired
descriptionstring | nullableOptional
instructionsstringRequired
longcodeIdnumberRequired
filesstring[]Optional
isEnabledbooleanOptional
Responses
200
Success
application/json
Responseall of
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
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"
}
]
}
}
Authorizations
Path parameters
chatbotIdstringRequired
Responses
200
Success
application/json
Responseall of
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
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"
}
]
}
}
Authorizations
Path parameters
chatbotIdstringRequired
Body
namestringOptional
descriptionstring | nullableOptional
instructionsstringOptional
filesstring[]Optional
isEnabledbooleanOptional
Responses
200
Success
application/json
Responseall of
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
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"
}
]
}
}
Authorizations
Query parameters
pagenumberOptional
pageSizenumberOptional
sortBystringOptional
sortDirectionstring · enumOptionalPossible values:
querystringOptional
Responses
200
Success
application/json
Responseall of
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
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?