Skip to main content
POST
Send a template message by phone number

Authorizations

x-organization-id
string
header
required

Your SmartSend Organization ID. Required on every request.

Body

application/json
phoneNumber
string
required

Phone number in any format (972..., 05..., +972...)

templateName
string
required

Name of the approved WhatsApp template

languageCode
string

Template language code (default 'he')

parameters
string[]

Template parameters for variable substitution

sentByUserId
string
sentByUserName
string
avoidBlacklist
boolean

When true, the send is skipped if the number is blacklisted.

headerMediaUrl
string

Optional public URL for header media (image/video/document). Overrides the template's default media at send time.

urlButtonParams

Optional. Per-send values for dynamic URL buttons (URL contains {{1}} in the stored template). Two accepted shapes:

  • Positional array: ["abc", null, "xyz"] (index = button position in template)
  • Make.com Array of Collections: [{ "buttonIndex": 0, "value": "abc" }, ...] Buttons not listed (or with null/empty value) fall back to Meta's example URL.

Response

200

Template message sent successfully