List SMS templates
Overview
Get SMS templates selectable for a store as a {value, label} dropdown source. The list combines the given store's templates, the caller account's templates, and global templates (where both company_id and store_id are NULL). Results are sorted by name.
Prerequisites
- A bearer token in the
Authorizationheader.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
GET /api/v1/campaign/template/sms/list
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
bearer token, account role — authentication. Company templates scoped to
user.person.company_id.
Rate limit
- No rate limit.
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
store_id | integer | Required | Store to list templates for. Must be in the caller's hierarchy (an ownership check). |
How it works
- Synchronous, not paginated.
200 OKwithdata.response= array of{value, label}.422ifstore_idis missing or outside the caller's hierarchy.
Response
200 OK · 200
200{
"data": {
"status": "success",
"response": [
{
"value": 1,
"label": "Welcome SMS Template"
}
]
}
}Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
422 | Returned if store_id is missing or outside the caller's hierarchy |
500 | Unexpected server error |
Example request
curl --request GET \
--url "https://production-api.shoutaboutus.com/api/v1/campaign/template/sms/list?store_id=123" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json'Updated 11 days ago
Did this page help you?
