Templates
List templates
List shared and personal templates
GET
https://api.talktohumans.app
/
v1
/
templates
List templates
curl --request GET \
--url https://api.talktohumans.app/v1/templates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.talktohumans.app/v1/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.talktohumans.app/v1/templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.talktohumans.app/v1/templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"templates": [
{
"template_id": "tpl_6f1d2c3a-8b4e-4f5a-9c7d-2e1b0a9f8c7d",
"name": "Event follow-up",
"type": "message",
"scope": "shared",
"content": "Hi {{first_name}}, great meeting you at {{event_name}}. Would you be open to a quick call next week?",
"created_at": "2026-06-02T12:00:00Z",
"updated_at": "2026-06-02T12:00:00Z"
},
{
"template_id": "tpl_1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"name": "Connect and follow up",
"type": "sequence",
"scope": "personal",
"steps": [
{
"type": "connection_request",
"delay_minutes": 0,
"content": "Hi {{first_name}}, I'd love to connect."
},
{
"type": "message",
"delay_minutes": 4320,
"content": "Thanks for connecting, {{first_name}}! How is everything at {{company_name}}?"
}
],
"created_at": "2026-06-05T12:00:00Z",
"updated_at": "2026-06-07T12:00:00Z"
}
],
"pagination": {
"limit": 10,
"has_more": false
}
}
}
Authorizations
Pass API key as Authorization: Bearer <api_key>.
Query Parameters
Filter by template type. Defaults to all.
Available options:
all, message, sequence Page size. Defaults to 10. Values above 25 are clamped to 25.
Required range:
1 <= x <= 25Opaque cursor from the previous response's pagination.next_cursor.
Response
Templates.
Show child attributes
Show child attributes
⌘I
List templates
curl --request GET \
--url https://api.talktohumans.app/v1/templates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.talktohumans.app/v1/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.talktohumans.app/v1/templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.talktohumans.app/v1/templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"templates": [
{
"template_id": "tpl_6f1d2c3a-8b4e-4f5a-9c7d-2e1b0a9f8c7d",
"name": "Event follow-up",
"type": "message",
"scope": "shared",
"content": "Hi {{first_name}}, great meeting you at {{event_name}}. Would you be open to a quick call next week?",
"created_at": "2026-06-02T12:00:00Z",
"updated_at": "2026-06-02T12:00:00Z"
},
{
"template_id": "tpl_1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"name": "Connect and follow up",
"type": "sequence",
"scope": "personal",
"steps": [
{
"type": "connection_request",
"delay_minutes": 0,
"content": "Hi {{first_name}}, I'd love to connect."
},
{
"type": "message",
"delay_minutes": 4320,
"content": "Thanks for connecting, {{first_name}}! How is everything at {{company_name}}?"
}
],
"created_at": "2026-06-05T12:00:00Z",
"updated_at": "2026-06-07T12:00:00Z"
}
],
"pagination": {
"limit": 10,
"has_more": false
}
}
}