Get Voice Templates
Retrieve your saved Voice Templates from IntelSend 🎤🚀
This endpoint allows you to list voice templates, with support for filters like search, sorting via column and direction, and pagination via page.
Why Retrieve Templates?
- 🎤 View all voice templates you’ve created
- 🔍 Search & filter by template name or flow
- 📑 Paginate through large template libraries
- 🛠️ Manage easily by combining with create & delete APIs
Endpoint
GET https://beta.intelsend.com/api/template/?channel=voice&column=""&direction=""&search=""&page=""
Example Request
curl --location 'https://beta.intelsend.com/api/template/?channel=voice&column=%22%22&direction=%22%22&search=%22%22&page=%22%22' \
--header 'Cookie: __Secure-next-auth.session-token=<YOUR_SESSION_TOKEN>'
Example Response
{
"success": true,
"templates": [
{
"id": "tmpl_voice_12345",
"templateName": "Customer Greeting",
"channel": "voice",
"voiceJson": {
"nodes": [
{
"id": "textnode_1",
"type": "textnode",
"data": {
"label": "Start Interaction",
"isStart": true,
"isEndNode": true,
"text": "Hello {{NAME}}, this is your reminder call."
}
}
],
"edges": []
},
"createdAt": "2025-08-27T12:00:00Z"
}
],
"page": 1,
"pageSize": 10,
"total": 1
}
```
---
Query Parameters
## Query Parameters
| Parameter | Type | Description | Required | Default |
|-----------|--------|-----------------------------------------------------------------------------|----------|---------|
| channel | string | Set to **voice** to filter voice templates. | Yes | - |
| column | string | Column to sort by (e.g., `templateName`, `createdAt`). Leave empty for default sorting. | No | "" |
| direction | string | Sort direction: `asc` or `desc`. Leave empty for default. | No | "" |
| search | string | Search term to filter templates by name or content. Leave empty for no filtering. | No | "" |
| page | int | Page number for pagination (starting from 1). | No | 1 |
---