---
schema_version: "1"
id: 75a4ce0716b67a404cc9204e52be204736c554652330b92779293b46678cd428
title: Get a List of Salesforce Site and Experience Cloud Site URLs for an Online Article
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/knowledge/guides/knowledge-rest-site-community-list.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-knowledge-dev-guide/guide/knowledge-rest-site-community-list.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bed43366480f6434dfcd88eae4033cb93dec4f11a579bc13d08a21efa6ec1d0e
products:
  - Salesforce Knowledge Developer Guide
  - Service Cloud Developer Content
---

# 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.

## URI

```nolang
/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
