Create a text template

Create a new text message template, to set up a campaign's text. You'll need a name. The message isn't sent here: the template starts with a standard message (content in the response), which you change with POST /api/v1/campaign/template/sms/update. Returns the template with its id.

Prerequisites: a bearer token. Optional: a location id (store_id) to tie the template to one location.

Authentication: Account token. The template is saved under the account of the user behind the token. store_id, when sent, must be a location inside your own account tree; otherwise 422.

Rate limit: none.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
Defaults to Welcome SMS Template

The template's name. Must be unique among your account's templates and the shared (global) templates.

integer
Defaults to 3007

A location to tie the template to. Must be inside your account tree.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json