curl --request POST \
--url https://api.olie.ai/api/management/project-funnel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": null,
"name": "Nome do funil",
"prefix": "PREFIX",
"steps": [
{
"name": "Backlog",
"step_forward": null,
"step_backward": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"sensation_amount": 50,
"checklists": [
{
"name": "Checklist 1",
"info": "Texto informativo da checklist",
"required": true,
"order": 0
},
{
"name": "Checklist 2",
"info": "",
"required": true,
"order": 1
},
{
"name": "Checklist 3",
"info": "",
"required": false,
"order": 2
}
],
"attachments": [
{
"id": 1
},
{
"id": 2
}
],
"restrictions": [],
"sort_config": null,
"allow_execution": true,
"form": {
"id": 7,
"title": "Formulário para funil"
},
"help_text": "Texto de ajuda da etapa"
},
{
"name": "Em andamento",
"step_forward": null,
"step_backward": null,
"show_contact_form": true,
"hide_contact_form_when_linked": false,
"show_customer_form": true,
"hide_customer_form_when_linked": false,
"sensation_amount": 0,
"checklists": [],
"attachments": [],
"restrictions": [],
"sort_config": null,
"allow_execution": true
},
{
"name": "Concluído",
"step_forward": null,
"step_backward": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"sensation_amount": 0,
"checklists": [],
"attachments": [],
"restrictions": [],
"sort_config": null,
"allow_execution": true
}
],
"tags": [
{
"name": "Nova etiqueta 1",
"color": "#5e4ff8",
"funnel_step_blockings": []
},
{
"name": "Nova etiqueta 2",
"color": "#7fd87d",
"funnel_step_blockings": []
},
{
"name": "Nova etiqueta 3",
"color": "#5e4ff8",
"funnel_step_blockings": []
}
],
"project_term": {
"key": "called",
"en": {
"project_term": {
"singular": "called",
"plural": "calls"
}
},
"pt_br": {
"project_term": {
"singular": "chamado",
"plural": "chamados"
}
}
},
"dynamic_form": null,
"business_area": {
"id": 19,
"name": "Área de negócio",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963"
},
"allow_multi_step": true,
"show_cost_info": true,
"form": {
"id": 7,
"title": "Formulário para funil"
},
"attachments": [
{
"id": 3
}
],
"access": [
{
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas",
"index_all": false,
"index_assigned": true,
"index_created": false
},
{
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": null,
"index_all": true,
"index_assigned": false,
"index_created": false
}
],
"funnel_status": [
{
"name": "Novo status 1",
"color": "#b59ef6",
"is_conclusive": false,
"funnel_step_blockings": []
},
{
"name": "Novo status 2",
"color": "#7fd87d",
"is_conclusive": false,
"funnel_step_blockings": []
},
{
"name": "Novo status 3",
"color": "#b59ef6",
"is_conclusive": false,
"funnel_step_blockings": []
}
],
"condition": "active",
"allow_execution": true,
"template_projects": [
{
"id": "019c75de-7fcf-70af-b840-1340626e2764"
}
]
}
'import requests
url = "https://api.olie.ai/api/management/project-funnel"
payload = {
"id": None,
"name": "Nome do funil",
"prefix": "PREFIX",
"steps": [
{
"name": "Backlog",
"step_forward": None,
"step_backward": None,
"show_contact_form": False,
"hide_contact_form_when_linked": False,
"show_customer_form": False,
"hide_customer_form_when_linked": False,
"sensation_amount": 50,
"checklists": [
{
"name": "Checklist 1",
"info": "Texto informativo da checklist",
"required": True,
"order": 0
},
{
"name": "Checklist 2",
"info": "",
"required": True,
"order": 1
},
{
"name": "Checklist 3",
"info": "",
"required": False,
"order": 2
}
],
"attachments": [{ "id": 1 }, { "id": 2 }],
"restrictions": [],
"sort_config": None,
"allow_execution": True,
"form": {
"id": 7,
"title": "Formulário para funil"
},
"help_text": "Texto de ajuda da etapa"
},
{
"name": "Em andamento",
"step_forward": None,
"step_backward": None,
"show_contact_form": True,
"hide_contact_form_when_linked": False,
"show_customer_form": True,
"hide_customer_form_when_linked": False,
"sensation_amount": 0,
"checklists": [],
"attachments": [],
"restrictions": [],
"sort_config": None,
"allow_execution": True
},
{
"name": "Concluído",
"step_forward": None,
"step_backward": None,
"show_contact_form": False,
"hide_contact_form_when_linked": False,
"show_customer_form": False,
"hide_customer_form_when_linked": False,
"sensation_amount": 0,
"checklists": [],
"attachments": [],
"restrictions": [],
"sort_config": None,
"allow_execution": True
}
],
"tags": [
{
"name": "Nova etiqueta 1",
"color": "#5e4ff8",
"funnel_step_blockings": []
},
{
"name": "Nova etiqueta 2",
"color": "#7fd87d",
"funnel_step_blockings": []
},
{
"name": "Nova etiqueta 3",
"color": "#5e4ff8",
"funnel_step_blockings": []
}
],
"project_term": {
"key": "called",
"en": { "project_term": {
"singular": "called",
"plural": "calls"
} },
"pt_br": { "project_term": {
"singular": "chamado",
"plural": "chamados"
} }
},
"dynamic_form": None,
"business_area": {
"id": 19,
"name": "Área de negócio",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963"
},
"allow_multi_step": True,
"show_cost_info": True,
"form": {
"id": 7,
"title": "Formulário para funil"
},
"attachments": [{ "id": 3 }],
"access": [
{
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas",
"index_all": False,
"index_assigned": True,
"index_created": False
},
{
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": None,
"index_all": True,
"index_assigned": False,
"index_created": False
}
],
"funnel_status": [
{
"name": "Novo status 1",
"color": "#b59ef6",
"is_conclusive": False,
"funnel_step_blockings": []
},
{
"name": "Novo status 2",
"color": "#7fd87d",
"is_conclusive": False,
"funnel_step_blockings": []
},
{
"name": "Novo status 3",
"color": "#b59ef6",
"is_conclusive": False,
"funnel_step_blockings": []
}
],
"condition": "active",
"allow_execution": True,
"template_projects": [{ "id": "019c75de-7fcf-70af-b840-1340626e2764" }]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
id: null,
name: 'Nome do funil',
prefix: 'PREFIX',
steps: [
{
name: 'Backlog',
step_forward: null,
step_backward: null,
show_contact_form: false,
hide_contact_form_when_linked: false,
show_customer_form: false,
hide_customer_form_when_linked: false,
sensation_amount: 50,
checklists: [
{
name: 'Checklist 1',
info: 'Texto informativo da checklist',
required: true,
order: 0
},
{name: 'Checklist 2', info: '', required: true, order: 1},
{name: 'Checklist 3', info: '', required: false, order: 2}
],
attachments: [{id: 1}, {id: 2}],
restrictions: [],
sort_config: null,
allow_execution: true,
form: {id: 7, title: 'Formulário para funil'},
help_text: 'Texto de ajuda da etapa'
},
{
name: 'Em andamento',
step_forward: null,
step_backward: null,
show_contact_form: true,
hide_contact_form_when_linked: false,
show_customer_form: true,
hide_customer_form_when_linked: false,
sensation_amount: 0,
checklists: [],
attachments: [],
restrictions: [],
sort_config: null,
allow_execution: true
},
{
name: 'Concluído',
step_forward: null,
step_backward: null,
show_contact_form: false,
hide_contact_form_when_linked: false,
show_customer_form: false,
hide_customer_form_when_linked: false,
sensation_amount: 0,
checklists: [],
attachments: [],
restrictions: [],
sort_config: null,
allow_execution: true
}
],
tags: [
{name: 'Nova etiqueta 1', color: '#5e4ff8', funnel_step_blockings: []},
{name: 'Nova etiqueta 2', color: '#7fd87d', funnel_step_blockings: []},
{name: 'Nova etiqueta 3', color: '#5e4ff8', funnel_step_blockings: []}
],
project_term: {
key: 'called',
en: {project_term: {singular: 'called', plural: 'calls'}},
pt_br: {project_term: {singular: 'chamado', plural: 'chamados'}}
},
dynamic_form: null,
business_area: {
id: 19,
name: 'Área de negócio',
frame_id: '019c75de-532c-7047-9563-daf1448ca963'
},
allow_multi_step: true,
show_cost_info: true,
form: {id: 7, title: 'Formulário para funil'},
attachments: [{id: 3}],
access: [
{
id: '019c75de-509e-711a-8933-175cb2514cc5',
name: 'Test User',
avatar_url: 'https://via.placeholder.com/124x124.png/00aa99?text=quas',
index_all: false,
index_assigned: true,
index_created: false
},
{
id: '019c75de-50f0-7366-a948-b8cbdd1841be',
name: 'Cotestr User',
avatar_url: null,
index_all: true,
index_assigned: false,
index_created: false
}
],
funnel_status: [
{
name: 'Novo status 1',
color: '#b59ef6',
is_conclusive: false,
funnel_step_blockings: []
},
{
name: 'Novo status 2',
color: '#7fd87d',
is_conclusive: false,
funnel_step_blockings: []
},
{
name: 'Novo status 3',
color: '#b59ef6',
is_conclusive: false,
funnel_step_blockings: []
}
],
condition: 'active',
allow_execution: true,
template_projects: [{id: '019c75de-7fcf-70af-b840-1340626e2764'}]
})
};
fetch('https://api.olie.ai/api/management/project-funnel', 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-funnel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => null,
'name' => 'Nome do funil',
'prefix' => 'PREFIX',
'steps' => [
[
'name' => 'Backlog',
'step_forward' => null,
'step_backward' => null,
'show_contact_form' => false,
'hide_contact_form_when_linked' => false,
'show_customer_form' => false,
'hide_customer_form_when_linked' => false,
'sensation_amount' => 50,
'checklists' => [
[
'name' => 'Checklist 1',
'info' => 'Texto informativo da checklist',
'required' => true,
'order' => 0
],
[
'name' => 'Checklist 2',
'info' => '',
'required' => true,
'order' => 1
],
[
'name' => 'Checklist 3',
'info' => '',
'required' => false,
'order' => 2
]
],
'attachments' => [
[
'id' => 1
],
[
'id' => 2
]
],
'restrictions' => [
],
'sort_config' => null,
'allow_execution' => true,
'form' => [
'id' => 7,
'title' => 'Formulário para funil'
],
'help_text' => 'Texto de ajuda da etapa'
],
[
'name' => 'Em andamento',
'step_forward' => null,
'step_backward' => null,
'show_contact_form' => true,
'hide_contact_form_when_linked' => false,
'show_customer_form' => true,
'hide_customer_form_when_linked' => false,
'sensation_amount' => 0,
'checklists' => [
],
'attachments' => [
],
'restrictions' => [
],
'sort_config' => null,
'allow_execution' => true
],
[
'name' => 'Concluído',
'step_forward' => null,
'step_backward' => null,
'show_contact_form' => false,
'hide_contact_form_when_linked' => false,
'show_customer_form' => false,
'hide_customer_form_when_linked' => false,
'sensation_amount' => 0,
'checklists' => [
],
'attachments' => [
],
'restrictions' => [
],
'sort_config' => null,
'allow_execution' => true
]
],
'tags' => [
[
'name' => 'Nova etiqueta 1',
'color' => '#5e4ff8',
'funnel_step_blockings' => [
]
],
[
'name' => 'Nova etiqueta 2',
'color' => '#7fd87d',
'funnel_step_blockings' => [
]
],
[
'name' => 'Nova etiqueta 3',
'color' => '#5e4ff8',
'funnel_step_blockings' => [
]
]
],
'project_term' => [
'key' => 'called',
'en' => [
'project_term' => [
'singular' => 'called',
'plural' => 'calls'
]
],
'pt_br' => [
'project_term' => [
'singular' => 'chamado',
'plural' => 'chamados'
]
]
],
'dynamic_form' => null,
'business_area' => [
'id' => 19,
'name' => 'Área de negócio',
'frame_id' => '019c75de-532c-7047-9563-daf1448ca963'
],
'allow_multi_step' => true,
'show_cost_info' => true,
'form' => [
'id' => 7,
'title' => 'Formulário para funil'
],
'attachments' => [
[
'id' => 3
]
],
'access' => [
[
'id' => '019c75de-509e-711a-8933-175cb2514cc5',
'name' => 'Test User',
'avatar_url' => 'https://via.placeholder.com/124x124.png/00aa99?text=quas',
'index_all' => false,
'index_assigned' => true,
'index_created' => false
],
[
'id' => '019c75de-50f0-7366-a948-b8cbdd1841be',
'name' => 'Cotestr User',
'avatar_url' => null,
'index_all' => true,
'index_assigned' => false,
'index_created' => false
]
],
'funnel_status' => [
[
'name' => 'Novo status 1',
'color' => '#b59ef6',
'is_conclusive' => false,
'funnel_step_blockings' => [
]
],
[
'name' => 'Novo status 2',
'color' => '#7fd87d',
'is_conclusive' => false,
'funnel_step_blockings' => [
]
],
[
'name' => 'Novo status 3',
'color' => '#b59ef6',
'is_conclusive' => false,
'funnel_step_blockings' => [
]
]
],
'condition' => 'active',
'allow_execution' => true,
'template_projects' => [
[
'id' => '019c75de-7fcf-70af-b840-1340626e2764'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.olie.ai/api/management/project-funnel"
payload := strings.NewReader("{\n \"id\": null,\n \"name\": \"Nome do funil\",\n \"prefix\": \"PREFIX\",\n \"steps\": [\n {\n \"name\": \"Backlog\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 50,\n \"checklists\": [\n {\n \"name\": \"Checklist 1\",\n \"info\": \"Texto informativo da checklist\",\n \"required\": true,\n \"order\": 0\n },\n {\n \"name\": \"Checklist 2\",\n \"info\": \"\",\n \"required\": true,\n \"order\": 1\n },\n {\n \"name\": \"Checklist 3\",\n \"info\": \"\",\n \"required\": false,\n \"order\": 2\n }\n ],\n \"attachments\": [\n {\n \"id\": 1\n },\n {\n \"id\": 2\n }\n ],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"help_text\": \"Texto de ajuda da etapa\"\n },\n {\n \"name\": \"Em andamento\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": true,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": true,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n },\n {\n \"name\": \"Concluído\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n }\n ],\n \"tags\": [\n {\n \"name\": \"Nova etiqueta 1\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 2\",\n \"color\": \"#7fd87d\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 3\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n }\n ],\n \"project_term\": {\n \"key\": \"called\",\n \"en\": {\n \"project_term\": {\n \"singular\": \"called\",\n \"plural\": \"calls\"\n }\n },\n \"pt_br\": {\n \"project_term\": {\n \"singular\": \"chamado\",\n \"plural\": \"chamados\"\n }\n }\n },\n \"dynamic_form\": null,\n \"business_area\": {\n \"id\": 19,\n \"name\": \"Área de negócio\",\n \"frame_id\": \"019c75de-532c-7047-9563-daf1448ca963\"\n },\n \"allow_multi_step\": true,\n \"show_cost_info\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"attachments\": [\n {\n \"id\": 3\n }\n ],\n \"access\": [\n {\n \"id\": \"019c75de-509e-711a-8933-175cb2514cc5\",\n \"name\": \"Test User\",\n \"avatar_url\": \"https://via.placeholder.com/124x124.png/00aa99?text=quas\",\n \"index_all\": false,\n \"index_assigned\": true,\n \"index_created\": false\n },\n {\n \"id\": \"019c75de-50f0-7366-a948-b8cbdd1841be\",\n \"name\": \"Cotestr User\",\n \"avatar_url\": null,\n \"index_all\": true,\n \"index_assigned\": false,\n \"index_created\": false\n }\n ],\n \"funnel_status\": [\n {\n \"name\": \"Novo status 1\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 2\",\n \"color\": \"#7fd87d\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 3\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n }\n ],\n \"condition\": \"active\",\n \"allow_execution\": true,\n \"template_projects\": [\n {\n \"id\": \"019c75de-7fcf-70af-b840-1340626e2764\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.olie.ai/api/management/project-funnel")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": null,\n \"name\": \"Nome do funil\",\n \"prefix\": \"PREFIX\",\n \"steps\": [\n {\n \"name\": \"Backlog\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 50,\n \"checklists\": [\n {\n \"name\": \"Checklist 1\",\n \"info\": \"Texto informativo da checklist\",\n \"required\": true,\n \"order\": 0\n },\n {\n \"name\": \"Checklist 2\",\n \"info\": \"\",\n \"required\": true,\n \"order\": 1\n },\n {\n \"name\": \"Checklist 3\",\n \"info\": \"\",\n \"required\": false,\n \"order\": 2\n }\n ],\n \"attachments\": [\n {\n \"id\": 1\n },\n {\n \"id\": 2\n }\n ],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"help_text\": \"Texto de ajuda da etapa\"\n },\n {\n \"name\": \"Em andamento\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": true,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": true,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n },\n {\n \"name\": \"Concluído\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n }\n ],\n \"tags\": [\n {\n \"name\": \"Nova etiqueta 1\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 2\",\n \"color\": \"#7fd87d\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 3\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n }\n ],\n \"project_term\": {\n \"key\": \"called\",\n \"en\": {\n \"project_term\": {\n \"singular\": \"called\",\n \"plural\": \"calls\"\n }\n },\n \"pt_br\": {\n \"project_term\": {\n \"singular\": \"chamado\",\n \"plural\": \"chamados\"\n }\n }\n },\n \"dynamic_form\": null,\n \"business_area\": {\n \"id\": 19,\n \"name\": \"Área de negócio\",\n \"frame_id\": \"019c75de-532c-7047-9563-daf1448ca963\"\n },\n \"allow_multi_step\": true,\n \"show_cost_info\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"attachments\": [\n {\n \"id\": 3\n }\n ],\n \"access\": [\n {\n \"id\": \"019c75de-509e-711a-8933-175cb2514cc5\",\n \"name\": \"Test User\",\n \"avatar_url\": \"https://via.placeholder.com/124x124.png/00aa99?text=quas\",\n \"index_all\": false,\n \"index_assigned\": true,\n \"index_created\": false\n },\n {\n \"id\": \"019c75de-50f0-7366-a948-b8cbdd1841be\",\n \"name\": \"Cotestr User\",\n \"avatar_url\": null,\n \"index_all\": true,\n \"index_assigned\": false,\n \"index_created\": false\n }\n ],\n \"funnel_status\": [\n {\n \"name\": \"Novo status 1\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 2\",\n \"color\": \"#7fd87d\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 3\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n }\n ],\n \"condition\": \"active\",\n \"allow_execution\": true,\n \"template_projects\": [\n {\n \"id\": \"019c75de-7fcf-70af-b840-1340626e2764\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/project-funnel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": null,\n \"name\": \"Nome do funil\",\n \"prefix\": \"PREFIX\",\n \"steps\": [\n {\n \"name\": \"Backlog\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 50,\n \"checklists\": [\n {\n \"name\": \"Checklist 1\",\n \"info\": \"Texto informativo da checklist\",\n \"required\": true,\n \"order\": 0\n },\n {\n \"name\": \"Checklist 2\",\n \"info\": \"\",\n \"required\": true,\n \"order\": 1\n },\n {\n \"name\": \"Checklist 3\",\n \"info\": \"\",\n \"required\": false,\n \"order\": 2\n }\n ],\n \"attachments\": [\n {\n \"id\": 1\n },\n {\n \"id\": 2\n }\n ],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"help_text\": \"Texto de ajuda da etapa\"\n },\n {\n \"name\": \"Em andamento\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": true,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": true,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n },\n {\n \"name\": \"Concluído\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n }\n ],\n \"tags\": [\n {\n \"name\": \"Nova etiqueta 1\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 2\",\n \"color\": \"#7fd87d\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 3\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n }\n ],\n \"project_term\": {\n \"key\": \"called\",\n \"en\": {\n \"project_term\": {\n \"singular\": \"called\",\n \"plural\": \"calls\"\n }\n },\n \"pt_br\": {\n \"project_term\": {\n \"singular\": \"chamado\",\n \"plural\": \"chamados\"\n }\n }\n },\n \"dynamic_form\": null,\n \"business_area\": {\n \"id\": 19,\n \"name\": \"Área de negócio\",\n \"frame_id\": \"019c75de-532c-7047-9563-daf1448ca963\"\n },\n \"allow_multi_step\": true,\n \"show_cost_info\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"attachments\": [\n {\n \"id\": 3\n }\n ],\n \"access\": [\n {\n \"id\": \"019c75de-509e-711a-8933-175cb2514cc5\",\n \"name\": \"Test User\",\n \"avatar_url\": \"https://via.placeholder.com/124x124.png/00aa99?text=quas\",\n \"index_all\": false,\n \"index_assigned\": true,\n \"index_created\": false\n },\n {\n \"id\": \"019c75de-50f0-7366-a948-b8cbdd1841be\",\n \"name\": \"Cotestr User\",\n \"avatar_url\": null,\n \"index_all\": true,\n \"index_assigned\": false,\n \"index_created\": false\n }\n ],\n \"funnel_status\": [\n {\n \"name\": \"Novo status 1\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 2\",\n \"color\": \"#7fd87d\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 3\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n }\n ],\n \"condition\": \"active\",\n \"allow_execution\": true,\n \"template_projects\": [\n {\n \"id\": \"019c75de-7fcf-70af-b840-1340626e2764\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"response": true,
"project_funnel": {
"order": 11,
"name": "Nome do funil",
"condition": "active",
"allow_multi_step": true,
"show_cost_info": true,
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"allow_execution": true,
"prefix": "PREFIX2",
"form_id": 7,
"updated_at": "2026-03-16T16:34:43.000000Z",
"created_at": "2026-03-16T16:34:43.000000Z",
"id": 54,
"business_area_id": 19,
"business_area": {
"id": 19,
"name": "Área de negócio",
"order": 0,
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"deleted_at": null
},
"steps": [
{
"id": 240,
"name": "Backlog",
"project_funnel_id": 54,
"sensation_amount": 50,
"step_forward_id": null,
"step_backward_id": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"order": 1,
"help_text": "Texto de ajuda da etapa",
"form_id": 7,
"sort_config": null,
"allow_execution": true,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null,
"checklists": [
{
"id": 4,
"name": "Checklist 1",
"info": "Texto informativo da checklist",
"funnel_step_id": 240,
"required": true,
"order": 0
},
{
"id": 5,
"name": "Checklist 2",
"info": null,
"funnel_step_id": 240,
"required": true,
"order": 1
},
{
"id": 6,
"name": "Checklist 3",
"info": null,
"funnel_step_id": 240,
"required": false,
"order": 2
}
],
"attachments": [
{
"id": 1,
"name": "Captura de tela de 2026-02-12 09-34-45.png",
"technical_name": "",
"extension": "png",
"file_url": "https://olie-main-dev.s3.amazonaws.com/app/frames/019c75de-532c-7047-9563-daf1448ca963/funnel_attachments/EUCnLFRPVhJkpyq6GKDcmXNgI2S1j9HWs0AZ-captura-de-tela-de-2026-02-12-09-34-45.png",
"popup_video": 0,
"watch": false,
"user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"created_at": "2026-03-16T13:23:06.000000Z",
"updated_at": "2026-03-16T13:23:06.000000Z",
"deleted_at": null,
"pivot": {
"funnel_step_id": 240,
"step_attachment_id": 1
}
},
{
"id": 2,
"name": "Link Vídeo",
"technical_name": "link_technical_name",
"extension": "link",
"file_url": "https://youtu.be/JOopR4MKbhI?si=HNIGI1bcPNXUuTVy",
"popup_video": 1,
"watch": true,
"user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"created_at": "2026-03-16T13:24:05.000000Z",
"updated_at": "2026-03-16T13:25:13.000000Z",
"deleted_at": null,
"pivot": {
"funnel_step_id": 240,
"step_attachment_id": 2
}
}
],
"form": {
"id": 7,
"title": "Formulário para funil",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"created_at": "2026-03-16T13:12:12.000000Z",
"updated_at": "2026-03-16T13:12:12.000000Z",
"deleted_at": null
},
"restrictions": []
},
{
"id": 241,
"name": "Em andamento",
"project_funnel_id": 54,
"sensation_amount": 0,
"step_forward_id": null,
"step_backward_id": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"order": 2,
"help_text": null,
"form_id": null,
"sort_config": null,
"allow_execution": true,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null,
"checklists": [],
"attachments": [],
"form": null,
"restrictions": []
},
{
"id": 242,
"name": "Concluído",
"project_funnel_id": 54,
"sensation_amount": 0,
"step_forward_id": null,
"step_backward_id": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"order": 3,
"help_text": null,
"form_id": null,
"sort_config": null,
"allow_execution": true,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null,
"checklists": [],
"attachments": [],
"form": null,
"restrictions": []
}
],
"tags": [
{
"id": 6,
"name": "Nova etiqueta 1",
"color": "#5e4ff8",
"project_funnel_id": 54,
"deleted_at": null
},
{
"id": 7,
"name": "Nova etiqueta 2",
"color": "#7fd87d",
"project_funnel_id": 54,
"deleted_at": null
},
{
"id": 8,
"name": "Nova etiqueta 3",
"color": "#5e4ff8",
"project_funnel_id": 54,
"deleted_at": null
}
],
"attachments": [],
"funnel_status": [
{
"id": 6,
"name": "Novo status 1",
"color": "#b59ef6",
"project_funnel_id": 54,
"is_conclusive": false,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null
},
{
"id": 7,
"name": "Novo status 2",
"color": "#7fd87d",
"project_funnel_id": 54,
"is_conclusive": false,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null
},
{
"id": 8,
"name": "Novo status 3",
"color": "#b59ef6",
"project_funnel_id": 54,
"is_conclusive": false,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null
}
]
},
"objects_above_limit": []
}{
"response": false,
"message": "unauthorized",
"error": "Unauthenticated."
}{
"response": false,
"message": "validation_errors",
"error": "O campo nome é obrigatório.",
"validation": {
"name": [
"O campo nome é obrigatório."
]
}
}Criar ou atualizar um funil de projeto
Criar ou atualizar funil de projeto.
curl --request POST \
--url https://api.olie.ai/api/management/project-funnel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": null,
"name": "Nome do funil",
"prefix": "PREFIX",
"steps": [
{
"name": "Backlog",
"step_forward": null,
"step_backward": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"sensation_amount": 50,
"checklists": [
{
"name": "Checklist 1",
"info": "Texto informativo da checklist",
"required": true,
"order": 0
},
{
"name": "Checklist 2",
"info": "",
"required": true,
"order": 1
},
{
"name": "Checklist 3",
"info": "",
"required": false,
"order": 2
}
],
"attachments": [
{
"id": 1
},
{
"id": 2
}
],
"restrictions": [],
"sort_config": null,
"allow_execution": true,
"form": {
"id": 7,
"title": "Formulário para funil"
},
"help_text": "Texto de ajuda da etapa"
},
{
"name": "Em andamento",
"step_forward": null,
"step_backward": null,
"show_contact_form": true,
"hide_contact_form_when_linked": false,
"show_customer_form": true,
"hide_customer_form_when_linked": false,
"sensation_amount": 0,
"checklists": [],
"attachments": [],
"restrictions": [],
"sort_config": null,
"allow_execution": true
},
{
"name": "Concluído",
"step_forward": null,
"step_backward": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"sensation_amount": 0,
"checklists": [],
"attachments": [],
"restrictions": [],
"sort_config": null,
"allow_execution": true
}
],
"tags": [
{
"name": "Nova etiqueta 1",
"color": "#5e4ff8",
"funnel_step_blockings": []
},
{
"name": "Nova etiqueta 2",
"color": "#7fd87d",
"funnel_step_blockings": []
},
{
"name": "Nova etiqueta 3",
"color": "#5e4ff8",
"funnel_step_blockings": []
}
],
"project_term": {
"key": "called",
"en": {
"project_term": {
"singular": "called",
"plural": "calls"
}
},
"pt_br": {
"project_term": {
"singular": "chamado",
"plural": "chamados"
}
}
},
"dynamic_form": null,
"business_area": {
"id": 19,
"name": "Área de negócio",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963"
},
"allow_multi_step": true,
"show_cost_info": true,
"form": {
"id": 7,
"title": "Formulário para funil"
},
"attachments": [
{
"id": 3
}
],
"access": [
{
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas",
"index_all": false,
"index_assigned": true,
"index_created": false
},
{
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": null,
"index_all": true,
"index_assigned": false,
"index_created": false
}
],
"funnel_status": [
{
"name": "Novo status 1",
"color": "#b59ef6",
"is_conclusive": false,
"funnel_step_blockings": []
},
{
"name": "Novo status 2",
"color": "#7fd87d",
"is_conclusive": false,
"funnel_step_blockings": []
},
{
"name": "Novo status 3",
"color": "#b59ef6",
"is_conclusive": false,
"funnel_step_blockings": []
}
],
"condition": "active",
"allow_execution": true,
"template_projects": [
{
"id": "019c75de-7fcf-70af-b840-1340626e2764"
}
]
}
'import requests
url = "https://api.olie.ai/api/management/project-funnel"
payload = {
"id": None,
"name": "Nome do funil",
"prefix": "PREFIX",
"steps": [
{
"name": "Backlog",
"step_forward": None,
"step_backward": None,
"show_contact_form": False,
"hide_contact_form_when_linked": False,
"show_customer_form": False,
"hide_customer_form_when_linked": False,
"sensation_amount": 50,
"checklists": [
{
"name": "Checklist 1",
"info": "Texto informativo da checklist",
"required": True,
"order": 0
},
{
"name": "Checklist 2",
"info": "",
"required": True,
"order": 1
},
{
"name": "Checklist 3",
"info": "",
"required": False,
"order": 2
}
],
"attachments": [{ "id": 1 }, { "id": 2 }],
"restrictions": [],
"sort_config": None,
"allow_execution": True,
"form": {
"id": 7,
"title": "Formulário para funil"
},
"help_text": "Texto de ajuda da etapa"
},
{
"name": "Em andamento",
"step_forward": None,
"step_backward": None,
"show_contact_form": True,
"hide_contact_form_when_linked": False,
"show_customer_form": True,
"hide_customer_form_when_linked": False,
"sensation_amount": 0,
"checklists": [],
"attachments": [],
"restrictions": [],
"sort_config": None,
"allow_execution": True
},
{
"name": "Concluído",
"step_forward": None,
"step_backward": None,
"show_contact_form": False,
"hide_contact_form_when_linked": False,
"show_customer_form": False,
"hide_customer_form_when_linked": False,
"sensation_amount": 0,
"checklists": [],
"attachments": [],
"restrictions": [],
"sort_config": None,
"allow_execution": True
}
],
"tags": [
{
"name": "Nova etiqueta 1",
"color": "#5e4ff8",
"funnel_step_blockings": []
},
{
"name": "Nova etiqueta 2",
"color": "#7fd87d",
"funnel_step_blockings": []
},
{
"name": "Nova etiqueta 3",
"color": "#5e4ff8",
"funnel_step_blockings": []
}
],
"project_term": {
"key": "called",
"en": { "project_term": {
"singular": "called",
"plural": "calls"
} },
"pt_br": { "project_term": {
"singular": "chamado",
"plural": "chamados"
} }
},
"dynamic_form": None,
"business_area": {
"id": 19,
"name": "Área de negócio",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963"
},
"allow_multi_step": True,
"show_cost_info": True,
"form": {
"id": 7,
"title": "Formulário para funil"
},
"attachments": [{ "id": 3 }],
"access": [
{
"id": "019c75de-509e-711a-8933-175cb2514cc5",
"name": "Test User",
"avatar_url": "https://via.placeholder.com/124x124.png/00aa99?text=quas",
"index_all": False,
"index_assigned": True,
"index_created": False
},
{
"id": "019c75de-50f0-7366-a948-b8cbdd1841be",
"name": "Cotestr User",
"avatar_url": None,
"index_all": True,
"index_assigned": False,
"index_created": False
}
],
"funnel_status": [
{
"name": "Novo status 1",
"color": "#b59ef6",
"is_conclusive": False,
"funnel_step_blockings": []
},
{
"name": "Novo status 2",
"color": "#7fd87d",
"is_conclusive": False,
"funnel_step_blockings": []
},
{
"name": "Novo status 3",
"color": "#b59ef6",
"is_conclusive": False,
"funnel_step_blockings": []
}
],
"condition": "active",
"allow_execution": True,
"template_projects": [{ "id": "019c75de-7fcf-70af-b840-1340626e2764" }]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
id: null,
name: 'Nome do funil',
prefix: 'PREFIX',
steps: [
{
name: 'Backlog',
step_forward: null,
step_backward: null,
show_contact_form: false,
hide_contact_form_when_linked: false,
show_customer_form: false,
hide_customer_form_when_linked: false,
sensation_amount: 50,
checklists: [
{
name: 'Checklist 1',
info: 'Texto informativo da checklist',
required: true,
order: 0
},
{name: 'Checklist 2', info: '', required: true, order: 1},
{name: 'Checklist 3', info: '', required: false, order: 2}
],
attachments: [{id: 1}, {id: 2}],
restrictions: [],
sort_config: null,
allow_execution: true,
form: {id: 7, title: 'Formulário para funil'},
help_text: 'Texto de ajuda da etapa'
},
{
name: 'Em andamento',
step_forward: null,
step_backward: null,
show_contact_form: true,
hide_contact_form_when_linked: false,
show_customer_form: true,
hide_customer_form_when_linked: false,
sensation_amount: 0,
checklists: [],
attachments: [],
restrictions: [],
sort_config: null,
allow_execution: true
},
{
name: 'Concluído',
step_forward: null,
step_backward: null,
show_contact_form: false,
hide_contact_form_when_linked: false,
show_customer_form: false,
hide_customer_form_when_linked: false,
sensation_amount: 0,
checklists: [],
attachments: [],
restrictions: [],
sort_config: null,
allow_execution: true
}
],
tags: [
{name: 'Nova etiqueta 1', color: '#5e4ff8', funnel_step_blockings: []},
{name: 'Nova etiqueta 2', color: '#7fd87d', funnel_step_blockings: []},
{name: 'Nova etiqueta 3', color: '#5e4ff8', funnel_step_blockings: []}
],
project_term: {
key: 'called',
en: {project_term: {singular: 'called', plural: 'calls'}},
pt_br: {project_term: {singular: 'chamado', plural: 'chamados'}}
},
dynamic_form: null,
business_area: {
id: 19,
name: 'Área de negócio',
frame_id: '019c75de-532c-7047-9563-daf1448ca963'
},
allow_multi_step: true,
show_cost_info: true,
form: {id: 7, title: 'Formulário para funil'},
attachments: [{id: 3}],
access: [
{
id: '019c75de-509e-711a-8933-175cb2514cc5',
name: 'Test User',
avatar_url: 'https://via.placeholder.com/124x124.png/00aa99?text=quas',
index_all: false,
index_assigned: true,
index_created: false
},
{
id: '019c75de-50f0-7366-a948-b8cbdd1841be',
name: 'Cotestr User',
avatar_url: null,
index_all: true,
index_assigned: false,
index_created: false
}
],
funnel_status: [
{
name: 'Novo status 1',
color: '#b59ef6',
is_conclusive: false,
funnel_step_blockings: []
},
{
name: 'Novo status 2',
color: '#7fd87d',
is_conclusive: false,
funnel_step_blockings: []
},
{
name: 'Novo status 3',
color: '#b59ef6',
is_conclusive: false,
funnel_step_blockings: []
}
],
condition: 'active',
allow_execution: true,
template_projects: [{id: '019c75de-7fcf-70af-b840-1340626e2764'}]
})
};
fetch('https://api.olie.ai/api/management/project-funnel', 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-funnel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => null,
'name' => 'Nome do funil',
'prefix' => 'PREFIX',
'steps' => [
[
'name' => 'Backlog',
'step_forward' => null,
'step_backward' => null,
'show_contact_form' => false,
'hide_contact_form_when_linked' => false,
'show_customer_form' => false,
'hide_customer_form_when_linked' => false,
'sensation_amount' => 50,
'checklists' => [
[
'name' => 'Checklist 1',
'info' => 'Texto informativo da checklist',
'required' => true,
'order' => 0
],
[
'name' => 'Checklist 2',
'info' => '',
'required' => true,
'order' => 1
],
[
'name' => 'Checklist 3',
'info' => '',
'required' => false,
'order' => 2
]
],
'attachments' => [
[
'id' => 1
],
[
'id' => 2
]
],
'restrictions' => [
],
'sort_config' => null,
'allow_execution' => true,
'form' => [
'id' => 7,
'title' => 'Formulário para funil'
],
'help_text' => 'Texto de ajuda da etapa'
],
[
'name' => 'Em andamento',
'step_forward' => null,
'step_backward' => null,
'show_contact_form' => true,
'hide_contact_form_when_linked' => false,
'show_customer_form' => true,
'hide_customer_form_when_linked' => false,
'sensation_amount' => 0,
'checklists' => [
],
'attachments' => [
],
'restrictions' => [
],
'sort_config' => null,
'allow_execution' => true
],
[
'name' => 'Concluído',
'step_forward' => null,
'step_backward' => null,
'show_contact_form' => false,
'hide_contact_form_when_linked' => false,
'show_customer_form' => false,
'hide_customer_form_when_linked' => false,
'sensation_amount' => 0,
'checklists' => [
],
'attachments' => [
],
'restrictions' => [
],
'sort_config' => null,
'allow_execution' => true
]
],
'tags' => [
[
'name' => 'Nova etiqueta 1',
'color' => '#5e4ff8',
'funnel_step_blockings' => [
]
],
[
'name' => 'Nova etiqueta 2',
'color' => '#7fd87d',
'funnel_step_blockings' => [
]
],
[
'name' => 'Nova etiqueta 3',
'color' => '#5e4ff8',
'funnel_step_blockings' => [
]
]
],
'project_term' => [
'key' => 'called',
'en' => [
'project_term' => [
'singular' => 'called',
'plural' => 'calls'
]
],
'pt_br' => [
'project_term' => [
'singular' => 'chamado',
'plural' => 'chamados'
]
]
],
'dynamic_form' => null,
'business_area' => [
'id' => 19,
'name' => 'Área de negócio',
'frame_id' => '019c75de-532c-7047-9563-daf1448ca963'
],
'allow_multi_step' => true,
'show_cost_info' => true,
'form' => [
'id' => 7,
'title' => 'Formulário para funil'
],
'attachments' => [
[
'id' => 3
]
],
'access' => [
[
'id' => '019c75de-509e-711a-8933-175cb2514cc5',
'name' => 'Test User',
'avatar_url' => 'https://via.placeholder.com/124x124.png/00aa99?text=quas',
'index_all' => false,
'index_assigned' => true,
'index_created' => false
],
[
'id' => '019c75de-50f0-7366-a948-b8cbdd1841be',
'name' => 'Cotestr User',
'avatar_url' => null,
'index_all' => true,
'index_assigned' => false,
'index_created' => false
]
],
'funnel_status' => [
[
'name' => 'Novo status 1',
'color' => '#b59ef6',
'is_conclusive' => false,
'funnel_step_blockings' => [
]
],
[
'name' => 'Novo status 2',
'color' => '#7fd87d',
'is_conclusive' => false,
'funnel_step_blockings' => [
]
],
[
'name' => 'Novo status 3',
'color' => '#b59ef6',
'is_conclusive' => false,
'funnel_step_blockings' => [
]
]
],
'condition' => 'active',
'allow_execution' => true,
'template_projects' => [
[
'id' => '019c75de-7fcf-70af-b840-1340626e2764'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.olie.ai/api/management/project-funnel"
payload := strings.NewReader("{\n \"id\": null,\n \"name\": \"Nome do funil\",\n \"prefix\": \"PREFIX\",\n \"steps\": [\n {\n \"name\": \"Backlog\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 50,\n \"checklists\": [\n {\n \"name\": \"Checklist 1\",\n \"info\": \"Texto informativo da checklist\",\n \"required\": true,\n \"order\": 0\n },\n {\n \"name\": \"Checklist 2\",\n \"info\": \"\",\n \"required\": true,\n \"order\": 1\n },\n {\n \"name\": \"Checklist 3\",\n \"info\": \"\",\n \"required\": false,\n \"order\": 2\n }\n ],\n \"attachments\": [\n {\n \"id\": 1\n },\n {\n \"id\": 2\n }\n ],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"help_text\": \"Texto de ajuda da etapa\"\n },\n {\n \"name\": \"Em andamento\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": true,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": true,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n },\n {\n \"name\": \"Concluído\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n }\n ],\n \"tags\": [\n {\n \"name\": \"Nova etiqueta 1\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 2\",\n \"color\": \"#7fd87d\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 3\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n }\n ],\n \"project_term\": {\n \"key\": \"called\",\n \"en\": {\n \"project_term\": {\n \"singular\": \"called\",\n \"plural\": \"calls\"\n }\n },\n \"pt_br\": {\n \"project_term\": {\n \"singular\": \"chamado\",\n \"plural\": \"chamados\"\n }\n }\n },\n \"dynamic_form\": null,\n \"business_area\": {\n \"id\": 19,\n \"name\": \"Área de negócio\",\n \"frame_id\": \"019c75de-532c-7047-9563-daf1448ca963\"\n },\n \"allow_multi_step\": true,\n \"show_cost_info\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"attachments\": [\n {\n \"id\": 3\n }\n ],\n \"access\": [\n {\n \"id\": \"019c75de-509e-711a-8933-175cb2514cc5\",\n \"name\": \"Test User\",\n \"avatar_url\": \"https://via.placeholder.com/124x124.png/00aa99?text=quas\",\n \"index_all\": false,\n \"index_assigned\": true,\n \"index_created\": false\n },\n {\n \"id\": \"019c75de-50f0-7366-a948-b8cbdd1841be\",\n \"name\": \"Cotestr User\",\n \"avatar_url\": null,\n \"index_all\": true,\n \"index_assigned\": false,\n \"index_created\": false\n }\n ],\n \"funnel_status\": [\n {\n \"name\": \"Novo status 1\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 2\",\n \"color\": \"#7fd87d\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 3\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n }\n ],\n \"condition\": \"active\",\n \"allow_execution\": true,\n \"template_projects\": [\n {\n \"id\": \"019c75de-7fcf-70af-b840-1340626e2764\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.olie.ai/api/management/project-funnel")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": null,\n \"name\": \"Nome do funil\",\n \"prefix\": \"PREFIX\",\n \"steps\": [\n {\n \"name\": \"Backlog\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 50,\n \"checklists\": [\n {\n \"name\": \"Checklist 1\",\n \"info\": \"Texto informativo da checklist\",\n \"required\": true,\n \"order\": 0\n },\n {\n \"name\": \"Checklist 2\",\n \"info\": \"\",\n \"required\": true,\n \"order\": 1\n },\n {\n \"name\": \"Checklist 3\",\n \"info\": \"\",\n \"required\": false,\n \"order\": 2\n }\n ],\n \"attachments\": [\n {\n \"id\": 1\n },\n {\n \"id\": 2\n }\n ],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"help_text\": \"Texto de ajuda da etapa\"\n },\n {\n \"name\": \"Em andamento\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": true,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": true,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n },\n {\n \"name\": \"Concluído\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n }\n ],\n \"tags\": [\n {\n \"name\": \"Nova etiqueta 1\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 2\",\n \"color\": \"#7fd87d\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 3\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n }\n ],\n \"project_term\": {\n \"key\": \"called\",\n \"en\": {\n \"project_term\": {\n \"singular\": \"called\",\n \"plural\": \"calls\"\n }\n },\n \"pt_br\": {\n \"project_term\": {\n \"singular\": \"chamado\",\n \"plural\": \"chamados\"\n }\n }\n },\n \"dynamic_form\": null,\n \"business_area\": {\n \"id\": 19,\n \"name\": \"Área de negócio\",\n \"frame_id\": \"019c75de-532c-7047-9563-daf1448ca963\"\n },\n \"allow_multi_step\": true,\n \"show_cost_info\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"attachments\": [\n {\n \"id\": 3\n }\n ],\n \"access\": [\n {\n \"id\": \"019c75de-509e-711a-8933-175cb2514cc5\",\n \"name\": \"Test User\",\n \"avatar_url\": \"https://via.placeholder.com/124x124.png/00aa99?text=quas\",\n \"index_all\": false,\n \"index_assigned\": true,\n \"index_created\": false\n },\n {\n \"id\": \"019c75de-50f0-7366-a948-b8cbdd1841be\",\n \"name\": \"Cotestr User\",\n \"avatar_url\": null,\n \"index_all\": true,\n \"index_assigned\": false,\n \"index_created\": false\n }\n ],\n \"funnel_status\": [\n {\n \"name\": \"Novo status 1\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 2\",\n \"color\": \"#7fd87d\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 3\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n }\n ],\n \"condition\": \"active\",\n \"allow_execution\": true,\n \"template_projects\": [\n {\n \"id\": \"019c75de-7fcf-70af-b840-1340626e2764\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/project-funnel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": null,\n \"name\": \"Nome do funil\",\n \"prefix\": \"PREFIX\",\n \"steps\": [\n {\n \"name\": \"Backlog\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 50,\n \"checklists\": [\n {\n \"name\": \"Checklist 1\",\n \"info\": \"Texto informativo da checklist\",\n \"required\": true,\n \"order\": 0\n },\n {\n \"name\": \"Checklist 2\",\n \"info\": \"\",\n \"required\": true,\n \"order\": 1\n },\n {\n \"name\": \"Checklist 3\",\n \"info\": \"\",\n \"required\": false,\n \"order\": 2\n }\n ],\n \"attachments\": [\n {\n \"id\": 1\n },\n {\n \"id\": 2\n }\n ],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"help_text\": \"Texto de ajuda da etapa\"\n },\n {\n \"name\": \"Em andamento\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": true,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": true,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n },\n {\n \"name\": \"Concluído\",\n \"step_forward\": null,\n \"step_backward\": null,\n \"show_contact_form\": false,\n \"hide_contact_form_when_linked\": false,\n \"show_customer_form\": false,\n \"hide_customer_form_when_linked\": false,\n \"sensation_amount\": 0,\n \"checklists\": [],\n \"attachments\": [],\n \"restrictions\": [],\n \"sort_config\": null,\n \"allow_execution\": true\n }\n ],\n \"tags\": [\n {\n \"name\": \"Nova etiqueta 1\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 2\",\n \"color\": \"#7fd87d\",\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Nova etiqueta 3\",\n \"color\": \"#5e4ff8\",\n \"funnel_step_blockings\": []\n }\n ],\n \"project_term\": {\n \"key\": \"called\",\n \"en\": {\n \"project_term\": {\n \"singular\": \"called\",\n \"plural\": \"calls\"\n }\n },\n \"pt_br\": {\n \"project_term\": {\n \"singular\": \"chamado\",\n \"plural\": \"chamados\"\n }\n }\n },\n \"dynamic_form\": null,\n \"business_area\": {\n \"id\": 19,\n \"name\": \"Área de negócio\",\n \"frame_id\": \"019c75de-532c-7047-9563-daf1448ca963\"\n },\n \"allow_multi_step\": true,\n \"show_cost_info\": true,\n \"form\": {\n \"id\": 7,\n \"title\": \"Formulário para funil\"\n },\n \"attachments\": [\n {\n \"id\": 3\n }\n ],\n \"access\": [\n {\n \"id\": \"019c75de-509e-711a-8933-175cb2514cc5\",\n \"name\": \"Test User\",\n \"avatar_url\": \"https://via.placeholder.com/124x124.png/00aa99?text=quas\",\n \"index_all\": false,\n \"index_assigned\": true,\n \"index_created\": false\n },\n {\n \"id\": \"019c75de-50f0-7366-a948-b8cbdd1841be\",\n \"name\": \"Cotestr User\",\n \"avatar_url\": null,\n \"index_all\": true,\n \"index_assigned\": false,\n \"index_created\": false\n }\n ],\n \"funnel_status\": [\n {\n \"name\": \"Novo status 1\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 2\",\n \"color\": \"#7fd87d\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n },\n {\n \"name\": \"Novo status 3\",\n \"color\": \"#b59ef6\",\n \"is_conclusive\": false,\n \"funnel_step_blockings\": []\n }\n ],\n \"condition\": \"active\",\n \"allow_execution\": true,\n \"template_projects\": [\n {\n \"id\": \"019c75de-7fcf-70af-b840-1340626e2764\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"response": true,
"project_funnel": {
"order": 11,
"name": "Nome do funil",
"condition": "active",
"allow_multi_step": true,
"show_cost_info": true,
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"allow_execution": true,
"prefix": "PREFIX2",
"form_id": 7,
"updated_at": "2026-03-16T16:34:43.000000Z",
"created_at": "2026-03-16T16:34:43.000000Z",
"id": 54,
"business_area_id": 19,
"business_area": {
"id": 19,
"name": "Área de negócio",
"order": 0,
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"deleted_at": null
},
"steps": [
{
"id": 240,
"name": "Backlog",
"project_funnel_id": 54,
"sensation_amount": 50,
"step_forward_id": null,
"step_backward_id": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"order": 1,
"help_text": "Texto de ajuda da etapa",
"form_id": 7,
"sort_config": null,
"allow_execution": true,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null,
"checklists": [
{
"id": 4,
"name": "Checklist 1",
"info": "Texto informativo da checklist",
"funnel_step_id": 240,
"required": true,
"order": 0
},
{
"id": 5,
"name": "Checklist 2",
"info": null,
"funnel_step_id": 240,
"required": true,
"order": 1
},
{
"id": 6,
"name": "Checklist 3",
"info": null,
"funnel_step_id": 240,
"required": false,
"order": 2
}
],
"attachments": [
{
"id": 1,
"name": "Captura de tela de 2026-02-12 09-34-45.png",
"technical_name": "",
"extension": "png",
"file_url": "https://olie-main-dev.s3.amazonaws.com/app/frames/019c75de-532c-7047-9563-daf1448ca963/funnel_attachments/EUCnLFRPVhJkpyq6GKDcmXNgI2S1j9HWs0AZ-captura-de-tela-de-2026-02-12-09-34-45.png",
"popup_video": 0,
"watch": false,
"user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"created_at": "2026-03-16T13:23:06.000000Z",
"updated_at": "2026-03-16T13:23:06.000000Z",
"deleted_at": null,
"pivot": {
"funnel_step_id": 240,
"step_attachment_id": 1
}
},
{
"id": 2,
"name": "Link Vídeo",
"technical_name": "link_technical_name",
"extension": "link",
"file_url": "https://youtu.be/JOopR4MKbhI?si=HNIGI1bcPNXUuTVy",
"popup_video": 1,
"watch": true,
"user_id": "019c75de-509e-711a-8933-175cb2514cc5",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"created_at": "2026-03-16T13:24:05.000000Z",
"updated_at": "2026-03-16T13:25:13.000000Z",
"deleted_at": null,
"pivot": {
"funnel_step_id": 240,
"step_attachment_id": 2
}
}
],
"form": {
"id": 7,
"title": "Formulário para funil",
"frame_id": "019c75de-532c-7047-9563-daf1448ca963",
"created_at": "2026-03-16T13:12:12.000000Z",
"updated_at": "2026-03-16T13:12:12.000000Z",
"deleted_at": null
},
"restrictions": []
},
{
"id": 241,
"name": "Em andamento",
"project_funnel_id": 54,
"sensation_amount": 0,
"step_forward_id": null,
"step_backward_id": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"order": 2,
"help_text": null,
"form_id": null,
"sort_config": null,
"allow_execution": true,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null,
"checklists": [],
"attachments": [],
"form": null,
"restrictions": []
},
{
"id": 242,
"name": "Concluído",
"project_funnel_id": 54,
"sensation_amount": 0,
"step_forward_id": null,
"step_backward_id": null,
"show_contact_form": false,
"hide_contact_form_when_linked": false,
"show_customer_form": false,
"hide_customer_form_when_linked": false,
"order": 3,
"help_text": null,
"form_id": null,
"sort_config": null,
"allow_execution": true,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null,
"checklists": [],
"attachments": [],
"form": null,
"restrictions": []
}
],
"tags": [
{
"id": 6,
"name": "Nova etiqueta 1",
"color": "#5e4ff8",
"project_funnel_id": 54,
"deleted_at": null
},
{
"id": 7,
"name": "Nova etiqueta 2",
"color": "#7fd87d",
"project_funnel_id": 54,
"deleted_at": null
},
{
"id": 8,
"name": "Nova etiqueta 3",
"color": "#5e4ff8",
"project_funnel_id": 54,
"deleted_at": null
}
],
"attachments": [],
"funnel_status": [
{
"id": 6,
"name": "Novo status 1",
"color": "#b59ef6",
"project_funnel_id": 54,
"is_conclusive": false,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null
},
{
"id": 7,
"name": "Novo status 2",
"color": "#7fd87d",
"project_funnel_id": 54,
"is_conclusive": false,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null
},
{
"id": 8,
"name": "Novo status 3",
"color": "#b59ef6",
"project_funnel_id": 54,
"is_conclusive": false,
"created_at": "2026-03-16T16:34:43.000000Z",
"updated_at": "2026-03-16T16:34:43.000000Z",
"deleted_at": null
}
]
},
"objects_above_limit": []
}{
"response": false,
"message": "unauthorized",
"error": "Unauthenticated."
}{
"response": false,
"message": "validation_errors",
"error": "O campo nome é obrigatório.",
"validation": {
"name": [
"O campo nome é obrigatório."
]
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Payload utilizado para criação ou atualização de um funil com etapas, etiquetas, status, acessos e templates.
Nome do funil. Campo obrigatório na criação.
"Nome do funil"
Lista de etapas que do funil.
Show child attributes
Show child attributes
ID do funil. Deve ser null na criação e preenchido em operações de atualização.
null
Prefixo utilizado para geração automática de códigos dos projetos criados dentro do funil.
20"PREFIX"
Lista de etiquetas disponíveis no funil.
Show child attributes
Show child attributes
Formulário dinâmico associado ao funil.
Área de negócio vinculada ao funil.
Show child attributes
Show child attributes
Permite que um projeto esteja em múltiplas etapas simultaneamente.
true
Configuração dos termos de projeto por idioma.
Show child attributes
Show child attributes
Define se informações de custo devem ser exibidas no funil.
true
Formulário principal associado ao funil.
Show child attributes
Show child attributes
Lista de anexos vinculados ao funil.
Show child attributes
Show child attributes
Lista de usuários com acesso ao funil.
Show child attributes
Show child attributes
Lista de status possíveis dentro do funil.
Show child attributes
Show child attributes
Condição do funil. Exemplo: active, inactive.
"active"
Define se o funil permite execução de projetos.
true
Lista de projetos modelo vinculados ao funil.
Show child attributes
Show child attributes
Was this page helpful?