Get SMS template by ID

Get a single SMS template by id. When you supply campaign_id, resolves the campaign's active SMS channel template instead, substitutes [landingPageUrl] with the channel's landing-page URL (white-label aware) and replaces the remaining placeholders against the campaign's store.

Path params

ParameterTypeRequiredNotes
smsTemplateIdintegerRequiredDigits only. Must belong to your own company.

Auth

  • bearer token, account role — authentication. The template must be global or belong to the caller's own account tree (422 otherwise).

Rate limit

  • No rate limit.

Query

FieldTypeRequiredNotes
campaign_idintegerOptionalMust be an existing campaign. Resolve the campaign's SMS channel template with placeholders filled from its store.

Behaviour

  • Synchronous. 200 OK with the full model under data.data. 422 if the id/campaign_id is invalid or the template is outside the caller's company.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Response

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