Skip to main content
GET
/
api
/
workflows
/
{id}
Get Workflow
curl --request GET \
  --url https://encrata.com/api/workflows/{id} \
  --header 'Authorization: Bearer <token>'

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

id
string
required
The workflow ID.

Example request

curl "https://encrata.com/api/workflows/wf_abc123" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

Returns the full workflow object including trigger, steps, and metadata.
{
  "id": "wf_abc123",
  "name": "Lead enrichment pipeline",
  "description": "Enrich emails then send to CRM",
  "status": "active",
  "trigger": { "type": "webhook" },
  "steps": [
    { "id": "step1", "type": "email_lookup", "config": { "field": "email" } },
    { "id": "step2", "type": "webhook", "config": { "url": "https://crm.example.com/api/leads" } }
  ],
  "version": 3,
  "created_at": "2026-05-01T10:00:00Z",
  "updated_at": "2026-05-28T14:30:00Z"
}