Retrieve filtered content items by id in bulk, including restricted ones.

Returns an array of requested filtered content items. This route is restricted to authenticated users and allows to access restricted content items too.

Sample request body for retrieving id and title fields of two content items with id '7f2335cc-d91d-4f52-9e26-2d9402e463c0' and '1067771c-ec05-4671-951b-18f503953f2d':

{
  "ids": ["7f2335cc-d91d-4f52-9e26-2d9402e463c0", "1067771c-ec05-4671-951b-18f503953f2d"],
  "fields": ["id", "title"]
}

For each content item requested ..

  • If a content item is not found for a specified id, the content retrieval for that id is skipped.
  • If a specified field is not found in the content, it will not be present in the response.
  • If no fields are specified for filtering, the whole content item is returned.
  • The ids array cannot be empty and hence, there should be at least one id specified for lookup.
  • A maximum of 25 content items can be retrieved at once. If the ids field is found to have more entries, only the first 25 content items requested are returned.

    User roles: admin, manager, editor, viewer, authenticatedVisitor
Body Params

The request object containing the list of ids to be looked up and the fields (optional) to be included in the response.

ids
array of strings
required

An array of ids that should be retrieved by this bulk request.

ids*
fields
array of strings

An array of fields that should be returned by this bulk request.

fields
Headers
string
required

Content type of the request body, should be 'application/json'.

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json