Get one text template

Get a template's content, to load it for editing. With campaign_id, the location's details are filled into the merge fields; if that campaign's text channel has a template, you get that template instead of smsTemplateId, with [landingPageUrl] set to the channel's landing page link. Returns the template.

Prerequisites: a bearer token and the template's id (value in GET /api/v1/campaign/template/sms/list). Optional: a campaign id (campaign_id).

Authentication: Account token. The template must belong to your account tree or be a shared (global) template (otherwise 422), and campaign_id must be one of your campaigns.

Rate limit: none.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Defaults to 469

Required. The template's id (value in List text templates). Must be one of your account's templates or a shared template.

Query Params
integer
Defaults to 4823

A campaign to preview the text for. Its location's details fill the merge fields. When the campaign's text channel has a template, that template is returned instead of smsTemplateId. Must be one of your campaigns.

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