Listar anexos de etapas
curl --request GET \
--url https://api.olie.ai/api/management/get-step-attachments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/get-step-attachments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.olie.ai/api/management/get-step-attachments', 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://api.olie.ai/api/management/get-step-attachments",
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://api.olie.ai/api/management/get-step-attachments"
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://api.olie.ai/api/management/get-step-attachments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/get-step-attachments")
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{
"response": true,
"attachments": [
{
"id": 84,
"name": "Como preencher a qualificação",
"technical_name": "019b277f-e453-733d-a00e-6d26d444008b.mp4",
"extension": "mp4",
"file_url": "https://cdn.olie.ai/step-attachments/019b277f-e453-733d-a00e-6d26d444008b.mp4?expires=1755600000",
"popup_video": true,
"watch": true,
"user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"frame_id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
"created_at": "2026-07-30T18:12:05.000000Z",
"updated_at": "2026-08-11T14:03:44.000000Z",
"deleted_at": null,
"user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Equipe de Processos",
"avatar_url": null
}
},
{
"id": 82,
"name": "Modelo de proposta comercial",
"technical_name": "019b1f04-1c2a-7a3e-9f55-3d6b8e2a1c77.pdf",
"extension": "pdf",
"file_url": "https://cdn.olie.ai/step-attachments/019b1f04-1c2a-7a3e-9f55-3d6b8e2a1c77.pdf?expires=1755600000",
"popup_video": false,
"watch": false,
"user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"frame_id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
"created_at": "2026-07-22T09:41:19.000000Z",
"updated_at": "2026-07-22T09:41:19.000000Z",
"deleted_at": null,
"user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Equipe de Processos",
"avatar_url": null
}
}
]
}funnel-steps
Listar anexos de etapas
Lista todos os anexos de etapa cadastrados na conta — arquivos, links e vídeos — do mais recente para o mais antigo, com o usuário que enviou cada um. A lista não é recortada por etapa: ela é a biblioteca de onde os anexos são vinculados às etapas. O link de download de arquivo é temporário e expira. Ver Anexos do funil e da etapa.
GET
/
api
/
management
/
get-step-attachments
Listar anexos de etapas
curl --request GET \
--url https://api.olie.ai/api/management/get-step-attachments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/get-step-attachments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.olie.ai/api/management/get-step-attachments', 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://api.olie.ai/api/management/get-step-attachments",
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://api.olie.ai/api/management/get-step-attachments"
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://api.olie.ai/api/management/get-step-attachments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/get-step-attachments")
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{
"response": true,
"attachments": [
{
"id": 84,
"name": "Como preencher a qualificação",
"technical_name": "019b277f-e453-733d-a00e-6d26d444008b.mp4",
"extension": "mp4",
"file_url": "https://cdn.olie.ai/step-attachments/019b277f-e453-733d-a00e-6d26d444008b.mp4?expires=1755600000",
"popup_video": true,
"watch": true,
"user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"frame_id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
"created_at": "2026-07-30T18:12:05.000000Z",
"updated_at": "2026-08-11T14:03:44.000000Z",
"deleted_at": null,
"user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Equipe de Processos",
"avatar_url": null
}
},
{
"id": 82,
"name": "Modelo de proposta comercial",
"technical_name": "019b1f04-1c2a-7a3e-9f55-3d6b8e2a1c77.pdf",
"extension": "pdf",
"file_url": "https://cdn.olie.ai/step-attachments/019b1f04-1c2a-7a3e-9f55-3d6b8e2a1c77.pdf?expires=1755600000",
"popup_video": false,
"watch": false,
"user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"frame_id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
"created_at": "2026-07-22T09:41:19.000000Z",
"updated_at": "2026-07-22T09:41:19.000000Z",
"deleted_at": null,
"user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Equipe de Processos",
"avatar_url": null
}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?