Skip to content

marketplace.templates.hire

Create an agent from a template.

Reference

POST/api/v1/agent-templates/{template_id}/create

Auth
API key in X-API-Key
Content
application/json
Returns
200 · Response Create From Template Api V1 Agent Templates Template Id Create Post

Make this template into an agent the account owns, and return it. The other door into the product. The wizard asks eleven questions and then runs a language model to write a flow, which is the right thing for a business we have no template for and the wrong thing for a dental clinic when a dental clinic template already exists. No model override is written. The recommended stack on a template names vendors, and the agent-level override speaks in managed tiers; translating one into the other here would pin a vendor that the tier is meant to be free to move. Inheriting the organization default gets the same Indic-first stack the template's rationale is describing, and keeps moving when we move it.

Arguments

ArgumentInTypeRequiredDescription
template_idpathstringrequired

Example request

curl -X POST "https://api.decibyl.ai/api/v1/agent-templates/<template_id>/create" \
  -H "X-API-Key: dcb_your_key" \
  -H "Content-Type: application/json" \
  -d '{"voice_id":"string","voice_gender":"male","agent_name":"string","variables":{},"greeting":"string","source":"string"}'

Response

{}

Errors

StatusWhen
404Not found
422Validation Error