---
title: "Get poll results"
method: GET
path: "/polls/{pollMessageId}/results"
tags: ["Polls"]
---

# Get poll results

`GET /polls/{pollMessageId}/results`

Retorna todos os votos de uma enquete específica

## Path parameters

- `pollMessageId` string, required

## Response `200`

OK

- GithubComEvolutionAPIEvolutionGoPkgPollModelPollResults
  - `optionCounts` object — hash -> count
  - `pollChatJid` string
  - `pollMessageId` string
  - `totalVotes` integer
  - `voters` GithubComEvolutionAPIEvolutionGoPkgPollModelVoterInfo[]
    - `jid` string
    - `name` string
    - `phone` string
    - `selectedOptions` string[]
    - `votedAt` string
  - `votes` GithubComEvolutionAPIEvolutionGoPkgPollModelPollVote[]
    - `companyId` string
    - `id` string
    - `instanceId` string
    - `pollChatJid` string
    - `pollMessageId` string
    - `receivedAt` string
    - `selectedOptions` string[] — SHA-256 hashes
    - `voteMessageId` string
    - `votedAt` string
    - `voterJid` string
    - `voterName` string
    - `voterPhone` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/evolution-foundation/apis/evolution-go.md) · [All operations](https://skmtc.dev/evolution-foundation/apis/evolution-go/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evolution-foundation/evolution-go/revisions/8e9c4d7d1dab/schema)
