Visão-mapa. Clique numa funcionalidade para ir aos endpoints detalhados. A barra segue as cores da legenda.
💬 Chat & Moderação13/15 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 Legislativos0/43 prontos🎬 Conteúdo, Mídia & Interatividade95/123 prontos♿ Acessibilidade (Legendas)2/4 prontos🎯 Recomendações7/7 prontos🔎 Busca & Catálogo5/5 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": "a0b0b0c8-47fc-4e7a-b69f-ae8c3aa9e929",
"chatroomId": "e644cabf-fe60-4493-85cc-2a31245787a1",
"senderId": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"senderMetadata": {},
"type": "TEXT",
"content": "*****, **** *** *********",
"replyTo": null,
"created_at": "2026-07-17T19:03:05.090Z",
"updated_at": "2026-07-17T19:03:05.469Z",
"deleted_at": null,
"deleted_by": null,
"moderation_status": "WARNING",
"moderation_reason": "content_moderated",
"hash": "fcaf7cf7c9b31004972c0f36820e04468d5d983af11cc13133713a89e0cd8d2c",
"sent_at": "2026-07-17T19:03:05.090Z",
"source": "api"
},
{
"id": "09253361-10b9-4149-ab95-bce2199a1a63",
"chatroomId": "e644cabf-fe60-4493-85cc-2a31245787a1",
"senderId": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"senderMetadata": {},
"type": "TEXT",
"content": "***, **** ***? ******** ******** *** * ***, *****",
"replyTo": null,
{
"data": [
{
"id": "44bd1981-e40d-49ad-aaf3-425431b391f6",
"entity_type": "chatroom_highlight",
"entity_id": "c211e62a-7bc2-486b-b3a4-78d54b1240e6",
"action": "UPDATE",
"performed_by": "1695347e-4441-58b1-ae0c-8ef70d38809a",
"reason": null,
"old_values": {
"id": "c211e62a-7bc2-486b-b3a4-78d54b1240e6",
"type": "PIN",
"priority": 1,
"is_active": true,
"created_at": "2026-07-23T04:10:59.785Z",
"created_by": "1695347e-4441-58b1-ae0c-8ef70d38809a",
"expires_at": "2026-07-30T04:10:59.782Z",
"removed_at": null,
"removed_by": null,
"updated_at": "2026-07-23T04:10:59.785Z",
"chatroom_id": "13078833-7967-4e0c-9747-3da2d05ccc3e",
"visual_config": {},
"message_external_id": "e888ccc1-1319-44c9-9eab-0895683fbe1a",
"display_duration_seconds": 30,
"message_content_snapshot": "Mensagem destacada qa-agent"
},
"new_values": {
"id": "c211e62a{
"data": [
{
"id": "9d473a58-943e-4cc0-8600-987858dee63b",
"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-22T04:57:00.318Z",
"updated_at": "2026-07-22T04:57:02.287Z",
"deleted_at": null,
"monitored_hashtags": [],
"scheduler_activated_at": null,
"total_count": "22"
},
{
"id": "587ef3f1-3b44-4e2e-ab4a-8a0b778a4eec",
"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": {},
"{
"owner_id": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"type": "PUBLIC",
"description": "qa-agent sala 1784779857",
"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": "13078833-7967-4e0c-9747-3da2d05ccc3e",
"external_id": null,
"owner_id": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"type": "PUBLIC",
"description": "qa-agent sala 1784779857",
"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-23T04:10:58.655Z",
"updated_at": "2026-07-23T04:10:58.655Z",
"deleted_at": null,
"monitored_hashtags": [
"tv30",
"tv3"
],
"scheduler_activated_at": null
}{
"id": "13078833-7967-4e0c-9747-3da2d05ccc3e",
"external_id": null,
"owner_id": "d03d9d69-1cb5-4907-bcf7-2c967c781496",
"type": "PUBLIC",
"description": "qa-agent sala 1784779857",
"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-23T04:10:58.655Z",
"updated_at": "2026-07-23T04:10:58.655Z",
"deleted_at": null,
"monitored_hashtags": [
"tv30",
"tv3"
],
"scheduler_activated_at": null
}{
"description": "qa-agent sala (atualizada)",
"TTL": 60
}{
"id": "13078833-7967-4e0c-9747-3da2d05ccc3e",
"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-23T04:10:58.655Z",
"updated_at": "2026-07-23T04:10:59.081Z",
"deleted_at": null,
"monitored_hashtags": [
"tv30",
"tv3"
],
"scheduler_activated_at": null
}{
"data": [
{
"id": "c211e62a-7bc2-486b-b3a4-78d54b1240e6",
"chatroom_id": "13078833-7967-4e0c-9747-3da2d05ccc3e",
"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-07-30T04:10:59.782Z",
"is_active": true,
"created_by": "1695347e-4441-58b1-ae0c-8ef70d38809a",
"created_at": "2026-07-23T04:10:59.785Z",
"updated_at": "2026-07-23T04:10:59.785Z",
"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": "c211e62a-7bc2-486b-b3a4-78d54b1240e6",
"chatroom_id": "13078833-7967-4e0c-9747-3da2d05ccc3e",
"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-07-30T04:10:59.782Z",
"is_active": true,
"created_by": "1695347e-4441-58b1-ae0c-8ef70d38809a",
"created_at": "2026-07-23T04:10:59.785Z",
"updated_at": "2026-07-23T04:10:59.785Z",
"removed_at": null,
"removed_by": null
}{
"priority": 2,
"display_duration_seconds": 60
}{
"id": "c211e62a-7bc2-486b-b3a4-78d54b1240e6",
"chatroom_id": "13078833-7967-4e0c-9747-3da2d05ccc3e",
"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-07-30T04:10:59.782Z",
"is_active": true,
"created_by": "1695347e-4441-58b1-ae0c-8ef70d38809a",
"created_at": "2026-07-23T04:10:59.785Z",
"updated_at": "2026-07-23T04:11:00.213Z",
"removed_at": null,
"removed_by": null
}{
"roomId": "13078833-7967-4e0c-9747-3da2d05ccc3e",
"totalMessages": 0,
"uniqueParticipants": 0,
"periodStart": null,
"periodEnd": null,
"insufficientData": true,
"timeline": []
}{
"roomId": "13078833-7967-4e0c-9747-3da2d05ccc3e",
"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 |
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": "030fdd5a-bc46-5eab-b7f7-4fc9b433f8f3",
"choice": {
"id": "opt_0",
"text": "Opt 01"
},
"voter_fingerprint": "qa-agent-1784779862",
"govbr_auth_level": "GOLD",
"source_ip_anonymized": "192.168.0.0"
}{
"message": "Voto computado com sucesso",
"current_votes_for_option": 22
}{
"data": [
{
"id": "81b0c373-9416-4591-a606-bc6b5833f987",
"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-23T04:06:42.253Z"
},
{
"id": "04998654-fea8-415e-b058-d03e0cec97cb",
"title": "Enquete EiTV 01",
"description": "Descrição da 'Enquete EiTV 01'",
"status": "OPEN",
"start_at": "2026-07-15T14:50:36.174Z",
"end_at": null,
"closed_at": null,
"total_votes": 37,
"created_at": "2026-07-15T14:45:32.939Z"
},
{
"id": "e04a26a7-8f11-46b7-8225-a5f4ad961a5e",
"title": "Enquete do mês do ano",
"description": null,
"status": "OPEN",
"start_at": "2026-07-17T10:54:24.061Z",
"end_at": "2026-08-31T00:00:00.000Z",
"closed_at": null,
"tota{
"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",
"owner_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": "11f70b54-e80e-43f7-877f-cf33034e966f",
"status": "DRAFT",
"message": "Enquete criada com sucesso"
}{
"adapters": [
{
"id": "generic_json",
"formats": [
"json"
],
"system": "generic",
"supports_data": true,
"supports_source_url": true
}
]
}{
"id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"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": "11f70b54-e80e-43f7-877f-cf33034e966f",
"title": "qa-agent-Participação Cidadã - TV 3.0",
"description": "Consulta pública sobre acesso digital",
"layout": "STEP_BY_STEP",
"owner_id": "550e8400-e29b-41d4-a716-446655440000",
"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_t{
"title": "qa-agent-Participação Cidadã (atualizada)",
"description": "Descrição revisada"
}{
"id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"status": "DRAFT",
"message": "Enquete atualizada com sucesso"
}{
"id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"status": "CLOSED",
"closed_at": "2026-07-23T04:09:16.912Z"
}{
"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": "11f70b54-e80e-43f7-877f-cf33034e966f",
"status": "PAUSED",
"message": "Correção aplicada com sucesso"
}{
"id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"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-23T04:09:12.756Z",
"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": "11f70b54-e80e-43f7-877f-cf33034e966f",
"events": [
{
"id": "386",
"action": "UPDATE",
"actor_id": "550e8400-e29b-41d4-a716-446655440000",
"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-23T04:09:12.759Z"
},
{
"id": "387",
"action": "UPDATE",
"actor_id": null,
"reason": "Atualização da enquete em rascunho",
"before_status": "DRAFT",
"after_status": "DRAFT",
"before_data": {
"poll": {
"id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"endAt": "2027-12-31T20:00:00.000Z",
"status": "DRAFT",
"st{
"poll_id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"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-23T04:09:16.912Z",
"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": "11f70b54-e80e-43f7-877f-cf33034e966f",
"status": "OPEN"
}{
"id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"status": "PAUSED"
}{
"id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"status": "PUBLISHED"
}{
"id": "81b0c373-9416-4591-a606-bc6b5833f987",
"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": "11f70b54-e80e-43f7-877f-cf33034e966f",
"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": "11f70b54-e80e-43f7-877f-cf33034e966f",
"rules": [
{
"_id": "acdf307d-87d0-4586-ad0b-5773978a84f6",
"poll_id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"source_question_id": "q1",
"condition": {
"option_id": "js",
"operator": "EQUALS"
},
"target_question_id": "q2",
"action": "SKIP_TO",
"createdAt": "2026-07-23T04:09:14.118Z",
"updatedAt": "2026-07-23T04:09:14.118Z"
}
]
}{
"source_question_id": "q1",
"condition": {
"option_id": "js",
"operator": "EQUALS"
},
"target_question_id": "q2",
"action": "SKIP_TO"
}{
"poll_id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"rule_id": "acdf307d-87d0-4586-ad0b-5773978a84f6",
"message": "Regra condicional criada com sucesso"
}{
"poll_id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"valid": true,
"inconsistencies": []
}{
"target_question_id": "q2",
"action": "SHOW"
}{
"poll_id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"rule_id": "acdf307d-87d0-4586-ad0b-5773978a84f6",
"message": "Regra condicional atualizada com sucesso"
}{
"poll_id": "11f70b54-e80e-43f7-877f-cf33034e966f",
"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": "11f70b54-e80e-43f7-877f-cf33034e966f",
"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": "11f70b54-e80e-43f7-877f-cf33034e966f",
"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": "bf59d1c3-0891-413d-bdf1-55b1696abfe1",
"title": "qa-agent Debate Publish 1784779838",
"status": "ACTIVE",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-23T04:10:47.723Z",
"updated_at": "2026-07-23T04:10:48.200Z",
"rules": {
"slug": "qa-agent-debate-publish-1784779838",
"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-1784779838",
"description": null,
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": tr{
"data": [
{
"id": "69121237-a0a0-4683-a2ee-f2bdd342b72d",
"debate_id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"participant_id": "e6d35a7e-cba9-47a2-b537-7d1dd8faa0c2",
"turn_number": 1,
"status": "WAITING",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-23T04:10:44.569Z",
"updated_at": "2026-07-23T04:10:44.569Z"
}
]
}{
"participant_id": "e6d35a7e-cba9-47a2-b537-7d1dd8faa0c2",
"turn_number": 1
}{
"id": "69121237-a0a0-4683-a2ee-f2bdd342b72d",
"debate_id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"participant_id": "e6d35a7e-cba9-47a2-b537-7d1dd8faa0c2",
"turn_number": 1,
"status": "WAITING",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-23T04:10:44.569Z",
"updated_at": "2026-07-23T04:10:44.569Z"
}{
"message": "Turno excluido com sucesso."
}{
"id": "69121237-a0a0-4683-a2ee-f2bdd342b72d",
"debate_id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"participant_id": "e6d35a7e-cba9-47a2-b537-7d1dd8faa0c2",
"turn_number": 1,
"status": "WAITING",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-23T04:10:44.569Z",
"updated_at": "2026-07-23T04:10:44.569Z"
}{
"status": "ACTIVE"
}{
"id": "69121237-a0a0-4683-a2ee-f2bdd342b72d",
"debate_id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"participant_id": "e6d35a7e-cba9-47a2-b537-7d1dd8faa0c2",
"turn_number": 1,
"status": "ACTIVE",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-23T04:10:44.569Z",
"updated_at": "2026-07-23T04:10:45.248Z"
}{
"participant_id": "4a1f6bf8-32bc-41a5-9a88-07ddf073b414",
"turn_number": 2,
"status": "ACTIVE"
}{
"id": "bdf76004-5686-4d87-a22a-bdf5938cd8ec",
"debate_id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"participant_id": "4a1f6bf8-32bc-41a5-9a88-07ddf073b414",
"turn_number": 2,
"status": "ACTIVE",
"started_at": null,
"ended_at": null,
"duration_seconds": null,
"created_at": "2026-07-23T04:10:45.768Z",
"updated_at": "2026-07-23T04:10:46.000Z"
}{
"data": [
{
"id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"title": "qa-agent Debate CRUD 1784779838",
"status": "DRAFT",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-23T04:10:39.445Z",
"updated_at": "2026-07-23T04:10:39.445Z",
"rules": {
"slug": "qa-agent-debate-crud-1784779838",
"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-1784779838",
{
"title": "qa-agent Debate CRUD 1784779838",
"layout_config": {
"layout_type": "TABS",
"applications": [
"chat",
"perguntas_comentarios"
]
}
}{
"id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"title": "qa-agent Debate CRUD 1784779838",
"slug": "qa-agent-debate-crud-1784779838",
"status": "DRAFT",
"links": {
"self": "/cms/v1/debates/sessions/11049e00-c825-47ea-940e-2c26aa89e33d"
}
}{
"message": "Sessao excluida com sucesso."
}{
"id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"title": "qa-agent Debate CRUD 1784779838",
"status": "DRAFT",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-23T04:10:39.445Z",
"updated_at": "2026-07-23T04:10:39.445Z",
"rules": {
"slug": "qa-agent-debate-crud-1784779838",
"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-1784779838",
"description": null,
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_anonymous": true
},
{
"description": "Sessão de teste automatizado"
}{
"id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"title": "qa-agent Debate CRUD (substituído)",
"status": "DRAFT",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-23T04:10:39.445Z",
"updated_at": "2026-07-23T04:10:43.903Z",
"rules": {
"slug": "qa-agent-debate-crud-1784779838",
"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-1784779838",
"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": "11049e00-c825-47ea-940e-2c26aa89e33d",
"title": "qa-agent Debate CRUD (substituído)",
"status": "DRAFT",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-23T04:10:39.445Z",
"updated_at": "2026-07-23T04:10:43.666Z",
"rules": {
"slug": "qa-agent-debate-crud-1784779838",
"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-1784779838",
"description": null,
"access_control": {
"type": "PUBLIC",
"require_auth": false,
"allowed_roles": [],
"allow_a{
"action": "PAUSE"
}{
"id": "bf59d1c3-0891-413d-bdf1-55b1696abfe1",
"title": "qa-agent Debate Publish 1784779838",
"status": "PAUSED",
"start_at": null,
"end_at": null,
"owner_id": null,
"created_at": "2026-07-23T04:10:47.723Z",
"updated_at": "2026-07-23T04:10:48.655Z",
"rules": {
"slug": "qa-agent-debate-publish-1784779838",
"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": "e6988f70-e0ff-44c1-b216-fe8fdd00794a",
"debate_session_id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"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-23T04:10:42.257Z",
"updated_at": "2026-07-23T04:10:42.257Z"
}
]{
"id": "e6988f70-e0ff-44c1-b216-fe8fdd00794a",
"debate_session_id": "11049e00-c825-47ea-940e-2c26aa89e33d",
"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-23T04:10:42.257Z",
"updated_at": "2026-07-23T04:10:42.257Z"
}{
"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
�� ��"