Create an entry with a specified ID

Creates a new entry with the specified ID or updates an existing one. Pass X-Contentful-Content-Type when creating; include X-Contentful-Version when updating.

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
entry_idstringRequired
ID of the entry in form of a string

Headers

X-Contentful-Content-TypestringOptional
The content type ID for the entry to create
X-Contentful-VersionstringOptional
The last version of the entry you are updating

Request

This endpoint expects a map from strings to any.

Response headers

Content-Typestring

Content-Type

Response

OK - Request successful