Returns every template, in the order the dashboard shows them. With q, returns up to five templates that best match a short description of the business, best first. See Agent templates and quick setup.
Request#
Query#
| Field | Type | Required | Description |
|---|---|---|---|
q |
string | No | A few words about the business, for example plumber in Penrith. |
Example request#
curl "https://api.tried.com.au/list-agent-templates?q=dental%20clinic" \
-H "Authorization: Bearer $TRIED_API_KEY"const res = await fetch("https://api.tried.com.au/list-agent-templates?q=dental%20clinic", {
headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const templates = await res.json();import os, requests
res = requests.get(
"https://api.tried.com.au/list-agent-templates",
params={"q": "dental clinic"},
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
templates = res.json()Response#
200 OK with an array of templates.
| Field | Type | Description |
|---|---|---|
id |
string | Template id, used as template_id in Create agent from template. |
name |
string | Display name. |
category |
string | Popular, Trades and home, Health, Legal and finance, Property, Hospitality and lifestyle or Outbound. |
description |
string | One sentence on what the agent does. |
icon |
string | Icon name the dashboard uses. |
direction |
string | inbound or outbound. |
persona |
string | The agent's first name. |
voice_id |
string | Default voice. |
agent_name |
string | Agent name used when no business name is given. |
example_business |
string | Business name used in the example facts. |
needs |
string[] | What to set up after creating: calendar (optional, sample functions work without one) and transfer (a number to transfer to). |
does |
string[] | Short list of what the agent handles. |
keywords |
string[] | Words used for matching q. |
suggested |
boolean | Shown with a Suggested badge in the dashboard. |
[
{
"id": "dental",
"name": "Dental clinic",
"category": "Health",
"direction": "inbound",
"persona": "Kate",
"voice_id": "11labs-Kate",
"needs": ["calendar"]
}
]Errors#
| Status | When |
|---|---|
400 |
Validation failed. |
401 |
Missing or invalid API key. |
403 |
The key's IP allowlist or scopes reject the request. This route needs the agents scope. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.