Skip to main content
POST
/
v1
/
conversations
/
{conversation_id}
/
feedback
Create Conversation Feedback
curl --request POST \
  --url https://api.linqalpha.com/v1/conversations/{conversation_id}/feedback \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "conversation_id": "123e4567-e89b-12d3-a456-426614174000",
  "rating": "up",
  "message_id": "msg_abc123",
  "comment": "Very helpful and accurate response!"
}
'
{
  "success": true
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

conversation_id
string
required

The unique identifier of the conversation to provide feedback for

Body

application/json
conversation_id
string
required

The unique identifier of the conversation

Example:

"123e4567-e89b-12d3-a456-426614174000"

rating
enum<string>
required

Feedback rating: 'up' for positive, 'down' for negative

Available options:
up,
down
Example:

"up"

organization_id
string

Organization ID (optional, inferred from API key if not provided)

Example:

"org_001"

user_id
string

User ID submitting the feedback (optional)

Example:

"user_123"

user_email
string

User email (optional)

user_name
string

User name (optional)

Example:

"John Doe"

message_id
string

Specific message ID to provide feedback on (optional)

Example:

"msg_abc123"

comment
string

Additional text comment from the user (optional)

Example:

"Very helpful and accurate response!"

Response

Feedback submitted successfully

success
boolean
required

Indicates whether the feedback was successfully submitted

Example:

true