Get Content Library
Fetch metadata for Content Library entries from your PX Subscription. The API provides you with the summary of basic information of each content item that makes it easy to work with specific data.
Results are sorted by last modified date descending by default.
Examples:
| URI | Results |
|---|---|
| GET /v1/content-library?pageSize=100 | Get first 100 content library entries sorted by last modified date (desc). |
| GET /v1/content-library?pageSize=100&pageNumber=1 | Get next 100 content library entries. |
| GET /v1/content-library?productId=1234LPSWUBFW | Get content library entries of product 1234LPSWUBFW. |
| GET /v1/content-library?contentId=abcd1234 | Get a specific content entry by content ID. |
| GET /v1/content-library?excludeContentIds=abcd1234&excludeContentIds=efgh5678 | Get all content entries except those with the given content IDs. |
| GET /v1/content-library?sortColumnName=createdDate&sortOrder=ASC | Sort by created date ascending. |
<b>Important:</b> The default pageSize on list calls is 200. The pageSize can be changed by adding a pageSize parameter to the URL (i.e. /v1/content-library?pageSize=100) with a max pageSize=500.
To fetch a particular page, use the pageNumber parameter (zero based)
Request
- Base URLhttps://app.aptrinsic.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Content ID
Content type filter. One of ARTICLE, LINKED_ARTICLE, LINK, FUNC_CALL, GUIDE, SLIDER, DIALOG, SURVEY, or legacy ENGAGEMENT (all engagements)
Content IDs to exclude from the results
Page number
Number of events per page range[1,500]
Property Group
Search terms
Sort column name
Sort direction (ASC or DESC, default: DESC)
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.