Skip to main content
POST
Draft a reply

Authorizations

Authorization
string
header
required

An API key, starting ak_. Create one under Settings > MCP and API in Steerco.

Headers

X-Workspace-Id
string
required

The workspace id. GET /v1/workspaces lists yours.

Body

application/json
contactId
string
required

The person's contactId, from list_conversations or search_records.

Pattern: ^[0-9a-fA-F]{24}$
channel
enum<string>
required

The draft's channel.

Available options:
email,
text
words
string

The words in the reply box now. Leave unset to write from empty.

Maximum string length: 20000
ask
enum<string>

"write" writes a reply (the default). "shorter", "friendlier", "formal" and "spelling" change the words. "fitText" fits them in one text. "turnInto" turns notes into a reply.

Available options:
write,
shorter,
fitText,
friendlier,
formal,
spelling,
turnInto
instruction
string

A change in your own words, in place of ask.

Required string length: 1 - 500

Response

The tool's result

status
enum<string>
required
Available options:
ok
result
any
cut
object

Present when the result was larger than about 25,000 tokens and Steerco cut it.