Skip to main content
Questions or issues? Contact us at api-support@manus.ai.

Create an API key

1

Open API settings

Go to Manus API Integration settings in the Manus webapp.
2

Generate a key

Click Create API Key and give it a descriptive name (e.g. “production”, “dev-testing”).
3

Copy and store securely

Copy the key immediately — it will only be shown once. Store it in a secure location such as an environment variable or secrets manager.
Keep your API keys secure and never share them publicly. Each key provides full access to your Manus account. If a key is compromised, revoke it immediately from the settings page.

Use the API key

Include the key in the x-manus-api-key header with every request:
curl -X POST https://api.manus.ai/v2/task.create \
  -H "Content-Type: application/json" \
  -H "x-manus-api-key: $MANUS_API_KEY" \
  -d '{
    "message": {
      "content": "hello"
    }
  }'

Authentication errors

If the key is missing or invalid, the API returns:
{
  "ok": false,
  "request_id": "req_abc123",
  "error": {
    "code": "permission_denied",
    "message": "Invalid or missing API key"
  }
}