V2 APIWebsites
Get content entry
GET
/api/v2/websites/{website}/content-types/{contentType}/entries/{entry}Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
website*string
Format
uuidcontentType*string
The content type's key, such as team.
entry*string
Format
uuidQuery 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.
Format
uuidinclude?"resolved_data"
Add resolved_data to each entry.
Value in
- "resolved_data"
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/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "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" }}