Skip to main content

Create a feedback (link a message to a discovery)

Create a feedback (link a message to a discovery)

Request Body REQUIRED
messageId string REQUIRED

The message ID to link the feedback to

discoveryId string REQUIRED

The discovery ID to link the feedback to

score number

The feedback score (minimum 0)

processMessage boolean

Mark the message as processed after creating the feedback

Responses
201

Create a feedback linking a message to a discovery

Schema OPTIONAL
feedback object

The created feedback data

id string

Unique identifier of the feedback

clientId string

Client identifier

createdAt date-time

Creation date of the feedback

updatedAt date-time

Last update date of the feedback

starred boolean

Whether the feedback is starred

score number

Score associated with the feedback

messageId string

Identifier of the associated message

discoveryId string

Identifier of the associated discovery

selections object[]

List of selections within the feedback

id string

Unique identifier of the selection

clientId string

Client identifier

createdAt date-time

Creation date of the selection

updatedAt date-time

Last update date of the selection

content string

Text content of the selection

fullSelection boolean

Whether this selection covers the full feedback content