# Change a request's status (https://notert.io/docs/api/reference/change-a-request-s-status)

`POST /api/v1/requests/{id}/status`

Moves a request to another status as the token's holder: its followers hear of it, the person who asked is emailed, and planned, in progress and completed place it on the roadmap. Its sub-requests keep their own statuses; once it is completed or closed, the answer says how many of them on boards the token reaches are still open, so you can move those too. A request already in that status is answered as it stands. Where it moved but can't be read back for the answer, the answer holds its id alone, and a get reads the rest.

Access: A token with requests:manage.

## Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | The request's id. Where an endpoint takes one, its key as its page shows it, such as REQ-44, works too. At most 64 characters. |

## Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | Yes | The status to move it to: pending, in_review, planned, in_progress, completed or closed. One of: `pending`, `in_review`, `planned`, `in_progress`, `completed`, `closed`. |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The request's id. Where an endpoint takes one, its key as its page shows it, such as REQ-44, works too. |
| `key` | string | What people call the request by, as its page shows it. Every endpoint that takes a request's id takes it too. |
| `title` | string | What the request asks for, in a line. |
| `details` | string | What the request says beyond its title, in Markdown. |
| `status` | string | Where the request stands, from a new one to one the team completed or closed. One of: `pending`, `in_review`, `planned`, `in_progress`, `completed`, `closed`. |
| `boardId` | string | The board the request is on. |
| `parentId` | string or null | The request it is a sub-request of, or null for a top-level request. |
| `boardUrl` | string or null | Its page on the public board, at the workspace's own domain once one is connected. Null while a stranger can't open it: hidden, waiting for review or on a private board. |
| `authorId` | string or null | Who filed it, as the people endpoints name them: a customer's c_ id or a teammate's m_ id. Null once neither stands, as after the customer is erased. |
| `votes` | integer | How many people voted for it. |
| `createdAt` | date-time | When it was filed. |
| `updatedAt` | date-time | When it last changed, such as its title, details, status or board: the moment its version names. A vote or a comment doesn't change it. |
| `version` | string | Its version as read now, which a change sends back, so a change made since is refused rather than written over. One request's answers carry it; a page's don't. |
| `tagIds` | string[] | The ids of the tags it wears, in the workspace's order of its tags. |
| `ownerIds` | string[] | The teammates who own it, in the order they were added, by their m_ ids from GET /teammates and the people endpoints. |
| `estimatedDate` | date or null | The day the team expects to ship it, as YYYY-MM-DD, or null for none. |
| `hidden` | boolean | Whether the team keeps it off the public board. One on a private board, or waiting for review, isn't shown there either way. |
| `heldForReview` | boolean | Whether it waits for a moderator's review, off the public board until approved: held as it was posted, after an edit, or once reports sent it back. One a moderator removed is NOT_FOUND. |
| `attachments` | object[] | Its pictures and other files, in the order they were attached, every one the team sees on its page in the app. One request's answers carry them; a page's don't. |
| `attachments.attachmentId` | string | The file's id, which stays the same while its url may change from one read to the next. |
| `attachments.name` | string | The file's name. |
| `attachments.type` | string | The file's content type. |
| `attachments.size` | integer | The file's size in bytes. |
| `attachments.url` | string or null | Where the file opens. A file the public board may show keeps its address; one only the team sees opens until the end of the next day, so download what you keep rather than its address, and read the request again for a fresh one. Null while it can't be opened from outside the app: a document still being checked for safety, or a file a customer sent that waits for review or that the team keeps to itself, which open only in the app. |
| `openSubRequests` | integer | Set once it is completed or closed: how many of its sub-requests are still open, which keep their own statuses. Left out when it couldn't be read just now; the move stands either way. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't change or delete requests, their status or their place on the roadmap. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 403 | `NO_SEAT` | This workspace's plan has no seat for you. |
| 403 | `WORKSPACE_SUSPENDED` | This workspace is suspended. |
| 404 | `NOT_FOUND` | Not Found. |
| 409 | `CHANGED_MEANWHILE` | Something changed meanwhile. Try again. |
| 409 | `MERGED` | The request was merged into another, which holds its votes, comments and status now. Send this to that one. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl -X POST https://app.notert.io/api/v1/requests/8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40/status \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "planned"
}'
```

## Example response 200

```json
{
  "id": "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40",
  "key": "REQ-44",
  "title": "Dark mode",
  "details": "Easier on the eyes when we work late.",
  "status": "planned",
  "boardId": "2d9a7c41-6b3e-4e8f-a1c5-0f4b8d2e6a17",
  "parentId": "5e1b9f3a-7c2d-4a6e-8b0f-3d4c6a8e1f92",
  "boardUrl": "https://feedback.example.com/p/8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40",
  "authorId": "c_a4c6e8f0-2b1d-4f3a-9c5e-7d9b1f3a5c70",
  "votes": 42,
  "createdAt": "2026-11-02T10:15:00.123Z",
  "updatedAt": "2026-11-10T14:05:00.123Z",
  "version": "2026-11-10 14:05:00.123456",
  "tagIds": [
    "7a3e1c9b-4d2f-4b8a-9e6c-2f1d5b7a3c08"
  ],
  "ownerIds": [
    "m_5k2m9p4q7r1t"
  ],
  "estimatedDate": "2026-12-15",
  "hidden": false,
  "heldForReview": false,
  "attachments": [
    {
      "attachmentId": "6d2f8b4a-9e1c-4a7d-b3f5-2c8e0a6d4b19",
      "name": "dark-mode.webp",
      "type": "image/webp",
      "size": 48213,
      "url": "https://notert-content.com/requests/6d2e9a1c/0b6f3a2e.webp"
    }
  ],
  "openSubRequests": 2
}
```
