- List content import sources
You can retrieve a list of all content import sources for a workspace.
total_count and pages.total_pages are worked out from every content import source in the workspace, including deleted ones that the list leaves out, so both can be higher than the number of sources you get back across all pages. The last pages can be short or empty.
OAuth tokens must have the read_write_ai_content scope.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
- The production API serverhttps://api.intercom.io/ai/content_import_sources
- The european API serverhttps://api.eu.intercom.io/ai/content_import_sources
- The australian API serverhttps://api.au.intercom.io/ai/content_import_sources
curl -i -X GET \
'https://api.intercom.io/ai/content_import_sources?page=1&per_page=50' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.17'successful
The majority of list resources in the API are paginated to allow clients to traverse data over multiple requests.
Their responses are likely to contain a pages object that hosts pagination links which a client can use to paginate through the data without having to construct a query. The link relations for the pages field are as follows.
A count of the total number of content import sources, including deleted ones that the list leaves out.
An array of Content Import Source objects
{ "data": [ { … }, { … }, { … } ], "pages": { "type": "pages", "page": 1, "per_page": 50, "total_pages": 1 }, "total_count": 3, "type": "list" }