Skip to main content

Get Templates

GET 

/api/crm/v1/templates

Returns one page of the CRM templates for a channel, so you can look up a template id to use as templateId in Send Campaign (POST /rx-api/campaign/v1/send/campaign). Send Direct Content doesn't use templates.

  • Channel: set type to Email, SMS, ON_SITE, PUSH_IN_APP, WEB_PUSH or RICH_INBOX, exactly as written. Other values (for example EMAIL or email) return 400. If type is omitted, Email is used.
  • Which templates: every template that isn't archived, active or not. For Email and SMS, internal send-direct templates are left out.
  • Search: filterByName matches any part of the template name, ignoring case. For example, mail matches "Email welcome" and "My Mail".
  • Order and paging: results are sorted by name, A to Z (case-sensitive). Use page (starting at 1) and perPage (default 25, max 100), and follow page and pages to walk the full list.
  • No match: returns 200 with an empty data list and total of 0.

The response lists each template's id and name only. To find a template's placeholder keys for Send Campaign, open the template in the Admin Dashboard under CRM templates.

Request​

Responses​

One page of templates. Returns an empty data list when nothing matches.