- Search knowledge base contents
Search the knowledge base contents — articles, snippets, external pages, uploaded files, and internal articles — using a keyword query.
Each result row has a type discriminator. Most types (content_snippet, external_content, file_source_content, internal_article) return a flat { type, id, title } shape. Help center articles return a nested shape with a contents[] array, one entry per locale.
Requires the read_content OAuth scope.
Restrict the search to specific content types. When provided, this REPLACES the default content type set rather than filtering on top of it. Accepts a comma-separated list or repeated params.
Intercom API version.
By default, it's equal to the version set in the app package.
- The production API serverhttps://api.intercom.io/content/search
- The european API serverhttps://api.eu.intercom.io/content/search
- The australian API serverhttps://api.au.intercom.io/content/search
curl -i -X GET \
'https://api.intercom.io/content/search?query=billing&page=1&per_page=10&states=published%2Cdraft&locales=en%2Cfr&tag_ids=1%2C2%2C3&tag_operator=IN&any_tag_ids=1%2C2%2C3&folder_ids=10%2C20&folder_entity_type=folder&content_types=article%2Csnippet&copilot_state=on&fin_service_state=on&fin_sales_state=on&created_by_ids=991267464%2C991267465&last_updated_by_ids=991267464%2C991267465&created_at_after=1677253093&created_at_before=1677861493&updated_at_after=1677253093&updated_at_before=1677861493' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.16'Search successful
The list of matched content items. Each item's type field determines its shape.
- content_snippet
- external_content
- file_source_content
- internal_article
- article
{ "type": "list", "total_count": 5, "pages": { "type": "pages", "page": 1, "per_page": 10, "total_pages": 1, "next": null, "prev": null }, "data": [ { … }, { … }, { … }, { … }, { … } ] }