Newer Version Available
Get a List of Site and Community URLs for an Online Article
Returns a list of article URLs in sites, communities, or both. Article URLs from sites
are returned if the article is visible in public knowledge base. Article URLs from communities are
returned if the article is visible to partners or customers. This API creates the URLs for the
Insert URL into Email Lightning action.
The org must have Lightning Knowledge enabled, and Allow users to share articles via public URLs enabled in Knowledge Settings. In addition, the API user must have read access on Knowledge.
Available in API versions 46.0 and later.
Syntax
- URI
-
1/services/data/v46.0/knowledgeManagement/articles/siteListForOnlineArticle?articleId=articleId&language=xx_XX - Formats
- JSON, XML
- HTTP Method
- GET
- Authentication
- Authorization: OAuth accesstoken
- Parameters
-
Parameter Description articleId Either the 15– or 18–digit version of the article version ID. language Language for the selected article. - Input
- None