---
title: "POST /api/rpc/queryBoardStatuses"
method: POST
path: "/api/rpc/queryBoardStatuses"
tags: ["boards"]
---

# POST /api/rpc/queryBoardStatuses

`POST /api/rpc/queryBoardStatuses`

## Request

- Base URL: `https://21risk.com`
- URL: `https://21risk.com/api/rpc/queryBoardStatuses`
- Auth: OAuth 2 (client credentials, token URL `/api/v1/oauth/token`)

Query statuses for the required boardSlug, with optional filters and pagination

## Request body

- object
  - `tenant` unknown, required
  - `query` string
  - `boardSlug` string, required
  - `includes` integer[]: Only include records whose IDs are in this list.
  - `excludes` integer[]: Exclude records whose IDs are in this list.
  - `after` string: Cursor-based pagination: return results after this cursor. Use pageInfo.endCursor from the previous page.
  - `before` string: Cursor-based pagination: return results before this cursor. Use pageInfo.startCursor from the current/previous page.
  - `first` union
    - integer
    - 'all'
  - `last` integer: Cursor-based pagination: number of results to return before the before cursor. Use for backward pagination.
  - `sort` 'name' | 'openOrClosed'
  - `direction` 'asc' | 'desc'

## Response `200`

Successful response

---

[API](https://skmtc.dev/21risk/apis/21risk-api.md) · [All operations](https://skmtc.dev/21risk/apis/21risk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/21risk/apis/21risk-api/revisions/273a727dfd49?raw)
