Templates
Create Template POST /templates
Get Template GET /templates/{id}
Update Template PATCH /templates/{id}
Delete Template POST /templates/{id}
List Templates GET /templates
Required Fields: message
Defaults:
isMMS
will default to false and a regular sms template will be created unless an attachment
is provided. If name
is not provided, up to the first 32 characters of the message will be used as the name.
undefined
Success
BadRequestError
UnauthorizedError
ForbiddenError
InternalServerError
POST /v3/templates HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"name": "text",
"message": "text",
"attachment": "text",
"isMMS": true
}
{
"success": true,
"error": "text",
"message": "text",
"data": {
"id": 1,
"name": "text",
"message": "text",
"timestamp": "2025-10-13T13:19:21.429Z",
"attachment": "text",
"mms": true
}
}
Success
BadRequestError
UnauthorizedError
ForbiddenError
InternalServerError
GET /v3/templates/{id}?isMMS=text 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",
"message": "text",
"timestamp": "2025-10-13T13:19:21.429Z",
"attachment": "text",
"mms": true
}
}
Success
BadRequestError
UnauthorizedError
ForbiddenError
InternalServerError
PATCH /v3/templates/{id} HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"name": "text",
"message": "text",
"attachment": "text",
"isMMS": true,
"updateAsMMS": true
}
{
"success": true,
"error": "text",
"message": "text",
"data": {
"id": 1,
"name": "text",
"message": "text",
"timestamp": "2025-10-13T13:19:21.429Z",
"attachment": "text",
"mms": true
}
}
Success
BadRequestError
UnauthorizedError
ForbiddenError
InternalServerError
POST /v3/templates/{id} HTTP/1.1
Host: api.mobile-text-alerts.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"isMMS": true
}
{
"success": true,
"error": "text",
"message": "text",
"data": null
}
Success
BadRequestError
UnauthorizedError
ForbiddenError
InternalServerError
GET /v3/templates 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",
"message": "text",
"timestamp": "2025-10-13T13:19:21.429Z",
"attachment": "text",
"mms": true
}
],
"page": 1,
"pageSize": 1,
"total": 1
}
}
Last updated
Was this helpful?