Content Library

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:

URIResults
GET /v1/content-library?pageSize=100Get first 100 content library entries sorted by last modified date (desc).
GET /v1/content-library?pageSize=100&pageNumber=1Get next 100 content library entries.
GET /v1/content-library?productId=1234LPSWUBFWGet content library entries of product 1234LPSWUBFW.
GET /v1/content-library?contentId=abcd1234Get a specific content entry by content ID.
GET /v1/content-library?excludeContentIds=abcd1234&excludeContentIds=efgh5678Get all content entries except those with the given content IDs.
GET /v1/content-library?sortColumnName=createdDate&sortOrder=ASCSort 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)

get/v1/content-library

Request

Query parameters

contentIdstring

Content ID

contentType'ENGAGEMENT' | 'GUIDE' | 'SLIDER' | 'DIALOG' | 'SURVEY' | 'ARTICLE' | 'LINKED_ARTICLE' | 'LINK' | 'FUNC_CALL'

Content type filter. One of ARTICLE, LINKED_ARTICLE, LINK, FUNC_CALL, GUIDE, SLIDER, DIALOG, SURVEY, or legacy ENGAGEMENT (all engagements)

excludeContentIdsstring[]

Content IDs to exclude from the results

pageNumberinteger

Page number

pageSizeinteger

Number of events per page range[1,500]

productIdstring

Property Group

searchTermsstring

Search terms

sortColumnNamestring[]

Sort column name

sortOrderstring

Sort direction (ASC or DESC, default: DESC)

Response

Success

firstboolean
lastboolean
numberinteger
numberOfElementsinteger
sizeinteger
totalElementsinteger
totalPagesinteger

Changes

No recorded changes to this operation across all 1 revision of this API.