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 a help collection

POSThttps://app.notert.io/api/v1/help-collections

Adds a collection to the help center, last in the team's order, its address taken from its name. Then start drafts in it, or move articles into it. A help center holds at most 50 collections.

A token with help:write. How to send one

Request

curl -X POST https://app.notert.io/api/v1/help-collections \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "c3a8e5f1-2b7d-4c9a-8e6f-1a3b5c7d9e02",
  "name": "Getting started",
  "description": "Set up your workspace",
  "icon": "rocket"
}'

Response 201

{
  "id": "c3a8e5f1-2b7d-4c9a-8e6f-1a3b5c7d9e02",
  "name": "Getting started",
  "description": "Set up your workspace",
  "slug": "getting-started"
}

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

  • iduuid

    An id of your own, a UUID, so a call sent again after its answer was lost answers the same collection rather than adding a second. The same id with another name, description or icon is ALREADY_ADDED. Or send an Idempotency-Key header instead, not both.

  • namestringRequired

    The collection's name, such as Billing or Getting started.

    At least 1 character. At most 60 characters.

  • descriptionstring

    One line under its name saying what its articles cover. Empty for none.

    At most 200 characters.

  • iconstring

    The icon its card shows on the board. A folder when left out.

    One offolderrocketsettingsdatabasemessage-circlebook-opencredit-carduserscodezapshieldglobeplugbellchart-columnlife-buoysparkleslayout-dashboardwrenchkey-roundmailsmartphonepalettelightbulb

    Default "folder".

Response 201

  • idstring

    The collection's id.

  • namestring

    The collection's name.

  • descriptionstring

    The line under its name.

  • slugstring

    The part of its address on the help center that names it.

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 draft and change help articles. 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.
  • 409ALREADY_ADDEDAnother collection already has that id. Send a new one, or leave it out.
  • 409CHANGED_MEANWHILESomething changed meanwhile. Try again.
  • 409LIMIT_REACHEDThe help center holds 50 collections, as many as it may. Put the article in one of them. Its data holds limit.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

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