Visão-mapa. Clique numa funcionalidade para ir aos endpoints detalhados. A barra segue as cores da legenda.
💬 Chat & Moderação13/16 prontos📊 Enquetes & Votação29/34 prontos🎥 Debates ao Vivo27/27 prontos❓ Perguntas & Comentários26/27 prontos🔔 Notificações18/19 prontos🏛️ Dados Abertos (Câmara e Senado)22/22 prontos📜 Sessões & Registros Legislativos5/69 prontos🎬 Conteúdo, Mídia & Interatividade91/123 prontos♿ Acessibilidade (Legendas)2/4 prontos🎯 Recomendações7/7 prontos🔎 Busca & Catálogo5/5 prontos📈 Analytics & Métricas0/16 prontos👤 Usuários & Permissões0/5 prontosCada endpoint pronto traz um exemplo real de requisição e resposta capturado na verificação. O bloco “Em validação” lista o que ainda não está pronto para integração.
13 endpoint(s) prontos para integração, com exemplo real de requisição e resposta.
{
"data": [
{
"id": "54fe241f-c21c-4be3-8b07-03d777ffb12e",
"chatroomId": "e644cabf-fe60-4493-85cc-2a31245787a1",
"senderId": "d03d9d69-1cb5-4907-bcf7-2c967c781499",
"senderMetadata": {},
"type": "TEXT",
"content": "Olá, tudo bem? direto mesmo",
"replyTo": null,
"created_at": "2026-07-23T19:58:07.085Z",
"updated_at": "2026-07-23T19:58:07.085Z",
"deleted_at": null,
"deleted_by": null,
"moderation_status": "APPROVED",
"moderation_reason": null,
"hash": "c3291db5edaa01de0abde8399fb82748ec26b79e790c1928da24cb5bea28a2e9",
"sent_at": "2026-07-23T19:58:07.085Z",
"source": "api-dev"
},
{
"id": "63c36550-1d64-429a-94fb-5385ddc384fa",
"chatroomId": "e644cabf-fe60-4493-85cc-2a31245787a1",
"senderId": "d03d9d69-1cb5-4907-bcf7-2c967c781499",
"senderMetadata": {},
"type": "TEXT",
"content": "Olá, tudo bem? direto",
"replyTo": null,
"created_at": "2026-07-23T19:57:50{
"data": [
{
"id": "9873c827-0090-40e1-ae82-b3f135c33a84",
"entity_type": "chatroom_highlight",
"entity_id": "9ecf4038-7821-46ad-b85e-ef5b748159fa",
"action": "UPDATE",
"performed_by": "75665ec1-754a-52c3-973d-b5b138d0149d",
"reason": null,
"old_values": {
"id": "9ecf4038-7821-46ad-b85e-ef5b748159fa",
"type": "PIN",
"priority": 1,
"is_active": true,
"created_at": "2026-07-27T19:13:37.895Z",
"created_by": "75665ec1-754a-52c3-973d-b5b138d0149d",
"expires_at": "2026-08-03T19:13:37.891Z",
"removed_at": null,
"removed_by": null,
"updated_at": "2026-07-27T19:13:37.895Z",
"chatroom_id": "4b7cb00c-0e4d-40f6-847f-d23b3862d381",
"visual_config": {},
"message_external_id": "e888ccc1-1319-44c9-9eab-0895683fbe1a",
"display_duration_seconds": 30,
"message_content_snapshot": "Mensagem destacada qa-agent"
},
"new_values": {
"id": "9ecf4038{
"data": [
{
"id": "57bfe370-d843-4a52-9cc8-a5bbc60d378e",
"external_id": null,
"owner_id": null,
"type": "PUBLIC",
"description": null,
"ttl": 30,
"start_at": null,
"end_at": null,
"is_active": true,
"metadata": {},
"allowed_roles": [
"all"
],
"operational_config": {},
"theme_config": {},
"created_by": null,
"created_at": "2026-07-27T19:11:12.006Z",
"updated_at": "2026-07-27T19:11:13.604Z",
"deleted_at": null,
"monitored_hashtags": [],
"scheduler_activated_at": null,
"total_count": "44"
},
{
"id": "73267b8e-2787-45c9-8f3f-4215a8da55bf",
"external_id": null,
"owner_id": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"type": "PUBLIC",
"description": "qa-agent Sala moderada 1785171534068",
"ttl": 30,
"start_at": null,
"end_at": null,
"is_active": true,
"metadata": {
"origin": "qa-agent"
},
"al{
"owner_id": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"type": "PUBLIC",
"description": "qa-agent sala 1785179616",
"TTL": 30,
"is_active": true,
"operational_config": {
"max_characters": 280,
"allow_images": false,
"slow_mode_seconds": 0
},
"theme_config": {},
"metadata": {
"origin": "qa-agent"
},
"monitored_hashtags": [
"tv30",
"tv3"
]
}{
"id": "4b7cb00c-0e4d-40f6-847f-d23b3862d381",
"external_id": null,
"owner_id": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"type": "PUBLIC",
"description": "qa-agent sala 1785179616",
"ttl": 30,
"start_at": null,
"end_at": null,
"is_active": true,
"metadata": {
"origin": "qa-agent"
},
"allowed_roles": [
"all"
],
"operational_config": {
"allow_images": false,
"max_characters": 280,
"slow_mode_seconds": 0
},
"theme_config": {},
"created_by": null,
"created_at": "2026-07-27T19:13:37.169Z",
"updated_at": "2026-07-27T19:13:37.169Z",
"deleted_at": null,
"monitored_hashtags": [
"tv30",
"tv3"
],
"scheduler_activated_at": null
}{
"id": "4b7cb00c-0e4d-40f6-847f-d23b3862d381",
"external_id": null,
"owner_id": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"type": "PUBLIC",
"description": "qa-agent sala 1785179616",
"ttl": 30,
"start_at": null,
"end_at": null,
"is_active": true,
"metadata": {
"origin": "qa-agent"
},
"allowed_roles": [
"all"
],
"operational_config": {
"allow_images": false,
"max_characters": 280,
"slow_mode_seconds": 0
},
"theme_config": {},
"created_by": null,
"created_at": "2026-07-27T19:13:37.169Z",
"updated_at": "2026-07-27T19:13:37.169Z",
"deleted_at": null,
"monitored_hashtags": [
"tv30",
"tv3"
],
"scheduler_activated_at": null
}{
"description": "qa-agent sala (atualizada)",
"TTL": 60
}{
"id": "4b7cb00c-0e4d-40f6-847f-d23b3862d381",
"external_id": null,
"owner_id": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"type": "PUBLIC",
"description": "qa-agent sala (atualizada)",
"ttl": 60,
"start_at": null,
"end_at": null,
"is_active": true,
"metadata": {
"origin": "qa-agent"
},
"allowed_roles": [
"all"
],
"operational_config": {
"allow_images": false,
"max_characters": 280,
"slow_mode_seconds": 0
},
"theme_config": {},
"created_by": null,
"created_at": "2026-07-27T19:13:37.169Z",
"updated_at": "2026-07-27T19:13:37.460Z",
"deleted_at": null,
"monitored_hashtags": [
"tv30",
"tv3"
],
"scheduler_activated_at": null
}{
"data": [
{
"id": "9ecf4038-7821-46ad-b85e-ef5b748159fa",
"chatroom_id": "4b7cb00c-0e4d-40f6-847f-d23b3862d381",
"type": "PIN",
"message_external_id": "e888ccc1-1319-44c9-9eab-0895683fbe1a",
"message_content_snapshot": "Mensagem destacada qa-agent",
"priority": 1,
"visual_config": {},
"display_duration_seconds": 30,
"expires_at": "2026-08-03T19:13:37.891Z",
"is_active": true,
"created_by": "75665ec1-754a-52c3-973d-b5b138d0149d",
"created_at": "2026-07-27T19:13:37.895Z",
"updated_at": "2026-07-27T19:13:37.895Z",
"removed_at": null,
"removed_by": null
}
],
"meta": {
"total": 1,
"page": 1,
"lastPage": 1,
"limit": 20
}
}{
"type": "PIN",
"message_external_id": "e888ccc1-1319-44c9-9eab-0895683fbe1a",
"message_content_snapshot": "Mensagem destacada qa-agent",
"priority": 1,
"visual_config": {},
"display_duration_seconds": 30
}{
"id": "9ecf4038-7821-46ad-b85e-ef5b748159fa",
"chatroom_id": "4b7cb00c-0e4d-40f6-847f-d23b3862d381",
"type": "PIN",
"message_external_id": "e888ccc1-1319-44c9-9eab-0895683fbe1a",
"message_content_snapshot": "Mensagem destacada qa-agent",
"priority": 1,
"visual_config": {},
"display_duration_seconds": 30,
"expires_at": "2026-08-03T19:13:37.891Z",
"is_active": true,
"created_by": "75665ec1-754a-52c3-973d-b5b138d0149d",
"created_at": "2026-07-27T19:13:37.895Z",
"updated_at": "2026-07-27T19:13:37.895Z",
"removed_at": null,
"removed_by": null
}{
"priority": 2,
"display_duration_seconds": 60
}{
"id": "9ecf4038-7821-46ad-b85e-ef5b748159fa",
"chatroom_id": "4b7cb00c-0e4d-40f6-847f-d23b3862d381",
"type": "PIN",
"message_external_id": "e888ccc1-1319-44c9-9eab-0895683fbe1a",
"message_content_snapshot": "Mensagem destacada qa-agent",
"priority": 2,
"visual_config": {},
"display_duration_seconds": 60,
"expires_at": "2026-08-03T19:13:37.891Z",
"is_active": true,
"created_by": "75665ec1-754a-52c3-973d-b5b138d0149d",
"created_at": "2026-07-27T19:13:37.895Z",
"updated_at": "2026-07-27T19:13:38.188Z",
"removed_at": null,
"removed_by": null
}{
"roomId": "4b7cb00c-0e4d-40f6-847f-d23b3862d381",
"totalMessages": 0,
"uniqueParticipants": 0,
"periodStart": null,
"periodEnd": null,
"insufficientData": true,
"timeline": []
}{
"roomId": "4b7cb00c-0e4d-40f6-847f-d23b3862d381",
"totalMessagesAnalyzed": 0,
"insufficientData": true,
"words": []
}| Rota | Estado | Observação |
|---|---|---|
POST /api/v1/chat/rooms/{roomId}/messages | 🔒 Requer credencial | Token sem permissão (HTTP 403) — operação exige credencial de usuário |
POST /api/v1/chat/rooms/{roomId}/messages/direct | 🔒 Requer credencial | Token sem permissão (HTTP 403) — operação exige credencial de usuário |
DELETE | 🟣 Em validação | — |
29 endpoint(s) prontos para integração, com exemplo real de requisição e resposta.
{
"data": [
{
"poll_id": "04998654-fea8-415e-b058-d03e0cec97cb",
"title": "Enquete EiTV 01",
"status": "OPEN"
},
{
"poll_id": "7c02f8e3-b8c1-4c3e-bb70-6e9ea4e2e20f",
"title": "Enquete EiTV 04",
"status": "OPEN"
},
{
"poll_id": "d1220838-ac05-4079-a696-2b2271166562",
"title": "Enquete EiTV 02",
"status": "OPEN"
},
{
"poll_id": "e04a26a7-8f11-46b7-8225-a5f4ad961a5e",
"title": "Enquete do mês do ano",
"status": "OPEN"
},
{
"poll_id": "ff47ca9f-afca-48bd-bba1-76c42541a3dc",
"title": "Enquete do dia da semana",
"status": "OPEN"
}
]
}{
"poll_id": "ff47ca9f-afca-48bd-bba1-76c42541a3dc",
"status": "OPEN",
"is_anonymous": false,
"title": "Enquete do dia da semana",
"description": "Qual o seu dia da semana favorito?",
"layout": "SINGLE_PAGE",
"questions": [
{
"text": "Enquete do dia da semana",
"required": true,
"question_id": "87129d30-16d6-4651-a6e0-031f47d97da8",
"question_type": "MULTIPLE_CHOICE",
"multiple_choice_options": [
{
"id": "opt_0",
"label": "Domingo",
"order": 0
},
{
"id": "opt_1",
"label": "Segunda-feira",
"order": 1
},
{
"id": "opt_2",
"label": "Sábado",
"order": 2
}
]
}
]
}[
{
"snapshot_at": "2026-07-16T19:31:46.787Z",
"results": {},
"total_votes": 0
},
{
"snapshot_at": "2026-07-16T19:36:46.789Z",
"results": {},
"total_votes": 0
},
{
"snapshot_at": "2026-07-16T19:41:46.787Z",
"results": {
"opt_0": 1,
"opt_1": 1,
"opt_2": 1
},
"total_votes": 3
},
{
"snapshot_at": "2026-07-16T19:46:46.786Z",
"results": {
"opt_0": 1,
"opt_1": 1,
"opt_2": 1
},
"total_votes": 3
},
{
"snapshot_at": "2026-07-16T19:51:46.788Z",
"results": {
"opt_0": 1,
"opt_1": 1,
"opt_2": 1
},
"total_votes": 3
},
{
"snapshot_at": "2026-07-16T19:56:46.786Z",
"results": {
"opt_0": 1,
"opt_1": 1,
"opt_2": 1
},
"total_votes": 3
},
{
"snapshot_at": "2026-07-16T20:01:46.786Z",
"results": {
"opt_0": 1,
"opt_1": 1,
"opt_2": 1
},
"total_votes": 3
},
{
"snapshot_at": "2026-07-16T20:06:46.787Z",
"resu{
"poll_id": "ff47ca9f-afca-48bd-bba1-76c42541a3dc",
"results": {
"opt_1": 1,
"opt_2": 1,
"opt_0": 1
}
}{
"poll_id": "ff47ca9f-afca-48bd-bba1-76c42541a3dc",
"segments": [
{
"filter_value": "region=all, age_range=all, from=all, to=all",
"option_counts": [],
"total": 0
}
]
}{
"poll_id": "ff47ca9f-afca-48bd-bba1-76c42541a3dc",
"results": {
"opt_1": 1,
"opt_2": 1,
"opt_0": 1
}
}{
"poll_id": "04998654-fea8-415e-b058-d03e0cec97cb",
"user_id": "b5ed5025-8277-50e5-9235-08c9bb04cba4",
"choice": {
"id": "opt_0",
"text": "Opt 01"
},
"voter_fingerprint": "qa-agent-1785179619",
"govbr_auth_level": "GOLD",
"source_ip_anonymized": "192.168.0.0"
}{
"message": "Voto computado com sucesso",
"current_votes_for_option": 47
}{
"data": [
{
"id": "6df30657-fd71-4241-9fc0-2152c2a07641",
"title": "Participação Cidadã - TV 3.0",
"description": "Consulta pública sobre acesso digital",
"status": "DRAFT",
"start_at": "2026-03-12T10:00:00.000Z",
"end_at": "2026-03-12T20:00:00.000Z",
"closed_at": null,
"total_votes": 0,
"created_at": "2026-07-27T19:11:18.472Z"
},
{
"id": "41e97443-024f-43de-847e-be8ea5fbdd99",
"title": "qa-agent-probe",
"description": null,
"status": "DRAFT",
"start_at": null,
"end_at": null,
"closed_at": null,
"total_votes": 0,
"created_at": "2026-07-27T18:22:11.241Z"
},
{
"id": "5349820c-9666-4b81-8c11-24ec70876756",
"title": "qa-agent-probe",
"description": null,
"status": "DRAFT",
"start_at": null,
"end_at": null,
"closed_at": null,
"total_votes": 0,
"created_at": "2026-07-27T18:22:10.986Z"
},
{
"id": "c7b48d96-0c7d-47d0{
"title": "qa-agent-Participação Cidadã - TV 3.0",
"description": "Consulta pública sobre acesso digital",
"external_id": "qa-agent-cms-programa-123",
"layout": "STEP_BY_STEP",
"broadcaster_id": "550e8400-e29b-41d4-a716-446655440000",
"tags": [
"Cidadania",
"TV 3.0"
],
"start_at": "2026-01-01T00:00:00.000Z",
"end_at": "2027-12-31T20:00:00.000Z",
"questions": [
{
"question_id": "q1",
"question_type": "MULTIPLE_CHOICE",
"text": "Quais linguagens você utiliza?",
"required": true,
"multiple_choice_options": [
{
"id": "js",
"label": "JavaScript",
"order": 1
},
{
"id": "python",
"label": "Python",
"order": 2
}
]
}
]
}{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"status": "DRAFT",
"message": "Enquete criada com sucesso"
}{
"adapters": [
{
"id": "generic_json",
"formats": [
"json"
],
"system": "generic",
"supports_data": true,
"supports_source_url": true
}
]
}{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"external_id": "qa-agent-cms-programa-123",
"status": "DRAFT",
"start_at": "2026-01-01T00:00:00.000Z",
"end_at": "2027-12-31T20:00:00.000Z",
"closed_at": null,
"scheduled_open_at": null,
"scheduled_close_at": null,
"timezone": null,
"total_votes_cache": 0,
"template": {
"_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"title": "qa-agent-Participação Cidadã - TV 3.0",
"description": "Consulta pública sobre acesso digital",
"layout": "STEP_BY_STEP",
"tags": [
"Cidadania",
"TV 3.0"
],
"target_audience": {
"geo_location": [],
"user_roles": [],
"interests": []
},
"security": {
"audit_policy": {
"requires_full_log": false,
"immutable_votes": true,
"verification_method": "NONE"
},
"visibility_rules": {
"partial_results_public": false,
"auditor_ids": [],
"real_time_dashboard_enabled": false,
"show_voter_demog{
"title": "qa-agent-Participação Cidadã (atualizada)",
"description": "Descrição revisada"
}{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"status": "DRAFT",
"message": "Enquete atualizada com sucesso"
}{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"status": "CLOSED",
"closed_at": "2026-07-27T19:12:54.392Z"
}{
"description": "Correção de texto pós-revisão",
"actor_id": "8f0a4d9e-6d6a-4b8b-8e2d-2b03f8d4c1e7",
"reason": "Ajuste de descrição solicitado pela produção"
}{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"status": "PAUSED",
"message": "Correção aplicada com sucesso"
}{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"external_id": "qa-agent-cms-programa-123",
"title": "qa-agent-Participação Cidadã (atualizada)",
"description": "Descrição revisada",
"options": [
{
"label": "JavaScript",
"value": "js"
},
{
"label": "Python",
"value": "python"
}
],
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2027-12-31T20:00:00.000Z",
"status": "OPEN",
"created_at": "2026-07-27T19:12:51.822Z",
"results_summary": {
"total_votes": 0,
"per_question": {
"q1": {
"type": "MULTIPLE_CHOICE",
"options": [
{
"option_id": "js",
"option_label": "JavaScript",
"votes": 0
},
{
"option_id": "python",
"option_label": "Python",
"votes": 0
}
]
},
"q2": {
"type": "MULTIPLE_CHOICE",
"options": [
{
"option_id": "yes",
"option_label"{
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"events": [
{
"id": "546",
"action": "UPDATE",
"actor_id": null,
"reason": "Criação inicial da enquete",
"before_status": null,
"after_status": "DRAFT",
"before_data": null,
"after_data": {
"title": "qa-agent-Participação Cidadã - TV 3.0",
"end_at": "2027-12-31T20:00:00.000Z",
"status": "DRAFT",
"start_at": "2026-01-01T00:00:00.000Z",
"description": "Consulta pública sobre acesso digital"
},
"created_at": "2026-07-27T19:12:51.825Z"
},
{
"id": "547",
"action": "UPDATE",
"actor_id": null,
"reason": "Atualização da enquete em rascunho",
"before_status": "DRAFT",
"after_status": "DRAFT",
"before_data": {
"poll": {
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"endAt": "2027-12-31T20:00:00.000Z",
"status": "DRAFT",
"startAt": "2026-01-01T00:00:00.000Z"{
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"external_id": "qa-agent-cms-programa-123",
"status": "CLOSED",
"start_at": "2026-01-01T00:00:00.000Z",
"end_at": "2027-12-31T20:00:00.000Z",
"closed_at": "2026-07-27T19:12:54.392Z",
"total_votes": 0,
"results": {
"q1": {
"question_id": "q1",
"question_text": "Quais linguagens você utiliza?",
"type": "MULTIPLE_CHOICE",
"options": [
{
"option_id": "js",
"option_text": "JavaScript",
"votes": 0
},
{
"option_id": "python",
"option_text": "Python",
"votes": 0
}
]
},
"q2": {
"question_id": "q2",
"question_text": "Recomendaria a plataforma? (revisado)",
"type": "MULTIPLE_CHOICE",
"options": [
{
"option_id": "no",
"option_text": "Não",
"votes": 0
},
{
"option_id": "yes",
"option_text": "Sim",
"votes": 0
{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"status": "OPEN"
}{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"status": "PAUSED"
}{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"status": "PUBLISHED"
}{
"id": "6df30657-fd71-4241-9fc0-2152c2a07641",
"status": "CLOSED",
"message": "Agendamento removido com sucesso"
}{
"scheduled_open_at": "2027-12-01T10:00:00",
"scheduled_close_at": "2027-12-31T10:00:00",
"timezone": "America/Sao_Paulo"
}{
"id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"status": "PUBLISHED",
"scheduled_open_at": "2027-12-01T13:00:00.000Z",
"scheduled_close_at": "2027-12-31T13:00:00.000Z",
"timezone": "America/Sao_Paulo",
"message": "Agendamento salvo com sucesso"
}{
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"rules": [
{
"_id": "01e8b868-7c4e-4861-b847-67a92598a118",
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"source_question_id": "q1",
"condition": {
"option_id": "js",
"operator": "EQUALS"
},
"target_question_id": "q2",
"action": "SKIP_TO",
"createdAt": "2026-07-27T19:12:52.667Z",
"updatedAt": "2026-07-27T19:12:52.667Z"
}
]
}{
"source_question_id": "q1",
"condition": {
"option_id": "js",
"operator": "EQUALS"
},
"target_question_id": "q2",
"action": "SKIP_TO"
}{
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"rule_id": "01e8b868-7c4e-4861-b847-67a92598a118",
"message": "Regra condicional criada com sucesso"
}{
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"valid": true,
"inconsistencies": []
}{
"target_question_id": "q2",
"action": "SHOW"
}{
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"rule_id": "01e8b868-7c4e-4861-b847-67a92598a118",
"message": "Regra condicional atualizada com sucesso"
}{
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"questions": [
{
"question_id": "q1",
"question_type": "MULTIPLE_CHOICE",
"text": "Quais linguagens você utiliza?",
"multiple_choice_options": [
{
"id": "js",
"label": "JavaScript",
"order": 1
},
{
"id": "python",
"label": "Python",
"order": 2
}
],
"required": true
},
{
"question_id": "q2",
"question_type": "MULTIPLE_CHOICE",
"text": "Recomendaria a plataforma?",
"multiple_choice_options": [
{
"id": "yes",
"label": "Sim",
"order": 1
},
{
"id": "no",
"label": "Não",
"order": 2
}
],
"required": true
}
]
}{
"question_id": "q2",
"question_type": "MULTIPLE_CHOICE",
"text": "Recomendaria a plataforma?",
"required": true,
"multiple_choice_options": [
{
"id": "yes",
"label": "Sim",
"order": 1
},
{
"id": "no",
"label": "Não",
"order": 2
}
]
}{
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"question_id": "q2",
"message": "Pergunta criada com sucesso"
}{
"question_type": "MULTIPLE_CHOICE",
"text": "Recomendaria a plataforma? (revisado)",
"required": true,
"multiple_choice_options": [
{
"id": "yes",
"label": "Sim",
"order": 1
},
{
"id": "no",
"label": "Não",
"order": 2
},
{
"id": "idk",
"label": "Talvez",
"order": 3
}
]
}{
"poll_id": "f4acf99f-9b6b-41a6-9b70-e03c4328c27c",
"question_id": "q2",
"message": "Pergunta atualizada com sucesso"
}| Rota | Estado | Observação |
|---|---|---|
GET /api/v1/votes/polls/{pollId}/results/ws | 🟣 Em validação | — |
POST /cms/v1/polls/import | 🟣 Em validação | — |
POST /cms/v1/polls/import/preview | 🟣 Em validação | — |
POST /cms/v1/polls/users/{userId}/privacy-consents | 🟣 Em validação | HTTP 409 não previsto no spec — esperado: 201, 401, 403 |
POST /cms/v1/polls/{id}/votes | 🟣 Em validação | Endpoint interno — exige o header 'x-internal-key' (segredo do ambiente) e guard próprio; fora da superfície pública de caixa-preta |
27 endpoint(s) prontos para integração, com exemplo real de requisição e resposta.
{
"id": "eebc0fa0-ff4e-4dd5-9881-a3deb80f4089",
"title": "qa-agent Debate Publish 1785179605",
"status": "ACTIVE",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-27T19:13:30.688Z",
"updated_at": "2026-07-27T19:13:31.040Z",
"rules": {
"slug": "qa-agent-debate-publish-1785179605",
"description": null,
"layout_config": {
"layout_type": "TABS",
"applications": [
"chat",
"perguntas_comentarios"
]
},
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": true
},
"material_schedule": {
"materials": []
}
},
"external_id": null,
"type": "STRUCTURED",
"turn_duration_seconds": null,
"max_participants": null,
"moderation_mode": "AUTO",
"slug": "qa-agent-debate-publish-1785179605",
"description": null,
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": tr{
"data": [
{
"id": "ebbc33f5-b510-4980-a557-acf3f5da6600",
"debate_id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"participant_id": "ba6c70b5-774e-49f3-89f7-52625a2851a3",
"turn_number": 1,
"status": "WAITING",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-27T19:13:28.808Z",
"updated_at": "2026-07-27T19:13:28.808Z"
}
]
}{
"participant_id": "ba6c70b5-774e-49f3-89f7-52625a2851a3",
"turn_number": 1
}{
"id": "ebbc33f5-b510-4980-a557-acf3f5da6600",
"debate_id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"participant_id": "ba6c70b5-774e-49f3-89f7-52625a2851a3",
"turn_number": 1,
"status": "WAITING",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-27T19:13:28.808Z",
"updated_at": "2026-07-27T19:13:28.808Z"
}{
"message": "Turno excluido com sucesso."
}{
"id": "ebbc33f5-b510-4980-a557-acf3f5da6600",
"debate_id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"participant_id": "ba6c70b5-774e-49f3-89f7-52625a2851a3",
"turn_number": 1,
"status": "WAITING",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-27T19:13:28.808Z",
"updated_at": "2026-07-27T19:13:28.808Z"
}{
"status": "ACTIVE"
}{
"id": "ebbc33f5-b510-4980-a557-acf3f5da6600",
"debate_id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"participant_id": "ba6c70b5-774e-49f3-89f7-52625a2851a3",
"turn_number": 1,
"status": "ACTIVE",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-27T19:13:28.808Z",
"updated_at": "2026-07-27T19:13:29.255Z"
}{
"participant_id": "ff8af0f2-af31-4d7a-b416-b2f333839596",
"turn_number": 2,
"status": "ACTIVE"
}{
"id": "84606508-98c9-48eb-a047-489bcf1f518a",
"debate_id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"participant_id": "ff8af0f2-af31-4d7a-b416-b2f333839596",
"turn_number": 2,
"status": "ACTIVE",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-27T19:13:29.549Z",
"updated_at": "2026-07-27T19:13:29.694Z"
}{
"data": [
{
"id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"title": "qa-agent Debate CRUD 1785179605",
"status": "DRAFT",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-27T19:13:25.742Z",
"updated_at": "2026-07-27T19:13:25.742Z",
"rules": {
"slug": "qa-agent-debate-crud-1785179605",
"description": null,
"layout_config": {
"layout_type": "TABS",
"applications": [
"chat",
"perguntas_comentarios"
]
},
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": true
},
"material_schedule": {
"materials": []
}
},
"external_id": null,
"type": "STRUCTURED",
"turn_duration_seconds": null,
"max_participants": null,
"moderation_mode": "AUTO",
"slug": "qa-agent-debate-crud-1785179605",
{
"title": "qa-agent Debate CRUD 1785179605",
"layout_config": {
"layout_type": "TABS",
"applications": [
"chat",
"perguntas_comentarios"
]
}
}{
"id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"title": "qa-agent Debate CRUD 1785179605",
"slug": "qa-agent-debate-crud-1785179605",
"status": "DRAFT",
"links": {
"self": "/cms/v1/debates/sessions/b98393b6-9e3d-4a4b-b2a2-cce409a01f75"
}
}{
"message": "Sessao excluida com sucesso."
}{
"id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"title": "qa-agent Debate CRUD 1785179605",
"status": "DRAFT",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-27T19:13:25.742Z",
"updated_at": "2026-07-27T19:13:25.742Z",
"rules": {
"slug": "qa-agent-debate-crud-1785179605",
"description": null,
"layout_config": {
"layout_type": "TABS",
"applications": [
"chat",
"perguntas_comentarios"
]
},
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": true
},
"material_schedule": {
"materials": []
}
},
"external_id": null,
"type": "STRUCTURED",
"turn_duration_seconds": null,
"max_participants": null,
"moderation_mode": "AUTO",
"slug": "qa-agent-debate-crud-1785179605",
"description": null,
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": true
},
{
"description": "Sessão de teste automatizado"
}{
"id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"title": "qa-agent Debate CRUD (substituído)",
"status": "DRAFT",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-27T19:13:25.742Z",
"updated_at": "2026-07-27T19:13:28.338Z",
"rules": {
"slug": "qa-agent-debate-crud-1785179605",
"description": "Sessão de teste automatizado",
"layout_config": {
"layout_type": "GRID",
"applications": [
"chat",
"perguntas_comentarios",
"enquete"
]
},
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": true
},
"material_schedule": {
"materials": []
}
},
"external_id": null,
"type": "STRUCTURED",
"turn_duration_seconds": null,
"max_participants": null,
"moderation_mode": "AUTO",
"slug": "qa-agent-debate-crud-1785179605",
"description": "Sessão de teste automatizado",
"access_control": {
"type": "PUBLIC",
"requi{
"title": "qa-agent Debate CRUD (substituído)",
"layout_config": {
"layout_type": "GRID",
"applications": [
"chat",
"perguntas_comentarios",
"enquete"
]
}
}{
"id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"title": "qa-agent Debate CRUD (substituído)",
"status": "DRAFT",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-27T19:13:25.742Z",
"updated_at": "2026-07-27T19:13:28.181Z",
"rules": {
"slug": "qa-agent-debate-crud-1785179605",
"description": null,
"layout_config": {
"layout_type": "GRID",
"applications": [
"chat",
"perguntas_comentarios",
"enquete"
]
},
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": true
},
"material_schedule": {
"materials": []
}
},
"external_id": null,
"type": "STRUCTURED",
"turn_duration_seconds": null,
"max_participants": null,
"moderation_mode": "AUTO",
"slug": "qa-agent-debate-crud-1785179605",
"description": null,
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_a{
"action": "PAUSE"
}{
"id": "eebc0fa0-ff4e-4dd5-9881-a3deb80f4089",
"title": "qa-agent Debate Publish 1785179605",
"status": "PAUSED",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-27T19:13:30.688Z",
"updated_at": "2026-07-27T19:13:31.335Z",
"rules": {
"slug": "qa-agent-debate-publish-1785179605",
"description": null,
"layout_config": {
"layout_type": "TABS",
"applications": [
"chat",
"perguntas_comentarios"
]
},
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": true
},
"material_schedule": {
"materials": []
}
},
"external_id": null,
"type": "STRUCTURED",
"turn_duration_seconds": null,
"max_participants": null,
"moderation_mode": "AUTO"
}[
{
"id": "8563bb7e-0f11-496c-a570-9118600937be",
"debate_session_id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"title": "qa-agent Tabuada",
"type": "PDF",
"file_name": "sample-doc.pdf",
"mime_type": "application/pdf",
"file_size": 245623,
"scheduled_publish_at": null,
"order": 0,
"created_at": "2026-07-27T19:13:27.290Z",
"updated_at": "2026-07-27T19:13:27.290Z"
}
]{
"id": "8563bb7e-0f11-496c-a570-9118600937be",
"debate_session_id": "b98393b6-9e3d-4a4b-b2a2-cce409a01f75",
"title": "qa-agent Tabuada",
"type": "PDF",
"file_name": "sample-doc.pdf",
"mime_type": "application/pdf",
"file_size": 245623,
"scheduled_publish_at": null,
"order": 0,
"created_at": "2026-07-27T19:13:27.290Z",
"updated_at": "2026-07-27T19:13:27.290Z"
}{
"message": "Documento excluido com sucesso."
}%PDF-1.7
%äüöß
2 0 obj
<</Length 3 0 R/Filter/FlateDecode>>
stream
x���Mk�@���+����Gv�]�&Q��!��s0*T�D������Hdn3��3�$�_ �cw�՛�U-J�$�Cg�f�3e1n��
O0��ⰿ�m��U�,QfY^Pa���GUb�F͚�(��ۡ�W��h�x����h�<c5��]}j�����H{���F_qy �I�}��1�R����'�T�4�?M�L���<O�L^�d��_�4#�ْ�~��5��V�
q�n
endstream
endobj
3 0 obj
228
endobj
7 0 obj
<</Type/XObject/Subtype/Image/Width 756 /Height 1200 /BitsPerComponent 8 /ColorSpace/DeviceRGB/Filter/DCTDecode/Length 233070>>
stream
���� JFIF H H �� C
�� C
�� ��"