Docs
V2 APIWebsites

List content entries

GET/api/v2/websites/{website}/content-types/{contentType}/entries

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

website*string
Formatuuid
contentType*string

The content type's key, such as team.

Query Parameters

account_id?string

Optional account to run this request against. Defaults to the account the API token is scoped to, so callers with a single account can omit it. Must be an account the authenticated user belongs to; staff may target any account. For write requests the value may be sent in the JSON body instead of the query string. The resolved account is returned on the X-Resi-Account-Id response header.

Formatuuid
per_page?integer
Range1 <= value <= 200
Default15
include?"resolved_data"

Add resolved_data to each entry.

Value in

  • "resolved_data"
status?string

Only entries in this status.

Value in

  • "draft"
  • "in_review"
  • "published"
  • "archived"
slug?string

Partial match on the slug.

property_id?string
Formatuuid
scope?string

Only shared entries, or only this website's own.

Value in

  • "account"
  • "website"
published_at?string

Exact published_at, or a range with published_at[gte], published_at[lte], published_at[gt] and published_at[lt]. Values are dates or date-times.

expires_at?string

Exact expires_at, or a range with expires_at[gte], expires_at[lte], expires_at[gt] and expires_at[lt]. Values are dates or date-times.

created_at?string

Exact created_at, or a range with created_at[gte], created_at[lte], created_at[gt] and created_at[lt]. Values are dates or date-times.

updated_at?string

Exact updated_at, or a range with updated_at[gte], updated_at[lte], updated_at[gt] and updated_at[lt]. Values are dates or date-times.

sort?string

Sort by any filter field; prefix with - for descending. Defaults to slug.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/websites/497f6eca-6276-4993-bfeb-53cbbbba6f08/content-types/string/entries"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "slug": "string",      "status": "draft",      "content_type": "string",      "content_type_id": "94a0ecd9-8a2c-4912-8f3b-3707a8e91445",      "scope": "account",      "website_id": "9a5872c2-0bf0-4c68-9c27-86a09b05bf66",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "path": "string",      "data": {},      "seo": {},      "resolved_data": {},      "website_override": {        "is_excluded": true,        "data": {},        "seo": {}      },      "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "published_at": "2019-08-24T14:15:22Z",      "expires_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "links": {    "first": "string",    "last": "string",    "prev": "string",    "next": "string"  },  "meta": {    "current_page": 0,    "from": 0,    "last_page": 0,    "links": [      {        "url": "string",        "label": "string",        "page": 0,        "active": true      }    ],    "path": "string",    "per_page": 200,    "to": 0,    "total": 0  }}