For the complete documentation index, see llms.txt. Any page on this site can be fetched as Markdown by appending .md to its URL.

Voice agentsData collection

List data collection templates

GET
/v1/agent-media/data-collection/templates

Starting points for an agent's fields, such as contact details or an appointment request. A template is copied into the agent's config when you pick it, so a later change to a template never alters an agent you already set up.

Authorization

bearerAuth
AuthorizationBearer <token>

A Tandem bearer token. Requests are scoped to the organization the token belongs to; no organization header is required.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/agent-media/data-collection/templates"
{  "templates": [    {      "id": "string",      "name": "string",      "description": "string",      "fields": [        {          "key": "string",          "label": "string",          "kind": "full_name",          "required": false,          "prompt": ""        }      ]    }  ]}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}