We are thrilled to announce a new enhancement to our Core API knowledge base resources:
Endpoints now return a slug for article and category pages! The slug is a user-friendly, readable string that can be used to construct URLs to your knowledge base articles and categories.
This addition makes it easier than ever to integrate and surface your knowledge base content within the search results or display components of systems external to Front's knowledge base, such as a community hub or other resource center.
The following endpoints return the URL slug in their response:
- List articles in a knowledge base
- Get a knowledge base article
- List categories in a knowledge base
- Get a knowledge base category
To construct the full URL, use the following pattern:
<protocol>://<domain>/<locale>/<slug>
For example, if an article slug returns as /articles/57
...the full article URL in the EN locale would be:
https://yourDomain.com/en/articles/57
Happy coding!