Listar publicações
curl --request GET \
--url https://api.olie.ai/api/management/form-publications \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/form-publications"
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/form-publications', 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/form-publications",
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/form-publications"
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/form-publications")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/form-publications")
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,
"form_publications": [
{
"id": "01a0cb22-5af9-7290-a243-736378cb5350",
"title": "Inscrição - Workshop de Processos",
"description": "Preencha para garantir sua vaga.",
"background_color": "#1E40AF",
"starts_at": null,
"ends_at": "2026-12-31 23:59:59",
"redirect_url": "https://exemplo.com.br/obrigado",
"token": "e867fd11-bf8d-4b10-b8a0-77deae294392",
"status": "published",
"form_id": 70,
"frame_id": "01a0252b-d865-71af-a0a2-d4e168d1ffe5",
"created_at": "2026-09-22T22:00:21.000000Z",
"updated_at": "2026-09-22T22:01:18.000000Z",
"deleted_at": null,
"create_project": 0,
"link_as_media": false,
"link_as_loose_form": false,
"project_name": null,
"form_edge_id": null,
"project_template_id": null,
"funnel_step_id": null,
"type": "publication",
"created_by": null,
"responses_count": 1,
"form": {
"id": 70,
"title": "Doc Postman - Inscrição em evento"
},
"project_template": null,
"form_edge": null
}
]
}{
"response": false,
"message": "invalid_filter_query",
"error": "Requested filter(s) `foo` are not allowed. Allowed filter(s) are `title, trashed`.",
"allowed_filters": [
"title",
"trashed"
],
"unknown_filters": {
"1": "foo"
}
}form-publications
Listar publicações
Lista todas as publicações de formulário da conta, sem paginação, com o total de respostas de cada uma. Solicitações não aparecem aqui.
GET
/
api
/
management
/
form-publications
Listar publicações
curl --request GET \
--url https://api.olie.ai/api/management/form-publications \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/form-publications"
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/form-publications', 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/form-publications",
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/form-publications"
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/form-publications")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/form-publications")
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,
"form_publications": [
{
"id": "01a0cb22-5af9-7290-a243-736378cb5350",
"title": "Inscrição - Workshop de Processos",
"description": "Preencha para garantir sua vaga.",
"background_color": "#1E40AF",
"starts_at": null,
"ends_at": "2026-12-31 23:59:59",
"redirect_url": "https://exemplo.com.br/obrigado",
"token": "e867fd11-bf8d-4b10-b8a0-77deae294392",
"status": "published",
"form_id": 70,
"frame_id": "01a0252b-d865-71af-a0a2-d4e168d1ffe5",
"created_at": "2026-09-22T22:00:21.000000Z",
"updated_at": "2026-09-22T22:01:18.000000Z",
"deleted_at": null,
"create_project": 0,
"link_as_media": false,
"link_as_loose_form": false,
"project_name": null,
"form_edge_id": null,
"project_template_id": null,
"funnel_step_id": null,
"type": "publication",
"created_by": null,
"responses_count": 1,
"form": {
"id": 70,
"title": "Doc Postman - Inscrição em evento"
},
"project_template": null,
"form_edge": null
}
]
}{
"response": false,
"message": "invalid_filter_query",
"error": "Requested filter(s) `foo` are not allowed. Allowed filter(s) are `title, trashed`.",
"allowed_filters": [
"title",
"trashed"
],
"unknown_filters": {
"1": "foo"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Busca parcial no título da publicação.
Publicações excluídas: with (ativas e excluídas) ou only (só excluídas). Omita para trazer só as ativas.
Was this page helpful?