List Flow endpoint traces
What OUR proxy saw on this Flow’s data_exchange calls: Meta’s action, the screen, the outcome (FORWARDED, CUSTOMER_ERROR, NO_DESTINATION — treat the set as open), the HTTP status your webhook answered (null when there was no response), how long it took, and on the failure path the bodies exchanged. Most recent first. Permission flows:read. The response is Cache-Control: no-store.
⚠️ Not paginated: it returns the most recent 50 traces, and sending page or pageSize is 400 FLOW_TRACES_NOT_PAGINATED — every page would return the same rows. Every other query parameter is ignored.
⚠️ Short-lived: a trace is served for 24 hours. An empty list carries "notice": "FLOW_TRACES_RETENTION_WINDOW", because [] can mean “never called” or “called, and aged out”.
⛔ Bodies are redacted per number. forwardedBody and customerBody are null on success. On a number in RELAY_ONLY — or when the number behind a trace can no longer be resolved — they are replaced with "conteúdo indisponível"; outcome, httpStatus, durationMs and failureReason stay intact.
The Flow is resolved inside the key’s WABA; a Flow of another WABA, or of another tenant, is 404 FLOW_NOT_FOUND.
Requires a number-scoped key. A tenant-scoped key must name the number with the x-whatsapp-number-id header, or it gets 403 TENANT_SCOPE_NOT_ALLOWED.
curl --request GET \
--url https://pilotstatus.com.br/v1/flows/{id}/traces \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/flows/{id}/traces"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://pilotstatus.com.br/v1/flows/{id}/traces', 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://pilotstatus.com.br/v1/flows/{id}/traces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://pilotstatus.com.br/v1/flows/{id}/traces"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pilotstatus.com.br/v1/flows/{id}/traces")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/flows/{id}/traces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"traces": [
{
"id": "cmf7t1r2a3c4e5s6t7u8v9w0",
"action": "data_exchange",
"screen": "WELCOME_SCREEN",
"outcome": "CUSTOMER_ERROR",
"httpStatus": 500,
"durationMs": 812,
"failureReason": "Customer endpoint answered HTTP 500",
"forwardedBody": "{\"action\":\"data_exchange\",\"screen\":\"WELCOME_SCREEN\",\"data\":{\"observacao\":\"Aobaaa\"}}",
"customerBody": "Internal Server Error",
"createdAt": "2026-09-06T16:08:12.616Z"
}
]
}Was this page helpful?
curl --request GET \
--url https://pilotstatus.com.br/v1/flows/{id}/traces \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/flows/{id}/traces"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://pilotstatus.com.br/v1/flows/{id}/traces', 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://pilotstatus.com.br/v1/flows/{id}/traces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://pilotstatus.com.br/v1/flows/{id}/traces"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pilotstatus.com.br/v1/flows/{id}/traces")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/flows/{id}/traces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"traces": [
{
"id": "cmf7t1r2a3c4e5s6t7u8v9w0",
"action": "data_exchange",
"screen": "WELCOME_SCREEN",
"outcome": "CUSTOMER_ERROR",
"httpStatus": 500,
"durationMs": 812,
"failureReason": "Customer endpoint answered HTTP 500",
"forwardedBody": "{\"action\":\"data_exchange\",\"screen\":\"WELCOME_SCREEN\",\"data\":{\"observacao\":\"Aobaaa\"}}",
"customerBody": "Internal Server Error",
"createdAt": "2026-09-06T16:08:12.616Z"
}
]
}