Users

Get all SMS templates for organization

GET
/api/user/sms-templates

Returns SMS, campaign, script, and automation templates visible to the authenticated user, optionally filtered by template type.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

type?string

Value in

  • "sms"
  • "campaign"
  • "script"
  • "automation"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/user/sms-templates"
[  {    "_id": "64eea1110000000000000050",    "name": "Intro - new lead",    "template": "Hi {{firstName}}, thanks for reaching out - when is a good time to chat?",    "type": "sms",    "category": "introduction"  }]