Workflows
List Workflows
List all workflows for the authenticated user.
GET
/
api
/
workflows
List Workflows
curl --request GET \
--url https://developer.encrata.com/api/workflows \
--header 'Authorization: Bearer <token>'import requests
url = "https://developer.encrata.com/api/workflows"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://developer.encrata.com/api/workflows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://developer.encrata.com/api/workflows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://developer.encrata.com/api/workflows"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://developer.encrata.com/api/workflows")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://developer.encrata.com/api/workflows")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"workflows": [
{}
],
"workflows[].id": "<string>",
"workflows[].name": "<string>",
"workflows[].description": "<string>",
"workflows[].status": "<string>",
"workflows[].trigger": {},
"workflows[].steps": [
{}
],
"workflows[].created_at": "<string>",
"workflows[].updated_at": "<string>",
"total": 123,
"page": 123
}Authentication
Requires a JWT token or API key in theAuthorization header.
Authorization: Bearer YOUR_TOKEN
Request
Query parameters
integer
Page number (default: 1).
integer
Items per page (default: 20, max: 100).
string
Filter by status:
active, paused, or draft.Example request
curl "https://developer.encrata.com/api/workflows?status=active&limit=10" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
Returns a paginated list of workflow objects.array
Array of workflow objects.
string
Unique workflow identifier.
string
Workflow display name.
string
Human-readable description.
string
Current status:
active, paused, or draft.object
Trigger configuration (type, schedule, etc.).
array
Array of step definitions.
string
ISO 8601 creation timestamp.
string
ISO 8601 last update timestamp.
integer
Total number of workflows.
integer
Current page number.
Example response
{
"workflows": [
{
"id": "wf_abc123",
"name": "Enrich new leads",
"description": "Email lookup → webhook",
"status": "active",
"trigger": { "type": "webhook" },
"steps": [
{ "id": "step1", "type": "email_lookup", "config": { "field": "email" } },
{ "id": "step2", "type": "webhook", "config": { "url": "https://hooks.example.com/lead" } }
],
"created_at": "2026-05-01T10:00:00Z",
"updated_at": "2026-05-28T14:30:00Z"
}
],
"total": 1,
"page": 1
}
Was this page helpful?
List Workflows
curl --request GET \
--url https://developer.encrata.com/api/workflows \
--header 'Authorization: Bearer <token>'import requests
url = "https://developer.encrata.com/api/workflows"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://developer.encrata.com/api/workflows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://developer.encrata.com/api/workflows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://developer.encrata.com/api/workflows"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://developer.encrata.com/api/workflows")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://developer.encrata.com/api/workflows")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"workflows": [
{}
],
"workflows[].id": "<string>",
"workflows[].name": "<string>",
"workflows[].description": "<string>",
"workflows[].status": "<string>",
"workflows[].trigger": {},
"workflows[].steps": [
{}
],
"workflows[].created_at": "<string>",
"workflows[].updated_at": "<string>",
"total": 123,
"page": 123
}