Skip to main content
POST
Have the agent write one message again

Authorizations

X-API-Key
string
header
required

Path Parameters

agent_id
string<uuid>
required
message_id
string<uuid>
required

Body

application/json

What to change when the agent writes a message again.

from_task
boolean
default:false

True when the ask comes from the message's own task in the approval queue. That task reads Writing while the agent writes the message again, then comes back waiting for a person; without it, a message waiting for approval is refused.

steer_text
string | null

A note on what to do differently, such as 'shorter' or 'open on their new funding round'. Leave it out to have the agent simply try again; a reply keeps the note its last draft was written with.

Required string length: 1 - 2000

Response

Successful Response

What asking the agent to write a message again set in motion.

draft_id
string<uuid> | null
required

For a reply, the new draft now waiting for approval in the inbox. Null for a cadence message, and null for a reply when the agent found nothing it could usefully say.

kind
enum<string>
required

What the message is. A message in the sequence's cadence is rewritten in the background and appears on the contact's conversation once written; a reply is rewritten straight away as a new draft in the inbox.

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

The message the agent was asked to write again.