Skip to main content

Create Voice Template

The IntelSend Voice Template API lets you create reusable call flows powered by text-to-speech (TTS), interactive nodes, and retry logic.

With templates, you can standardize voice experiences, personalize call messages, and automate outbound campaigns at scale.


Why Create Voice Templates?

  • 🎤 Reusable Call Flows → Define once, use across multiple campaigns
  • 🧠 Interactive & Smart → Supports nodes, logic, and voicemail detection
  • ⏱️ Save Time → Automate calls instead of building from scratch
  • 🔐 Secure → Managed with your IntelSend API session

Create a Voice Template (API Request)

Use the following request to create a new Voice Template:

curl --location 'https://beta.intelsend.com/api/template/' \
--header 'Content-Type: application/json' \
--header 'Cookie: __Secure-next-auth.session-token=<YOUR_SESSION_TOKEN>' \
--data '{
"templateName": "Voice Template",
"body": "<Response><Answer/><Pause length=\"1\" history=\"compact\"/></Response>",
"channel": "voice",
"voiceJson": {
"nodes": [
{
"id": "textnode_1",
"type": "textnode",
"position": {
"x": 574.4,
"y": 146.11
},
"markerEnd": {
"type": "arrow"
},
"Icon": "<Add />",
"data": {
"label": "Start Interaction",
"isStart": true,
"isEndNode": true,
"text": "Init"
},
"width": 120,
"height": 120,
"positionAbsolute": {
"x": 574.4,
"y": 146.11
}
}
],
"edges": [],
"viewport": {
"x": 0,
"y": 0,
"zoom": 1
}
}
}'

Request Parameters

FieldTypeDescription
templateNamestringA name for your template (e.g., "IVR Template").
bodystringVoice XML (e.g., <Response><Answer/><Pause/></Response>).
channelstringMust be set to "voice".
voiceJsonobjectJSON flow structure (nodes, edges, viewport) for IntelSend’s voice builder.

✅ Once created, your Voice Template will be available for use in outbound campaigns.

Need help? Contact us at support@intelsend.com.