Skip to main content
POST
Import SMS template to multiple automations

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
automationIds
string[]
required

Mongo ObjectIds of caller-owned automations to receive the template body; each must be SMS-enabled and is processed in a single Mongo transaction.

Required array length: 1 - 50 elements

Response

Template imported to all automations

Mixed success/partial-success/all-failure envelope. HTTP 200 = all imported; HTTP 207 = some imported; HTTP 400 = none imported. Inspect stats and per-target results[] for detail.

success
boolean
required
results
object[]
required
stats
object
required
message
string