Payload CMS icon

Payload CMS

Interact with Payload CMS collections and globals

Endpoint → Get

AI-generated

Summary

Retrieves data from a configured Payload CMS endpoint via a GET request, applying optional query parameters.

Inputs

  • endpoint (required) — Choose the endpoint to operate on
  • additionalOptions — Options that configure the request such as depth, limit, page, sort, where, select, locale, query parameters, and upload settings

Output shape

A list where each item contains a json field with the endpoint response data; on error it may contain an error field

The shape is an array of result items; errors are wrapped when continueOnFail is enabled

Examples

Example 1: Fetch a paginated list of posts filtered by status

Select the desired endpoint, set Depth=1, Limit=10, Page=1, Where='{"status":"published"}'

Links

Discussion