Get automation
curl --request GET \
--url https://app.heyfred.nl/api/user/automate/flows/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.heyfred.nl/api/user/automate/flows/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.heyfred.nl/api/user/automate/flows/{id}', 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://app.heyfred.nl/api/user/automate/flows/{id}",
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://app.heyfred.nl/api/user/automate/flows/{id}"
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://app.heyfred.nl/api/user/automate/flows/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.heyfred.nl/api/user/automate/flows/{id}")
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{
"data": {
"id": "f4EaLhOW2zoEsXXSOJP2r",
"name": "Order lookup",
"status": "enabled",
"updated_at": "2026-07-24T18:23:57.259Z",
"definition": {
"name": "trigger",
"type": "PIECE_TRIGGER",
"displayName": "Catch Webhook",
"settings": {
"pieceName": "@activepieces/piece-webhook",
"triggerName": "catch_webhook"
},
"nextAction": {
"name": "step_1",
"type": "PIECE",
"displayName": "Look up the order",
"settings": {
"pieceName": "@activepieces/piece-http",
"actionName": "send_request",
"input": {
"url": "https://api.example.com/orders",
"method": "GET",
"headers": {
"Authorization": "••• hidden"
}
}
}
}
},
"binding": null
}
}
{
"message": "Automation not found"
}
Automations
Get automation
Get a single automation, including its full definition
GET
/
user
/
automate
/
flows
/
{id}
Get automation
curl --request GET \
--url https://app.heyfred.nl/api/user/automate/flows/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.heyfred.nl/api/user/automate/flows/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.heyfred.nl/api/user/automate/flows/{id}', 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://app.heyfred.nl/api/user/automate/flows/{id}",
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://app.heyfred.nl/api/user/automate/flows/{id}"
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://app.heyfred.nl/api/user/automate/flows/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.heyfred.nl/api/user/automate/flows/{id}")
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{
"data": {
"id": "f4EaLhOW2zoEsXXSOJP2r",
"name": "Order lookup",
"status": "enabled",
"updated_at": "2026-07-24T18:23:57.259Z",
"definition": {
"name": "trigger",
"type": "PIECE_TRIGGER",
"displayName": "Catch Webhook",
"settings": {
"pieceName": "@activepieces/piece-webhook",
"triggerName": "catch_webhook"
},
"nextAction": {
"name": "step_1",
"type": "PIECE",
"displayName": "Look up the order",
"settings": {
"pieceName": "@activepieces/piece-http",
"actionName": "send_request",
"input": {
"url": "https://api.example.com/orders",
"method": "GET",
"headers": {
"Authorization": "••• hidden"
}
}
}
}
},
"binding": null
}
}
{
"message": "Automation not found"
}
This endpoint returns a single automation you own, including its full definition (the trigger and its chained steps) so you can inspect or repair it.
A missing automation — or one that does not belong to your account — returns a
Path Parameters
string
required
The ID of the automation (from List automations)
Query Parameters
boolean
By default, credential-bearing values inside the definition (API keys, tokens,
Authorization headers) are masked as ••• hidden. Pass true to return them unmasked.Response
object
The automation
Show data properties
Show data properties
string
The unique ID of the automation
string
The display name of the automation
string
enabled or disabledstring
When the automation was last updated
object
The automation’s definition: the trigger object with its steps chained under
nextAction. This is the artifact you edit and send back through Update automation to repair or extend the automation. See Create automation for the definition format.object | null
When the automation is attached to an assistant event:
{type, assistant_id, assistant_name} (see List automations). Otherwise null.404 with {"message": "Automation not found"}.
{
"data": {
"id": "f4EaLhOW2zoEsXXSOJP2r",
"name": "Order lookup",
"status": "enabled",
"updated_at": "2026-07-24T18:23:57.259Z",
"definition": {
"name": "trigger",
"type": "PIECE_TRIGGER",
"displayName": "Catch Webhook",
"settings": {
"pieceName": "@activepieces/piece-webhook",
"triggerName": "catch_webhook"
},
"nextAction": {
"name": "step_1",
"type": "PIECE",
"displayName": "Look up the order",
"settings": {
"pieceName": "@activepieces/piece-http",
"actionName": "send_request",
"input": {
"url": "https://api.example.com/orders",
"method": "GET",
"headers": {
"Authorization": "••• hidden"
}
}
}
}
},
"binding": null
}
}
{
"message": "Automation not found"
}
⌘I

