post
https://production-api.shoutaboutus.com/api/v1/campaign/template/sms/update
Update an existing SMS template (content, name, landing-page and review-site links). Copy-on-write for globals: a template with no company_id copies into the caller's company first (a name clash returns 400). When you supply channel_id the template is set as that channel's template_id.
Auth
- bearer token, account role — authentication.
sms_template_idmust resolve to a template owned by the caller's company (or a global one).
Rate limit
- No rate limit.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
sms_template_id | integer | Required | Must be an existing SMS template inside your own account tree. |
content | string | Required | SMS body with placeholders. |
name | string | Optional | New name. Unique within the caller's company and against global (shared) templates (ignores this row). |
channel_id | integer | Optional | Must be an existing campaign channel. Sets the channel's template_id. |
landing_page_id | integer | Optional | Must be an existing landing-page template. |
review_site_id | integer | Optional | Must be an existing review site. |
Behaviour
- Synchronous.
200 OKreturnsdata.data=only(id,name,content,landing_page_id,review_site_id,store_id).400(envelope) when replicating a global and the name already exists for the company.422on validation failure or when the template is not in the caller's company.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
