Create an entry

Creates a new entry with an auto-generated ID; pass the desired content type in X-Contentful-Content-Type. New entries are created as drafts and must be published to appear on the CDA.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

space_idstringRequired
ID of the space in form of a string
environment_idstringRequired
ID of the environment in form of a string

Headers

X-Contentful-Content-TypestringRequired
The content type ID for the entry to create

Request

This endpoint expects a map from strings to any.

Response headers

Content-Typestring

Content-Type

Response

Created - Resource created successfully