Chatbots
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired
descriptionstringOptional
instructionsstringRequired
longcodeIdnumberRequired
filesstring[]Optional
isEnabledbooleanRequired
Responses
200
Success
application/json
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
post/chatbots
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": "2026-01-01T00:00:00.000Z",
"conversationCount": 1,
"files": [
{
"id": 1,
"filePath": "text",
"url": "text"
}
]
}
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
chatbotIdstringRequired
Responses
200
Success
application/json
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
get/chatbots/{chatbotId}
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": "2026-01-01T00:00:00.000Z",
"conversationCount": 1,
"files": [
{
"id": 1,
"filePath": "text",
"url": "text"
}
]
}
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
chatbotIdstringRequired
Body
namestringOptional
descriptionstringOptional
instructionsstringOptional
filesstring[]Optional
isEnabledbooleanOptional
Responses
200
Success
application/json
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
patch/chatbots/{chatbotId}
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": "2026-01-01T00:00:00.000Z",
"conversationCount": 1,
"files": [
{
"id": 1,
"filePath": "text",
"url": "text"
}
]
}
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pagenumberOptional
pageSizenumberOptional
sortDirectionstring · enumOptionalPossible values:
querystringOptional
sortBystringOptional
Responses
200
Success
application/json
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
get/chatbots
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": "2026-01-01T00:00:00.000Z",
"conversationCount": 1,
"files": [
{
"id": 1,
"filePath": "text",
"url": "text"
}
]
}
],
"page": 1,
"pageSize": 1,
"total": 1
}
}Last updated
Was this helpful?