Create Feedback
Create feedback in Melodi.
Authorizations
Your Melodi API key
Body
Create feedback request object. Feedback is always associated with a message:
- If only externalThreadId is provided, feedback will be attached to the last message in the thread
- If both externalThreadId and externalMessageId are provided, feedback will be attached to the specified message Note: externalThreadId is only unique per project, so including projectId is recommended to ensure correct thread identification.
Type of feedback
POSITIVE
, NEGATIVE
External ID of the thread containing the target message
Text content of the feedback
ID of the specific message for feedback. If not provided, feedback will be attached to the thread's last message
Recommended - ID of the project this thread belongs to. Helps ensure correct thread identification
External user information for associating feedback with a user
Key-value pairs where:
- key: attribute name (must match an existing attribute in the project)
- value: option name (must match an existing option for that attribute)
Response
Unique identifier for the feedback
List of attribute options with their full attribute details
Represents an attribute option. Note: The combination of attributeId and name must be unique.
Type of the feedback
255
Text content of the feedback
Information about the external user who provided the feedback
Was this page helpful?