Search Articles
- REST Method: GET
- URL: https://docsapi.helpscout.net/v1/search/articles
Use this endpoint to search for articles using a query. This endpoint returns an array of ArticleSearch objects. The ArticleSearch object contains attributes that are not present on an Article or ArticleRef object.
Request
Name | Type | Required | Default | Options | Notes |
---|---|---|---|---|---|
page | Int | No | 1 | ||
query | String | Yes | |||
collectionId | String | No | Use this parameter to filter articles for a specific collection. | ||
siteId | String | No | Use this parameter to filter articles for a specific site. | ||
status | String | No | all |
|
|
visibility | String | No | all |
|
This parameter corresponds to the visibility of the collection that is associated with the article. Use this attribute to filter out articles in private collections. |
To request subsequent pages:
- https://docsapi.helpscout.net/v1/search/articles?page=2
Response
Response | Name | Type | Notes |
---|---|---|---|
Header | Status | Int | 200 |
Body | page | Int | Current page that was passed in on the request |
pages | Int | Total number of pages available | |
count | Int | Total number of objects available | |
items | Collection | Collection of ArticleSearch objects. |