Skip to content

List work item votes ​

GET/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{pk}/votes/

Return every vote on a work item as a paginated list, newest first. Each row is one user's vote. Count the rows where vote is 1 for upvotes and -1 for downvotes. Add ?expand=actor to show who voted.

Anyone who can see the work item can list its votes. A work item you can't see returns 404. By default, an archived work item also returns 404. Pass ?archived=true to reach one.

Path parameters ​

slug:requiredstring

The workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.

project_id:requiredstring

The project the work item belongs to. Accepts the project UUID or its identifier, for example ENG.

pk:requiredstring

The work item. Accepts its UUID or its human identifier, for example ENG-142.

Pagination ​

per_page:optionalinteger

Page size. Defaults to 50, maximum 200.

offset:optionalinteger

Number of rows to skip from the start of the result set. Maximum 10000. Use the next value from the response instead of computing offsets yourself.

count:optionalboolean

Defaults to true. Set to false to skip the COUNT(*) behind total_count. The field is then omitted from the response.

Response shaping ​

fields:optionalstring

Comma-separated list of fields to return on each row. Fields you don't request are left out of the response instead of coming back as null, so a missing key means you didn't ask for it and null means the value is null. id is always included, whether or not you name it.

Pass all to get every requestable field. An unknown field name returns 400 with the list of valid names and the closest match, so a typo is caught instead of being silently ignored.

Requestable here: actor_id, created_at, id, project_id, updated_at, vote, work_item_id.

See Sparse fields.

expand:optionalstring

Comma-separated relations to embed alongside the ids: actor (the user who voted, with id, display_name, avatar_url, and email).

Expanded objects get their own key: ?expand=actor keeps actor_id and adds an actor object next to it. An unknown value returns 400. See Expanding relations.

Scopes ​

projects.work_items:read

Errors ​

StatusCodeCause
401unauthorizedMissing or invalid credentials.
403forbiddenYour token scope doesn't allow this.
404not_foundNo such work item, project, or workspace, you can't see the work item, or it's archived and you didn't pass ?archived=true.
406not_acceptableThe Accept header asks for a representation the API can't produce.
429rate_limitedThrottled. Honor the Retry-After header before retrying.
List work item votes
bash
curl -X GET \
  "https://api.plane.so/api/v2/workspaces/my-team/projects/4af68566-94a4-4eb3-94aa-50dc9427067b/work-items/8c3d1f72-4a9e-4b65-9d20-6e1f3b7a5c48/votes/?expand=actor" \
  -H "X-Api-Key: $PLANE_API_KEY"
Response200
json
{
  "data": [
    {
      "id": "0e5b9c37-2f6a-4d81-b9c4-6a3d8e1f2b75",
      "work_item_id": "8c3d1f72-4a9e-4b65-9d20-6e1f3b7a5c48",
      "project_id": "4af68566-94a4-4eb3-94aa-50dc9427067b",
      "actor_id": "a8d3e5f1-6b2c-4e97-8d40-1c5f7a9b3e26",
      "vote": -1,
      "created_at": "2026-01-15T14:08:33.620417Z",
      "updated_at": "2026-01-15T14:08:33.620417Z",
      "actor": {
        "id": "a8d3e5f1-6b2c-4e97-8d40-1c5f7a9b3e26",
        "display_name": "Ravi Kumar",
        "avatar_url": "https://media.plane.so/avatars/a8d3e5f1-6b2c-4e97-8d40-1c5f7a9b3e26.png",
        "email": "ravi@example.com"
      }
    },
    {
      "id": "d6a2f8c1-3e7b-4a95-8c04-9f1e5b2d7a63",
      "work_item_id": "8c3d1f72-4a9e-4b65-9d20-6e1f3b7a5c48",
      "project_id": "4af68566-94a4-4eb3-94aa-50dc9427067b",
      "actor_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
      "vote": 1,
      "created_at": "2026-01-14T09:22:41.478363Z",
      "updated_at": "2026-01-14T09:22:41.478363Z",
      "actor": {
        "id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
        "display_name": "Priya Shah",
        "avatar_url": "https://media.plane.so/avatars/16c61a3a-512a-48ac-b0be-b6b46fe6f430.png",
        "email": "priya@example.com"
      }
    }
  ],
  "next": null,
  "previous": null,
  "total_count": 2,
  "pagination": {
    "style": "offset"
  }
}