# API Endpoints

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

## List Of Configurations Endpoints

| Endpoints                                                                                          | Description                               | Type |
| -------------------------------------------------------------------------------------------------- | ----------------------------------------- | ---- |
| [/configurations](https://docs.protokol.com/developers/sdk/voting/configurations#configurations-1) | Returns configurations for voting plugins | GET  |

## List Of Create Proposal Endpoints

| Endpoints                                                                                                                            | Description                               | Type |
| ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------- | ---- |
| [/create/proposal/transactions](https://docs.protokol.com/developers/sdk/voting/create-proposal#create-proposal-transactions)        | Returns all create proposal transactions  | GET  |
| [/create/proposal/transactions/:id](https://docs.protokol.com/developers/sdk/voting/create-proposal#create-proposal-transactions-id) | Returns create proposal transaction by id | GET  |
| [/create/proposal/:id/wallet](https://docs.protokol.com/developers/sdk/voting/create-proposal#create-proposal-id-wallet)             | Returns wallet by create proposal id      | GET  |

## List Of Cast Vote Endpoints

| Endpoints                                                                                                          | Description                         | Type |
| ------------------------------------------------------------------------------------------------------------------ | ----------------------------------- | ---- |
| [/cast/vote/transactions](https://docs.protokol.com/developers/sdk/voting/cast-vote#cast-vote-transactions)        | Returns all cast vote transactions  | GET  |
| [/cast/vote/transactions/:id](https://docs.protokol.com/developers/sdk/voting/cast-vote#cast-vote-transactions-id) | Returns cast vote transaction by id | GET  |
| [/cast/vote/:id/wallet](https://docs.protokol.com/developers/sdk/voting/cast-vote#cast-vote-id-wallet)             | Returns wallet by cast vote id      | GET  |

## List Of Statistics Endpoints

| Endpoints                                                                                   | Description                           | Type |
| ------------------------------------------------------------------------------------------- | ------------------------------------- | ---- |
| [/statistics/:id](https://docs.protokol.com/developers/sdk/voting/statistics#statistics-id) | Returns statistics for proposal by id | GET  |
