- API reference
- Requests
Count the requests a change would reach
POSThttps://app.notert.io/api/v1/requests/changes/count
Counts the requests a filter keeps on the boards this token reaches that one change would still alter, as the requests list asks before changing every request it keeps. Requests merged into another are left out, and so is one the change would fill past the most tags or owners a request takes. Answers the count up to 150, whether more wait beyond it, how many it passes over as full, and asOf, the moment to send with every POST /requests/changes for this change. A POST, as the change rides in its body.
A token with requests:manage. How to send one
Request
curl -X POST https://app.notert.io/api/v1/requests/changes/count \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"filters": {
"statuses": [
"pending"
],
"tagIds": [
"7a3e1c9b-4d2f-4b8a-9e6c-2f1d5b7a3c08"
]
},
"change": {
"kind": "status",
"status": "planned"
}
}'Response 200
{
"count": 42,
"more": false,
"full": 0,
"asOf": "2026-11-10T14:05:00.123Z"
}Body
filtersobjectRequiredWhich requests: those a filter keeps, as the requests list in the app filters them, on the boards this token reaches. Requests filed under another are left out unless subRequests is true.
querystringWords every request kept holds in its title, its details or its author's name.
At most 200 characters.
statusesstring[]Only requests in these statuses.
Default [].
boardIdsstring[]Only requests on any of these boards.
Default [].
tagIdsstring[]Only requests wearing any of these tags.
Default [].
ownerIdsstring[]Only requests any of these teammates own, by their m_ ids.
Default [].
wantedBystringOnly the requests this person filed or voted for, by person id.
createdAfterdate-timeOnly requests filed at or after this moment, with its offset.
createdBeforedate-timeOnly requests filed before this moment, with its offset.
excludestring[]Which of boardIds, tagIds and ownerIds keep the requests they don't name instead: board, tag or owner. With tag, untagged requests are kept too.
Default [].
subRequestsbooleantrue to keep the requests filed under another as well.
Default false.
likelyDuplicatesbooleantrue for only the requests Notert found likely repeat another, which the team hasn't settled.
Default false.
visibilitystringhidden for only the requests kept off the public board, shown for only those it shows. Left out, both.
One ofhiddenshownestimatedstringBy the day the team expects to ship each, from today: overdue, day, three_days, week, month or three_months (due by the end of it, overdue ones included), or none for no day set.
One ofoverduedaythree_daysweekmonththree_monthsnonetimeZonestringThe IANA time zone estimated counts today in, such as Europe/Oslo. UTC by default.
At most 64 characters. Default "UTC".
changeobjectRequiredThe one change, by its kind: status, board, owners, tags, estimatedDate or hidden, with the field that kind names. Everything else each request has stays.
kindvalueRequiredWhich change it is.
statusstringThe status to move each one to.
One ofpendingin_reviewplannedin_progresscompletedclosedboardIdstringThe board to move each one to.
At most 64 characters.
addOwnerIdsstring[]Teammates to add as owners of each one, by their m_ ids.
Default [].
removeOwnerIdsstring[]Teammates to take off the owners of each one, by their m_ ids.
Default [].
addTagIdsstring[]Tags to put on each one.
Default [].
removeTagIdsstring[]Tags to take off each one.
Default [].
estimatedDatedate or nullThe day the team expects to ship each one, as YYYY-MM-DD, or null to clear it.
hiddenbooleantrue to keep each one off the public board, false to show it there again.
Response 200
countintegerHow many requests the change would still alter, up to 150, the most one change call makes.
morebooleanWhether more than count wait beyond them.
fullintegerHow many more the change would alter but passes over, as it would fill them past the most tags or owners a request takes. Each stays as it is until some are taken off it.
asOfdate-timeThe moment of this count. Send it unchanged with every change call, so a request filed since stays as it is.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe 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_SCOPEThis 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_ALLOWEDThis 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. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.