Threads
Get Thread GET /threads/{threadId}
Delete Thread DELETE /threads/{threadId}
List Threads GET /threads
Mark Thread as Read PATCH /threads/{threadId}/read
Thread Items
Get Thread Items GET /threads/{threadId}/items
Delete Thread Item DELETE /threads/{threadId}/items
Authorizations
Path parameters
threadIdstringRequired
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/threads/{threadId} 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",
"allSubscribers": true,
"groups": [
1
],
"subscribers": [
1
]
}
}
Authorizations
Path parameters
threadIdstringRequired
Responses
200
Success
application/json
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
delete
DELETE /v3/threads/{threadId} HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"error": "text",
"message": "text",
"data": null
}
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/threads 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",
"unread": true,
"latestMessage": {
"message": "text",
"timestamp": "text"
},
"multipleRecipients": true
}
],
"page": 1,
"pageSize": 1,
"total": 1
}
}
Authorizations
Path parameters
threadIdstringRequired
Responses
200
Success
application/json
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
patch
PATCH /v3/threads/{threadId}/read HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"error": "text",
"message": "text",
"data": null
}
Authorizations
Path parameters
threadIdstringRequired
Query parameters
pagenumberRequired
pageSizenumberRequired
getScheduledbooleanRequired
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/threads/{threadId}/items?page=1&pageSize=1&getScheduled=true HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"error": "text",
"message": "text",
"data": {
"accountId": 1,
"name": "text",
"items": [
{
"id": 1,
"timestamp": "text",
"message": 1,
"inbound": 1,
"table": 1,
"scheduled": true,
"users": 1,
"replyFrom": 1,
"url": 1
}
],
"count": 1,
"multipleRecipients": true,
"recentReply": {
"name": "text",
"number": "text"
}
}
}
Authorizations
Path parameters
threadIdstringRequired
Responses
200
Success
application/json
400
BadRequestError
application/json
401
UnauthorizedError
application/json
403
ForbiddenError
application/json
500
InternalServerError
application/json
delete
DELETE /v3/threads/{threadId}/items HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"error": "text",
"message": "text",
"data": null
}
Last updated
Was this helpful?