Newer Version Available

This content describes an older version of this product. View Latest

Get a List of Salesforce Site and Experience Cloud Site URLs for an Online Article

Returns a list of article URLs in Salesforce Sites, Experience Cloud sites, or both. Article URLs from Salesforce Sites are returned if the article is visible in a public knowledge base. Article URLs from Experience Cloud sites 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