Retrieve a content type element

GET https://deliver.kontent.ai/:environment_id/types/:type_codename/elements/:element_codename

Retrieve a content type element defined in a specific content type. Both the type and element must be specified by their codenames.

HEADERS

KeyDatatypeRequiredDescription
X-KC-Wait-For-Loading-New-ContentstringDetermines whether the API waits while fetching latest content. By default, the header is not set and the API serves stale content (if cached by the CDN) while fetching the new content to minimize wait time.

The header can be useful if you know that the requested content had changed since your last request in a reaction to a webhook notification. | | Accept | string | | |

RESPONSES

status: OK

{"type":"asset","name":"Teaser image","codename":"teaser_image"}