> ## Documentation Index
> Fetch the complete documentation index at: https://developers.squads.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Vote on Proposal

> Submit approval, rejection, or cancellation votes on a proposal

Submits votes on an existing proposal. Multiple signers can vote in a single request.

## Vote Actions

The available action depends on the proposal's current status:

| Status     | Available Actions   |
| ---------- | ------------------- |
| `Active`   | `approve`, `reject` |
| `Approved` | `cancel`            |

## Reject vs Cancel

<Warning>
  `reject` and `cancel` are **not interchangeable**—they operate at different lifecycle stages.
</Warning>

**`reject`** — Block a proposal during voting (status: `Active`)

* Use when you disagree with the proposed action
* Prevents the proposal from reaching approval

**`cancel`** — Stop an already-approved proposal (status: `Approved`)

* Use when circumstances have changed after approval
* Prevents execution of an approved proposal

```
Active → approve/reject → Approved → cancel → Cancelled
                ↓                       ↓
           Rejected                  Executed
```

## Automatic Duplicate Filtering

The API filters out signers who have already voted with the same action. If all requested signers have already voted, the API returns an error.

```typescript theme={null}
// If signerA already approved, only signerB is included
const response = await grid.vote(accountAddress, proposalAddress, {
  signers: [signerA, signerB],
  action: "approve"
});
// response.signers = [signerB]
```

## Permission Requirements

All signers must have `CAN_VOTE` permission (mask includes value 2).

## Related Endpoints

* [Get Proposal](/grid/v1/api-reference/endpoint/proposals/get) — Check status before voting
* [Vote and Execute](/grid/v1/api-reference/endpoint/proposals/vote-and-execute) — Vote and execute combined


## OpenAPI

````yaml POST /api/grid/v1/accounts/{address}/proposals/{proposal_address}/vote
openapi: 3.1.0
info:
  title: Grid v1 API
  description: Grid v1 REST API for Solana-based smart account system
  contact:
    name: Grid API Support
    url: https://squads.so
    email: support@squads.so
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://grid.squads.xyz
    description: Production server
security:
  - bearer_auth: []
tags:
  - name: accounts
    description: Smart account management operations
  - name: spending-limits
    description: Spending limit management
  - name: standing-orders
    description: Standing order operations
  - name: transactions
    description: Transaction management
  - name: trade
    description: Trade operations and management
  - name: payments
    description: Payment intent operations
  - name: passkeys
    description: Passkey management
  - name: kyc
    description: Know Your Customer operations
  - name: external-accounts
    description: External bank account management
  - name: virtual-accounts
    description: Virtual account management
  - name: auth
    description: Authentication operations
  - name: proposals
    description: Proposal management for multi-sig operations
  - name: compliance
    description: Compliance entity management and KYB/KYC operations
paths:
  /api/grid/v1/accounts/{address}/proposals/{proposal_address}/vote:
    post:
      tags:
        - proposals
      summary: Vote on a proposal
      description: Vote to approve, reject, or cancel a proposal on a smart account
      operationId: handler
      parameters:
        - name: address
          in: path
          description: Smart account address
          required: true
          schema:
            type: string
        - name: proposal_address
          in: path
          description: Proposal address
          required: true
          schema:
            type: string
        - name: x-grid-environment
          in: header
          description: Target Solana environment
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VoteOnProposalRequestPayload'
        required: true
      responses:
        '200':
          description: Vote successfully submitted
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GridApiResponse_VoteOnProposalResponsePayload
        '400':
          description: Invalid request
        '401':
          description: Unauthorized
        '404':
          description: Proposal not found
        '500':
          description: Internal server error
      security:
        - bearer_auth: []
components:
  schemas:
    VoteOnProposalRequestPayload:
      type: object
      required:
        - action
      properties:
        action:
          $ref: '#/components/schemas/VoteAction'
        signers:
          type: array
          items:
            type: string
    GridApiResponse_VoteOnProposalResponsePayload:
      type: object
      required:
        - data
        - metadata
      properties:
        data:
          type: object
          required:
            - transaction
          properties:
            signers:
              type: array
              items:
                type: string
            transaction:
              type: string
        metadata:
          $ref: '#/components/schemas/Metadata'
    VoteAction:
      type: string
      enum:
        - approve
        - reject
        - cancel
    Metadata:
      type: object
      required:
        - request_id
        - timestamp
      properties:
        request_id:
          type: string
        timestamp:
          type: string
          format: date-time
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: Your Grid API key from the Grid Dashboard

````