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

Create an issue from a request

POSThttps://app.notert.io/api/v1/requests/{id}/issues

Creates an issue from a request in the workspace's GitHub or Linear, as the token's holder, as Create issue in on its page does, and links the request to it: the issue takes the request's title and details and a link back to it, and the request then follows the issue's status as the workspace's settings say. A request that isn't on the public board goes only into a private repository (GITHUB_REQUEST_NOT_PUBLIC). Notert can't delete the issue afterwards, so send an Idempotency-Key: the same key sent again links the issue the first call made rather than a second.

A token with requests:manage. How to send one

Request

curl -X POST https://app.notert.io/api/v1/requests/8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40/issues \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "tracker": "github",
  "destination": "acme/web"
}'

Response 201

{
  "requestId": "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40",
  "issue": {
    "tracker": "github",
    "name": "acme/web#168",
    "title": "Dark mode",
    "state": "open",
    "url": "https://github.com/acme/web/issues/168"
  }
}

Path parameters

  • idstringRequired

    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.

Headers

  • Idempotency-Keystring

    A key of your own for this call, such as a UUID, sent again with a call made again after its answer was lost, so it stores and sends once and answers what the first stored. The same key with other words names another record. Send it or an id in the body, not both.

    At least 1 character. At most 255 characters.

Body

  • trackerstringRequired

    The tracker: github or linear, either one the workspace connected.

    One oflineargithub
  • destinationstringRequired

    Where to create it, from destinations: a repository as owner/name on GitHub, a team's id in Linear.

    At least 1 character. At most 140 characters.

Response 201

  • requestIdstring

    The request's id.

  • issueobject

    The issue it is linked to now, as its tracker says it stands.

    • trackerstring

      The tracker: github or linear, either one the workspace connected.

      One oflineargithub
    • namestring

      What people call the issue in its tracker: owner/repo#12 on GitHub, ENG-123 in Linear. A link takes it back.

    • titlestring

      The issue's title in the tracker.

    • statestring

      Where the issue stands, as its tracker says: open or closed, or a Linear state.

    • urlstring

      The issue's page in its tracker.

Errors

  • 400BAD_REQUESTInput validation failed.
  • 400IDEMPOTENCY_KEY_REFUSEDSend an Idempotency-Key of 1 to 255 visible characters, or an id of your own in the body, not both.
  • 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.
  • 404NOT_FOUNDNot Found.
  • 409CHANGED_MEANWHILESomething changed meanwhile. Try again.
  • 409GITHUB_REQUEST_NOT_PUBLICThis request isn't on the public board, so it can't go into a public repository. Pick a private one.
  • 409TRACKER_NOT_CONNECTEDThis workspace hasn't connected that tracker, or it no longer lets Notert in. An owner or admin can connect it on the Integrations page.
  • 409TRACKER_PAUSEDThat tracker is paused, since the workspace has more integrations than its plan includes.
  • 409TRACKER_REFUSEDThe tracker refused that: the issue, repository or team may not exist, or the app may not see it.
  • 409TRACKER_UNAVAILABLEThe tracker didn't answer. Try again in a moment.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

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