Skip to main content
GET
Get an SMS template

Authorizations

collectwise_key
string
header
required

Active, unexpired API key belonging to an active organization. Optional organization/key signing and organization IP restrictions also apply; see API Access.

Headers

x-cw-timestamp
string

Required together with x-cw-signature when signing is enabled for this key or organization. POST /security/verify also requires signing whenever a usable secret exists. Canonical Unix seconds, within ±300 seconds. See API Access for CW1 signing.

Pattern: ^(0|[1-9][0-9]*)$
x-cw-signature
string

CW1 HMAC-SHA256 signature: v1= followed by 64 lowercase hex digits. Use the decoded 32-byte signing secret and exact request bytes. See API Access.

Pattern: ^v1=[0-9a-f]{64}$

Path Parameters

templateId
integer
required

The template's identifier.

Response

The template.

templateId
integer
required

Identifier for the template.

accountId
string
required

The account the template belongs to (your organization's configured account).

message
string
required

The template body, containing {placeholder} tokens.

placeholders
string[]
required

Variable names you must supply in variables when sending.