Talkr AI
API ReferenceAgents

Create from Template

Generate a voice agent from a natural language description

Talkr uses an LLM to generate the initial workflow definition from your description. The result is a fully editable agent — use Update to refine it after creation.

This is the fastest way to get a working agent, especially for common use cases like appointment booking, lead qualification, or customer support.

POST
/api/v1/workflow/create/template

Header Parameters

authorization?string|null
X-API-Key?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/workflow/create/template" \  -H "Content-Type: application/json" \  -d '{    "call_type": "inbound",    "use_case": "string",    "activity_description": "string"  }'
{  "id": 0,  "name": "string",  "status": "string",  "created_at": "2019-08-24T14:15:22Z",  "workflow_definition": {},  "current_definition_id": 0,  "template_context_variables": {},  "call_disposition_codes": {    "disposition_codes": []  },  "total_runs": 0,  "workflow_configurations": {},  "version_number": 0,  "version_status": "string",  "workflow_uuid": "string"}