Documentation Index
Fetch the complete documentation index at: https://docs.encrata.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires a JWT token or API key in the Authorization header.
Authorization: Bearer YOUR_TOKEN
Request
Query parameters
Filter templates by category (e.g., enrichment, monitoring, integration).
Example request
curl "https://encrata.com/api/workflows/templates" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
{
"templates": [
{
"id": "tmpl_lead_enrich",
"name": "Lead Enrichment",
"description": "Enrich emails with company data and send to webhook",
"category": "enrichment",
"steps": [
{ "type": "email_lookup" },
{ "type": "company_lookup" },
{ "type": "webhook" }
]
},
{
"id": "tmpl_breach_alert",
"name": "Breach Alert Pipeline",
"description": "Check dark web for breaches and notify via webhook",
"category": "monitoring",
"steps": [
{ "type": "darkweb_lookup" },
{ "type": "condition" },
{ "type": "webhook" }
]
}
]
}
Usage
To create a workflow from a template, pass the template_id in the Create Workflow request:
curl -X POST "https://encrata.com/api/workflows" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "name": "My Lead Pipeline", "template_id": "tmpl_lead_enrich" }'