Skip to main content
POST
/
messages
/
{message_id}
/
feedbacks
{
  "result": "success"
}

Authorizations

Authorization
string
header
required

API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with 'Bearer '. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.

Path Parameters

message_id
string
required

Message ID for which feedback is being provided.

Body

application/json
user
string
required

User identifier, defined by the developer's rules, must be unique within the application.

rating
enum<string> | null

Upvote as like, downvote as dislike, revoke upvote/downvote as null.

Available options:
like,
dislike
content
string

The specific content of message feedback.

Response

200 - application/json

Feedback submitted successfully.

result
string
Example:

"success"