Create a comment

Creates a comment on an entry with an auto-generated ID; limit is 100 comments per entry. Use X-Contentful-Parent-Id to reply to a specific comment.

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-Parent-IdstringOptional

Comment ID to reply to (creates a reply to the specified comment)

X-Contentful-Parent-Entity-ReferencestringOptional

Reference to a specific field and locale of the entry (must match pattern fields.<field_id>.<locale_code>)

Request

This endpoint expects a map from strings to any.

Response headers

Content-Typestring

Content-Type

Response

Created - Resource created successfully