Skip to content
dimmiDocs

Help center

Help center API

Create and update dimmi help centers, collections, articles, languages, themes, and custom domains using the versioned JSON REST API endpoints.

Set up a help centerPublish collections, articles, themes, and search on your help center.

Articles

17 endpoints
GETList article versions/articles/{article}/versionsLists the kept versions of an article, newest first: each publish, restore and snapshot. Returns the versions with their id, number, kind and title.GETList an article's translations/articles/{article}/translationsLists the article's translations into the help center's other languages, without their bodies. Returns each translation's language, title, status...GETList a translation's versions/articles/{article}/translations/{locale}/versionsLists the published versions of the article's translation into one language, newest first. Returns each version's number, title and when it was published.POSTPublish an article/articles/{article}/publicationsMakes the article's saved working copy live on the help center and records it as a new version. Show the person the final text first. Returns the published...POSTRestore an article version/articles/{article}/restorationsPuts a kept version's words, address and placing back into the working copy. Readers see nothing until it is published, and the restore can itself be undone...POSTMark a translation up to date/articles/{article}/translations/{locale}/reviewsPOST /articles/{article}/translations/{locale}/reviews: Says the translation still matches the source after the source changed, without publishing it.POSTPublish an article's translation/articles/{article}/translations/{locale}/publicationsMakes the translation's working copy live for readers of its language and marks it caught up with the source. Returns the published translation.POSTRestore a translation's version/articles/{article}/translations/{locale}/restorationsPOST /articles/{article}/translations/{locale}/restorations: Puts an earlier version of the translation back into its working copy, unpublished.GETGet an article/articles/{article}Reads one article with the Markdown of its working copy, which may be ahead of what readers see. Returns the article with body_markdown, status...GETRead article ratings/articles/{article}/feedbackReads what readers said about an article: how many found it helpful or not, and the latest notes left by those it did not help. Returns the helpful...GETGet an article's translation/articles/{article}/translations/{locale}Reads the article's translation into one language, with its working copy in Markdown. Returns the translation with its body_markdown and lock_version.PATCHEdit an article/articles/{article}Saves the article's working copy; readers keep seeing the published version until it is published again. Sending status instead unpublishes it to a draft...PATCHLimit an article to an audience/articles/{article}/audienceKeeps an article to readers in one saved audience, or opens it to everyone again. Takes effect for readers at once, without publishing. Returns the article...PATCHTranslate an article/articles/{article}/translations/{locale}Saves the article's translation into a language, starting a draft when there is none. Readers of that language keep reading the published translation...DELETEDelete an article/articles/{article}DELETE /articles/{article}: Moves an article to the trash, taking it off the help center if it was published. dimmi REST API reference.DELETEDelete an article's translation/articles/{article}/translations/{locale}DELETE /articles/{article}/translations/{locale}: Deletes the translation; readers of its language read the original again. Its versions stay.DELETEUnpublish an article's translation/articles/{article}/translations/{locale}/publicationsDELETE /articles/{article}/translations/{locale}/publications: Takes the translation back to a draft; readers of its language read the original again.

Collections

6 endpoints

Help center languages

1 endpoint

Help centers

