> For the complete documentation index, see [llms.txt](https://docs.protokol.com/developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.protokol.com/developers/sdk/voting/api-endpoints.md).

# API Endpoints

{% hint style="info" %}
Default Voting API prefix is `/api/voting`
{% endhint %}

## List Of Configurations Endpoints

| Endpoints                                                                                  | Description                               | Type |
| ------------------------------------------------------------------------------------------ | ----------------------------------------- | ---- |
| [/configurations](/developers/sdk/voting/api-endpoints/configurations.md#configurations-1) | Returns configurations for voting plugins | GET  |

## List Of Create Proposal Endpoints

| Endpoints                                                                                                                    | Description                               | Type |
| ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | ---- |
| [/create/proposal/transactions](/developers/sdk/voting/api-endpoints/create-proposal.md#create-proposal-transactions)        | Returns all create proposal transactions  | GET  |
| [/create/proposal/transactions/:id](/developers/sdk/voting/api-endpoints/create-proposal.md#create-proposal-transactions-id) | Returns create proposal transaction by id | GET  |
| [/create/proposal/:id/wallet](/developers/sdk/voting/api-endpoints/create-proposal.md#create-proposal-id-wallet)             | Returns wallet by create proposal id      | GET  |

## List Of Cast Vote Endpoints

| Endpoints                                                                                                  | Description                         | Type |
| ---------------------------------------------------------------------------------------------------------- | ----------------------------------- | ---- |
| [/cast/vote/transactions](/developers/sdk/voting/api-endpoints/cast-vote.md#cast-vote-transactions)        | Returns all cast vote transactions  | GET  |
| [/cast/vote/transactions/:id](/developers/sdk/voting/api-endpoints/cast-vote.md#cast-vote-transactions-id) | Returns cast vote transaction by id | GET  |
| [/cast/vote/:id/wallet](/developers/sdk/voting/api-endpoints/cast-vote.md#cast-vote-id-wallet)             | Returns wallet by cast vote id      | GET  |

## List Of Statistics Endpoints

| Endpoints                                                                           | Description                           | Type |
| ----------------------------------------------------------------------------------- | ------------------------------------- | ---- |
| [/statistics/:id](/developers/sdk/voting/api-endpoints/statistics.md#statistics-id) | Returns statistics for proposal by id | GET  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.protokol.com/developers/sdk/voting/api-endpoints.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
