---
title: "POST /governance/credential/votesByGovId"
method: POST
path: "/governance/credential/votesByGovId"
---

# POST /governance/credential/votesByGovId

`POST /governance/credential/votesByGovId`

Gets votes cast for a set of governance action ids.

## Request body

- GovernanceCredentialDidVoteRequest
  - `actionIds` string[], required
  - `credential` string, required
  - `untilBlock` string, required — block hash - inclusive

## Response `200`

- object[]
  - `payload` string, required
  - `txId` string, required
  - `actionId` string, required

## Other responses

- `400`
- `409`
- `422`

## Changes

- **2024-05-12** `77a569a8eb32` — 1 info
  - endpoint added
- **2022-05-10** `f39bef51175a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/dcspark/apis/carp/changes/governance/credential/votesByGovId/post.md)

---

[API](https://skmtc.dev/dcspark/apis/carp.md) · [All operations](https://skmtc.dev/dcspark/apis/carp/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dcspark/carp/revisions/ab189523ed9a/schema)
