Skip to main content
POST
Send text

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}$
body
string
required

The text's words, exactly as they will go.

Minimum string length: 1
notMarketing
boolean

Your word that this text isn't marketing, as Send now gives it. Steerco reads the words first. Set it only when the person says so.

confirmationToken
string

The confirmationToken from this tool's preview. Leave it out to get a preview; nothing changes until you send it.

Required string length: 1 - 256

Response

A preview, when the body has no confirmationToken. The applied write, when it has one.

status
enum<string>
required
Available options:
preview
confirmationToken
string
required

Send this back with the same input to apply the write. It works for this call only.

expiresAt
string
required

When the token stops working, 10 minutes after the preview.

preview
any

What the write would change. Nothing has changed yet.