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
| Field | Type | Description |
|---|---|---|
templateName | string | A name for your template (e.g., "IVR Template"). |
body | string | Voice XML (e.g., <Response><Answer/><Pause/></Response>). |
channel | string | Must be set to "voice". |
voiceJson | object | JSON 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.