List automations
curl --request GET \
--url https://app.heyfred.nl/api/user/automate/flows \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.heyfred.nl/api/user/automate/flows"
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', 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",
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"
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")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.heyfred.nl/api/user/automate/flows")
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": "OaeThAHzIjAPTmMJAhgwm",
"name": "Qualified leads to Google Sheets",
"status": "enabled",
"binding": {
"type": "post_call",
"assistant_id": 123,
"assistant_name": "Sales Assistant"
}
},
{
"id": "nCazgFt1COAmGVgCWkvxY",
"name": "Daily call report (17:00)",
"status": "disabled",
"binding": null
}
]
}
Automations
List automations
List the automations in your account
GET
/
user
/
automate
/
flows
List automations
curl --request GET \
--url https://app.heyfred.nl/api/user/automate/flows \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.heyfred.nl/api/user/automate/flows"
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', 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",
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"
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")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.heyfred.nl/api/user/automate/flows")
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": "OaeThAHzIjAPTmMJAhgwm",
"name": "Qualified leads to Google Sheets",
"status": "enabled",
"binding": {
"type": "post_call",
"assistant_id": 123,
"assistant_name": "Sales Assistant"
}
},
{
"id": "nCazgFt1COAmGVgCWkvxY",
"name": "Daily call report (17:00)",
"status": "disabled",
"binding": null
}
]
}
This endpoint lists every automation in your account, with its current status and — for automations attached to an assistant event — the assistant it is attached to.
Response
array
The list of automations
Show data item properties
Show data item properties
string
The unique ID of the automation. Use it with the other automation endpoints.
string
The display name of the automation
string
enabled (live, reacting to events) or disabled (off — a failed test run or an explicit disable)object | null
Present when the automation is attached to one of your assistants’ events, otherwise
null{
"data": [
{
"id": "OaeThAHzIjAPTmMJAhgwm",
"name": "Qualified leads to Google Sheets",
"status": "enabled",
"binding": {
"type": "post_call",
"assistant_id": 123,
"assistant_name": "Sales Assistant"
}
},
{
"id": "nCazgFt1COAmGVgCWkvxY",
"name": "Daily call report (17:00)",
"status": "disabled",
"binding": null
}
]
}
⌘I