34 endpoints
GETList help centers/help-centersLists the workspace's help centers, the public docs sites that also hold the changelog and feature requests. Start here to find the help center id every...GETList a help center's themes/help-centers/{help_center}/themesLists every theme version uploaded to a help center, newest first, with the one readers see. Returns the theme versions, live set on the one the help...GETList articles/help-centers/{help_center}/articlesLists a help center's articles, up to 200, without their bodies. Use GET /articles/{article} for an article's text. Returns the articles with status...GETList collections/help-centers/{help_center}/collectionsLists a help center's collections, the groups articles are filed under, up to three levels deep. Returns every collection with its parent, slug, position...GETList feature requests/help-centers/{help_center}/feedback-postsLists a help center's feature requests, 25 a page. Returns the page of requests with status, approval, votes and total, and counts in each status.GETList feedback boards/help-centers/{help_center}/feedback-boardsLists a help center's boards of feature requests, in the order the portal shows them. Returns the boards with visibility, approval and how many requests...GETList changelog labels/help-centers/{help_center}/changelog-labelsLists the labels a changelog files entries under, such as New, Improved and Fixed, which readers can filter by. The defaults are made the first time.GETList changelog entries/help-centers/{help_center}/changelog-entriesLists a help center's changelog entries, 25 a page, without their bodies. Returns the page of entries with total, and counts of entries in each status.GETSee what is left to translate/help-centers/{help_center}/translation-statesLists where every article of the help center stands in each language it offers besides its default: missing, draft or published, and whether it is behind...GETList changelog subscribers/help-centers/{help_center}/changelog-subscribersLists the people who asked to get changelog entries by email, 25 a page. Returns the page of subscribers with email, linked contact, status and total.GETList a help center's collection translations/help-centers/{help_center}/collection-translationsLists the translated names of every collection of the help center, in every language. Returns each collection's name, slug and description in each language...POSTAdd a help center/help-centersAdds another help center to the workspace, such as one per product or language. It starts empty and active at its own address. Returns the help center...POSTUpload a help center theme/help-centers/{help_center}/themesUploads a theme's folder as a zip in the file field of a multipart form. dimmi checks every file and parses every template; a theme with problems is refused...POSTCreate an article draft/help-centers/{help_center}/articlesWrites a new article as a draft. Readers see nothing until it is published with POST /articles/{article}/publications. Returns the draft with its id...POSTCreate a collection/help-centers/{help_center}/collectionsAdds a collection to file articles under. Collections nest three levels deep at most. The slug is made from the name when left out. Returns the new collection.POSTCheck a help center's custom domain now/help-centers/{help_center}/domain/checksStarts the domain's checks over, due at once, after the team created or fixed its records. Returns the domain; its status changes once the check ran, within...POSTPost a feature request/help-centers/{help_center}/feedback-postsPosts a request on the public board for the team, or for a customer who asked for it. It needs no approval and is visible at once. Check GET...POSTAdd a feedback board/help-centers/{help_center}/feedback-boardsPOST /help-centers/{help_center}/feedback-boards: Adds a board, such as Bugs, after the help center's others. Returns the board. dimmi REST API reference.POSTCreate a changelog label/help-centers/{help_center}/changelog-labelsPOST /help-centers/{help_center}/changelog-labels: Adds a label to file entries under. A changelog holds at most 20 labels. Returns the new label.POSTCreate a changelog draft/help-centers/{help_center}/changelog-entriesWrites a new changelog entry as a draft. Readers and subscribers see nothing until it is published with POST /changelog-entries/{entry}/publications.GETGet a help center/help-centers/{help_center}GET /help-centers/{help_center}: Reads one help center: its address, language, status and look. Returns the help center with its public url and settings.GETGet a help center's custom domain/help-centers/{help_center}/domainReads the domain a help center answers on, the DNS records to create and where its check stands. Returns the domain with status pending, verified or failed...GETRead help center analytics/help-centers/{help_center}/analyticsReads what readers did over the last days: article views per day, the most read articles with how helpful readers found them, and searches that found...GETBuild a help center page for a theme preview/help-centers/{help_center}/theme-previewBuilds one page of the help center with its live content, as a theme would render it, without rendering it. The dimmi CLI renders the page in the theme...GETGet a help center theme/help-centers/{help_center}/themes/{theme}GET /help-centers/{help_center}/themes/{theme}: Reads one theme version of a help center: its name, settings and the team's values. Returns the theme version.GETRead changelog analytics/help-centers/{help_center}/changelog-analyticsSays how readers took a help center's changelog over the last days (30 unless days is given): views by day, reactions, subscribers and the entries read most.GETDownload a help center theme/help-centers/{help_center}/themes/{theme}/archiveGET /help-centers/{help_center}/themes/{theme}/archive: Downloads a theme version's files as a zip, or the default theme's with default as the id.PATCHChange a help center/help-centers/{help_center}Changes a help center's name, subdomain, language, status or look. Readers see every change at once, and a new subdomain moves the public address.PATCHAdd a custom domain to a help center/help-centers/{help_center}/domainClaims a subdomain the team owns, such as help.example.com, for a help center. It answers there once the CNAME and TXT records it returns exist...PATCHChange the theme a help center wears/help-centers/{help_center}/live-themeMakes a theme version the one every page of the help center renders in, or the default theme again with a null theme_id. Readers see the change at once.PATCHChange a theme's settings/help-centers/{help_center}/themes/{theme}Sets the team's values for the settings a theme version declares in its theme.json. A value that does not fit its setting is refused. Returns the theme...DELETEDelete a help center/help-centers/{help_center}Deletes a help center that is not the default, with its articles and custom domain. Messengers that showed it show the default one. Only owners may; confirm...DELETERemove a help center's custom domain/help-centers/{help_center}/domainDELETE /help-centers/{help_center}/domain: Stops a help center answering on its custom domain; it keeps its own address. dimmi REST API reference.PATCHReorder feedback boards/help-centers/{help_center}/feedback-boardsPATCH /help-centers/{help_center}/feedback-boards: Sets the order the portal shows a help center's boards in. Returns the boards in their new order.