Skip to the page
API pages

Guides

Endpoints

Requests15
Deleted requests2
Comments5
Comment search1
Voters3
Followers3
Boards4
Tags5
Issues5
Statuses1
Roadmap2
Insights10
Search1
People5
Teammates4
Conversations11
Operators1
Saved replies4
Changelog entries12
Changelog tags4
Changelog subscribers2
Help articles12
Help collections3
System status4
Knowledge sources5
Knowledge pages3
Otto2
Moderation2
Audit log1
Webhooks6
Webhook deliveries2
Token1

Tag several requests

POSThttps://app.notert.io/api/v1/requests/tags

Puts tags on several requests and takes others off them at once, as the token's holder, as the requests list does over the requests picked there. Every other tag each wears stays as it is, so a tag a teammate put on one meanwhile stays. A request this token can't read, on a board it isn't held to, deleted or named by a key no request holds, is left out and named in notFoundIds as the call named it. A tag that isn't the workspace's is PICKS_GONE, and nothing changes. Asking again changes nothing.

A token with requests:manage. How to send one

Request

curl -X POST https://app.notert.io/api/v1/requests/tags \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "requestIds": [
    "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40"
  ],
  "addTagIds": [
    "8e2f4a6c-1b3d-4e5f-9a7b-2c4d6e8f0a13"
  ],
  "removeTagIds": []
}'

Response 200

{
  "changed": [
    {
      "requestId": "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40",
      "addedTagIds": [
        "8e2f4a6c-1b3d-4e5f-9a7b-2c4d6e8f0a13"
      ],
      "removedTagIds": []
    }
  ],
  "notFoundIds": []
}

Body

  • requestIdsstring[]Required

    The requests to change, by their ids or keys, up to 100.

  • addTagIdsstring[]

    Tags to put on every one of them. One a request wears already stays.

    Default [].

  • removeTagIdsstring[]

    Tags to take off every one of them.

    Default [].

Response 200

  • changedobject[]

    Each request whose tags changed; one that wore them as asked is left out.

    • requestIdstring

      The request's id.

    • addedTagIdsstring[]

      The tags it put on this request.

    • removedTagIdsstring[]

      The tags it took off this request.

  • notFoundIdsstring[]

    The requests named that this token can't read, on another board, deleted or named by a key no request holds, each as the call named it.

Errors

  • 400BAD_REQUESTInput validation failed.
  • 401UNAUTHORIZEDSend a valid API token as a Bearer token.
  • 403HOLDER_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.
  • 403INSUFFICIENT_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.
  • 403NETWORK_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.
  • 403NO_SEATThis workspace's plan has no seat for you.
  • 403WORKSPACE_SUSPENDEDThis workspace is suspended.
  • 409CHANGED_MEANWHILESomething changed meanwhile. Try again.
  • 409PICKS_GONEA board, tag or teammate it names isn't in this workspace. Pick another, or leave it out. Its data holds board, tagIds, ownerIds, author.
  • 409TAGS_FULLA request named would wear more than 50 tags, counting those a teammate added since. data.requestId says which. Take some off it, then send your change once more. Its data holds requestId.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

A refusal names its code beside a message. Rate limits says when to try again.