Skip to main content
POST
Rate one message the agent wrote

Authorizations

X-API-Key
string
header
required

Path Parameters

agent_id
string<uuid>
required

Body

application/json

A thumb, a note, or both, on one message the agent wrote.

body
string
default:""

The words rated, when the message they were on is gone.

Maximum string length: 20000
comment
string | null

What the person wants changed.

Maximum string length: 2000
kind
enum<string>
default:email

What the message was; read from the message itself when one is named.

Available options:
email,
linkedin_connection_note,
linkedin_message,
linkedin_inmail,
reply_email,
reply_linkedin
message_id
string<uuid> | null

The message being rated; null when it is already gone.

rating
enum<string> | null

The thumb.

Available options:
good,
bad

Response

Successful Response

One person's verdict on one message the agent wrote.

comment
string | null
required
consumed_in_version
integer | null
required
created_at
string<date-time>
required
edited_body
string | null
required
edited_subject
string | null
required
id
string<uuid>
required
kind
enum<string>
required

What one written message is, which decides its rules, its length and its channel.

Available options:
email,
linkedin_connection_note,
linkedin_message,
linkedin_inmail,
reply_email,
reply_linkedin
message_id
string<uuid> | null
required
original_body
string
required
original_subject
string | null
required
rating
enum<string> | null
required

The human verdict on one message: a thumb, not a scale.

Available options:
good,
bad
slot_key
string | null
required
source
enum<string>
required

Where a piece of feedback came from, which says how much it means.

Available options:
approval_card,
inbox_draft,
agent_tab,
approved_unchanged,
positive_reply
user_id
string
required