Get SMS Template Versions

msg91.get_template_versions
ActionVoice & SMSconnection required

Calls the MSG91 API with the connection's credentials.

Retrieve every saved version of an SMS template, newest first.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
MSG91
Secret shape
the MSG91 authkey, or {"authkey": "…"}
Config it needs
base_url, sms_template_id, otp_template_id
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
template_id
The SMS template whose versions should be listed.
stringYes——65f1b2c3d4e5f60718293a4b

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "template_id": "65f1b2c3d4e5f60718293a4b"
}

Output

One shape.

result

FieldTypeExample
template_id
The template the versions belong to.
string—
versions
One record per version, with its sender_id, template_data and DLT_ID.
array—
count
How many versions the template has.
number—
status
MSG91's own status word for the lookup.
string—
{
  "count": 0,
  "status": "",
  "template_id": "",
  "versions": []
}

See Get SMS Template Versions run in a workflow.

In a technical demo we add the MSG91 connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.