Skip to main content
POST
SendMessage
Questions or issues? Contact us at api-support@manus.ai.
Auth:
  • API Key: Full access, including sending to other people’s tasks where the user has write access in Manus.
  • Standard OAuth client: Requires create_task or manage_all_tasks. With create_task, only tasks created by the same client; see Task visibility.
  • Trusted client: Full access to the user’s own tasks; cannot send to other people’s tasks.

Headers

x-manus-api-key
string

API key for direct authentication. Provide either this or Authorization, not both. See Authentication.

Authorization
string

OAuth2 access token in Bearer {token} format. An OAuth client requires the create_task or manage_all_tasks scope unless it is a Trusted team client or Trusted public client. Provide either this or x-manus-api-key, not both. See the Open App guide.

Example:

"Bearer {access_token}"

Body

application/json
task_id
string
required

The unique identifier of the task to send the message to. Supports the shortcut agent-default-main_task for the IM agent's main task.

message
object
required

The follow-up message. Supports the same content formats as task.create (plain text or multi-part with files). A non-empty message.connectors replaces the task's connector selection; omitting it or passing an empty array keeps the task's current selection. To clear the selection, use the top-level clear_connectors field.

agent_profile

Agent profile override for this turn and subsequent turns. Use the stable values standard, lite, max, or flex, or a Max thinking level: max-medium, max-high, max-extra, or max-ultra. The thinking level also applies to subsequent turns; plain max keeps the level the task already uses; a task that has never selected a level uses the default, currently equivalent to max-extra. flex switches to your account's saved Manus Flex settings (no version aliases or thinking-level suffixes) and fails with failed_precondition (400), permission_denied (403), or unavailable (503) if Flex cannot be used. Versioned aliases such as 1.6-lite, 2.0-max, 2.0-max-ultra, and the legacy manus-1.6-lite form are also accepted; the version segment is ignored because model versions are not selected independently. A version without a suffix, such as 1.6 or manus-1.6, means standard. Omit the field (or pass an empty string) to keep the task's current profile and thinking level (a task currently using flex stays on flex and refreshes the account's Flex settings; ordinary read-write collaborators cannot send messages to a flex task, while full-access Project members continue using the owner's Flex setup); unlike task.create, this endpoint does not default to standard. Free personal accounts are downgraded to lite when a managed override (standard or max) is provided, but not for flex.

Available options:
standard,
lite,
max,
flex,
max-medium,
max-high,
max-extra,
max-ultra
structured_output_schema
object

JSON Schema for structured output extraction, armed for the next time this task finishes (stop_reason: finish).

  • A new schema replaces any previous one.
  • Omitted — the current schema state is unchanged; an armed schema is not cleared.

See the Structured Output guide.

clear_connectors
boolean
default:false

Clears the task's connector selection for this and subsequent turns. Cannot be combined with a non-empty message.connectors. Other task features may still provide tools. See the Connectors guide.

delivery_mode
enum<string>
default:interrupt

How the message reaches the task while it is running.

  • interrupt — stops the current turn and starts a new turn with this message.
  • steer — keeps the current turn running and hands this message to the agent at its next step, for example a progress report or an approval relayed from another task. Connector, skill, agent_profile, and structured_output_schema changes in this request take effect when the agent reads the message; Coordinator tasks keep their current agent_profile.

Tasks that cannot be steered receive the message as interrupt; the response delivery_mode reports the mode used. steer applies only to messages from the task owner; sending steer to another user's task returns 400 (interrupt is allowed). When the task is not running, both modes start a new turn.

Available options:
interrupt,
steer

Response

Message sent successfully. The task will resume processing.

ok
boolean

Whether the request was successful.

Example:

true

request_id
string

Unique identifier for this API request.

task_id
string

The ID of the task the message was sent to.

delivery_mode
enum<string>

The mode the message was accepted as; see the request field delivery_mode. interrupt when the request asked for steer but the task cannot be steered. steer means the message is merged into the running turn; if the task was no longer running or was still preparing, it starts a new turn instead. Omitted when the message was sent by someone other than the task owner.

Available options:
interrupt,
steer
status
enum<string>

What happened to the message at send time.

  • delivered — the message is in the task.
  • pending_owner_review — the message was sent to someone else's task and is held until the task owner approves it. The owner decides asynchronously and the request expires after 24 hours, so this is neither a failure nor a final result: do not resend it. Read task.listMessages later to see whether it was accepted.

This field only describes the moment of sending.

Available options:
delivered,
pending_owner_review