Transições de etapas
curl --request GET \
--url https://api.olie.ai/api/management/project-funnels/{project_funnel_id}/step-transitions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/project-funnels/{project_funnel_id}/step-transitions"
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/project-funnels/{project_funnel_id}/step-transitions', 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/project-funnels/{project_funnel_id}/step-transitions",
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/project-funnels/{project_funnel_id}/step-transitions"
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/project-funnels/{project_funnel_id}/step-transitions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/project-funnels/{project_funnel_id}/step-transitions")
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{
"funnel_step_transitions": [
{
"id": 938,
"entry_time": "2026-05-07T12:01:19.000000Z",
"exit_time": null,
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 197,
"exit_parent_id": null,
"entry_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"exit_user_id": null,
"duration_seconds": null,
"funnel_step": {
"id": 197,
"name": "Desenvolvimento Conceitual"
},
"exit_parent": null,
"entry_user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
},
"exit_user": null
},
{
"id": 936,
"entry_time": "2026-05-07T11:52:43.000000Z",
"exit_time": "2026-05-07T12:01:19.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 200,
"exit_parent_id": 938,
"entry_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"exit_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"duration_seconds": 516,
"funnel_step": {
"id": 200,
"name": "Aprovação do Cliente"
},
"exit_parent": {
"id": 938,
"entry_time": "2026-05-07T12:01:19.000000Z",
"exit_time": null,
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 197,
"exit_parent_id": null,
"entry_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"exit_user_id": null,
"duration_seconds": null,
"funnel_step": {
"id": 197,
"name": "Desenvolvimento Conceitual"
}
},
"entry_user": {
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
},
"exit_user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
}
},
{
"id": 935,
"entry_time": "2026-05-07T11:52:39.000000Z",
"exit_time": "2026-05-07T11:52:43.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 197,
"exit_parent_id": 936,
"entry_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"exit_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"duration_seconds": 4,
"funnel_step": {
"id": 197,
"name": "Desenvolvimento Conceitual"
},
"exit_parent": {
"id": 936,
"entry_time": "2026-05-07T11:52:43.000000Z",
"exit_time": "2026-05-07T12:01:19.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 200,
"exit_parent_id": 938,
"entry_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"exit_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"duration_seconds": 516,
"funnel_step": {
"id": 200,
"name": "Aprovação do Cliente"
}
},
"entry_user": {
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
},
"exit_user": {
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
}
},
{
"id": 923,
"entry_time": "2026-04-28T12:54:10.000000Z",
"exit_time": "2026-05-07T11:52:39.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 201,
"exit_parent_id": 935,
"entry_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"exit_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"duration_seconds": 773909,
"funnel_step": {
"id": 201,
"name": "sTeste de Produto"
},
"exit_parent": {
"id": 935,
"entry_time": "2026-05-07T11:52:39.000000Z",
"exit_time": "2026-05-07T11:52:43.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 197,
"exit_parent_id": 936,
"entry_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"exit_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"duration_seconds": 4,
"funnel_step": {
"id": 197,
"name": "Desenvolvimento Conceitual"
}
},
"entry_user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
},
"exit_user": {
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
}
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 30,
"to": 4,
"total": 4
},
"response": true
}{
"response": false,
"message": "unauthorized",
"error": "Unauthenticated."
}{
"response": false,
"message": "validation_errors",
"error": "O campo project id deve ser um UUID válido.",
"validation": {
"project_id": [
"O campo project id deve ser um UUID válido."
]
}
}project-funnels
Transições de etapas
GET
/
api
/
management
/
project-funnels
/
{project_funnel_id}
/
step-transitions
Transições de etapas
curl --request GET \
--url https://api.olie.ai/api/management/project-funnels/{project_funnel_id}/step-transitions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/project-funnels/{project_funnel_id}/step-transitions"
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/project-funnels/{project_funnel_id}/step-transitions', 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/project-funnels/{project_funnel_id}/step-transitions",
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/project-funnels/{project_funnel_id}/step-transitions"
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/project-funnels/{project_funnel_id}/step-transitions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/project-funnels/{project_funnel_id}/step-transitions")
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{
"funnel_step_transitions": [
{
"id": 938,
"entry_time": "2026-05-07T12:01:19.000000Z",
"exit_time": null,
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 197,
"exit_parent_id": null,
"entry_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"exit_user_id": null,
"duration_seconds": null,
"funnel_step": {
"id": 197,
"name": "Desenvolvimento Conceitual"
},
"exit_parent": null,
"entry_user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
},
"exit_user": null
},
{
"id": 936,
"entry_time": "2026-05-07T11:52:43.000000Z",
"exit_time": "2026-05-07T12:01:19.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 200,
"exit_parent_id": 938,
"entry_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"exit_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"duration_seconds": 516,
"funnel_step": {
"id": 200,
"name": "Aprovação do Cliente"
},
"exit_parent": {
"id": 938,
"entry_time": "2026-05-07T12:01:19.000000Z",
"exit_time": null,
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 197,
"exit_parent_id": null,
"entry_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"exit_user_id": null,
"duration_seconds": null,
"funnel_step": {
"id": 197,
"name": "Desenvolvimento Conceitual"
}
},
"entry_user": {
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
},
"exit_user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
}
},
{
"id": 935,
"entry_time": "2026-05-07T11:52:39.000000Z",
"exit_time": "2026-05-07T11:52:43.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 197,
"exit_parent_id": 936,
"entry_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"exit_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"duration_seconds": 4,
"funnel_step": {
"id": 197,
"name": "Desenvolvimento Conceitual"
},
"exit_parent": {
"id": 936,
"entry_time": "2026-05-07T11:52:43.000000Z",
"exit_time": "2026-05-07T12:01:19.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 200,
"exit_parent_id": 938,
"entry_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"exit_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"duration_seconds": 516,
"funnel_step": {
"id": 200,
"name": "Aprovação do Cliente"
}
},
"entry_user": {
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
},
"exit_user": {
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
}
},
{
"id": 923,
"entry_time": "2026-04-28T12:54:10.000000Z",
"exit_time": "2026-05-07T11:52:39.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 201,
"exit_parent_id": 935,
"entry_user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"exit_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"duration_seconds": 773909,
"funnel_step": {
"id": 201,
"name": "sTeste de Produto"
},
"exit_parent": {
"id": 935,
"entry_time": "2026-05-07T11:52:39.000000Z",
"exit_time": "2026-05-07T11:52:43.000000Z",
"project_id": "019dd427-5d13-71bf-9a09-d75aa2bf4bd7",
"funnel_step_id": 197,
"exit_parent_id": 936,
"entry_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"exit_user_id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"duration_seconds": 4,
"funnel_step": {
"id": 197,
"name": "Desenvolvimento Conceitual"
}
},
"entry_user": {
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
},
"exit_user": {
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas"
}
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 30,
"to": 4,
"total": 4
},
"response": true
}{
"response": false,
"message": "unauthorized",
"error": "Unauthenticated."
}{
"response": false,
"message": "validation_errors",
"error": "O campo project id deve ser um UUID válido.",
"validation": {
"project_id": [
"O campo project id deve ser um UUID válido."
]
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
ID do projeto utilizado para filtrar as transições do funil
Data inicial do período de busca das transições. Retorna apenas registros com entrada igual ou posterior à data informada
Data final do período de busca das transições. Retorna apenas registros com entrada igual ou anterior à data informada
ID da etapa do funil utilizado para filtrar as transições
ID do usuário responsável pela movimentação do projeto entre etapas
Página atual em que os registros serão trazidos
Response
Sucesso
Resposta contendo o histórico de transições entre etapas do funil de um projeto.
Was this page helpful?
⌘I