Get all entries
GET https://{{base_url}}/v3/content_types/{{content_type_uid}}/entries?environment={{environment}}
The Get all entries request fetches the list of all the entries of a particular content type. It returns the content of each entry in JSON format. You need to specify the environment and locale of which you want to get the entries.
To use the API Request, you'll need to use the Delivery Token of the respective environment.
Read more about it in Authentication.
For more information, refer to the Get all entries API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
environment | string | Enter the name of the environment of which the entries needs to be included. | |
locale | string | Enter the code of the language of which the entries needs to be included. Only the entries published in this locale will be displayed. | |
include_fallback | boolean | Enter 'true' to include the published localized content from the fallback locale when the specified locale does not contain published content. | |
include_branch | boolean | Set this to true to include the _branch top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of your stack. | |
access_token | string | Enter the environment-specific delivery token of your stack. Check Authentication . | |
branch | string | Enter your branch unique ID. | |
Content-Type | string |