Skip to main content
POST
Answer task

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
taskId
string
required

The task's taskId, from the open task list.

Minimum string length: 1
answer
string
required

One of the task's own answers, as its buttons read: Send or Don't send for a draft, They showed or They did not for a check-in, Talked to them or No answer for a call, Done for a step or a reply, Mark won, Mark lost, Keep open and the like for a deal question, Mark done or Snooze for a deal follow-up.

Minimum string length: 1
edit
object

For Send only: the changes to the draft before it goes. Name only what changes.

reason
string

For Don't send only: why, in a sentence the AI SDR reads.

Minimum string length: 1
snoozeUntil
string<date>

For Snooze only: the day it is owed again, YYYY-MM-DD.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
draftKey
string

For Send only: the draftKey this answer's preview returned, copied exactly. Leave it out of the first call. The call that sends must carry it, and a draft that changed since is refused.

Minimum string length: 1
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.