Menu
Filtering Content Items By Collection Keys
Filtering Content Items by Collection Keys
POST
/hubs/{hubId}/content-items/filterUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Filtering Content Items By Collection Keys action (under Content Items).
- Fill in the fields below, then reference the result from later steps as
{{filteringContentItemsByCollectionKeys.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"collectionKey": "hubName:527c95fd10c77e96b5164633b445271ffc0392031b6c99448cbaec579767b76b",
"sortBy": {
"order": "asc"
},
"page": {
"cursor": "SSBhbSBhIGhhdGNoZWQtZWFzdGVyLWVnZy4gUGxlYXNlIGRvbid0IGRlY29kZSBtZS4=",
"size": 0
}
}
Response
Returns 200 with a any. Read it in later steps with {{filteringContentItemsByCollectionKeys.response.data.<field>}}.
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?