App management
Creating an Open App
Create an Open App from the Manus Integrations settings. Fill in the app name, description, redirect URIs, and homepage URL. After creation, you’ll receive aclient_id and an initial client_secret. The secret is only shown once — store it securely.
Redirect URI rules
- Must be an absolute URI (include scheme).
- No wildcards (
*). No fragments (#). - Forbidden schemes:
javascript,data,file,about,vbscript. http/httpsmust include a host.- Custom schemes are allowed (e.g.
com.example.app://oauth) for native apps. - Matched exactly at authorization time (RFC 6749 §3.1.2).
App types
Team app
A team app is the standard Open App type. Access is restricted to the scopes you configure, and only users in the same team as the app creator can authorize it. This is the default type when creating an Open App and is suitable for most third-party integrations.Trusted team app
A trusted team app is designed for internal integrations that need unrestricted access to the Manus API, similar to using an API key but with per-user authorization. Key differences from standard apps:- Ignores all scope restrictions — can access every API endpoint including admin-only ones
- Can view and manage all tasks (not limited to tasks created by the app)
- Has full access to all connectors without per-connector user authorization
- The consent page warns users that the app will have full access to their data
- Upgrading an existing app to trusted invalidates all previously issued tokens (users must re-authorize)
- Internal team tools that need full API access
- Automation that requires managing all user resources
- Third-party integrations (use standard
teamapp with minimal scopes) - Apps that only need to create and manage their own tasks (use
create_taskscope instead)
Trusted public app
A trusted public app has the same full-access permissions as a trusted team app, but is not restricted to a single team — any Manus user can authorize it. This type is currently not publicly available and is only offered to approved partners. Contact api-support@manus.ai if you are interested.Secret management
Each app can have up to 5 active client secrets, enabling zero-downtime rotation. Create and revoke secrets from the Manus Integrations settings.1
Create a new secret
Generate a new secret in the settings page. The secret is shown in plaintext — this is the only time it’s visible.
2
Update your application
Configure your app to use the new secret.
3
Verify
Confirm the new secret works in production.
4
Revoke the old secret
Revoke the old secret in the settings page. It is immediately invalidated.
OAuth flow
Overview
The implementation follows RFC 6749 (Authorization Code Grant) and RFC 7636 (PKCE). Three modes are supported:Scopes
Configure the scopes your app can request in the Manus Integrations settings.use_my_browsers is a separate scope from use_connectors — they do not overlap.Authorization flow
Step 1: Redirect to authorization
Send the user to the consent page:
The consent page displays the app’s name, requested scopes, and connector list. The user reviews and approves. The scope is determined automatically from the app’s configuration.
Step 2: Receive the authorization code
After approval, the user is redirected to your registered callback:- Format:
code_{client_id}_{shortuuid} - Expires in 10 minutes
- Single-use (atomic consumption, prevents replay)
Step 3: Exchange code for tokens
- PKCE + Secret (Recommended)
- Secret
- PKCE
application/x-www-form-urlencoded and Authorization: Basic header for client credentials (RFC 6749 §2.3.1).
Success response:
Step 4: Refresh tokens
- PKCE + Secret flow: both
client_secretandcode_verifierare required for refresh. - Secret flow:
client_secretis required for refresh. - PKCE flow:
client_secretis not required for refresh. - Refresh atomically revokes the old token pair and issues new ones (prevents refresh token replay).
Token invalidation
A token is invalid when any of these apply:- Expired
- Explicitly revoked
- The associated Open App has been deleted
- The app’s scopes were expanded (adding new scopes or connector UIDs invalidates all existing tokens)
- The app was upgraded to trusted team type
Revoking tokens
App-side: revoke a single token (RFC 7009)
token_type_hintis optional (access_tokenorrefresh_token) — optimizes lookup order.- Always returns HTTP 200 if client credentials are valid, regardless of whether the token exists (RFC 7009).
- PKCE-issued tokens do not require
client_secretfor revocation.
User-side: revoke grants
Users can view and revoke authorized Open Apps from Authorized Apps settings. Revoking an app invalidates all of its active tokens.Available endpoints
Include the access token in theAuthorization header:
API behavior with OAuth
This section covers how the API behaves differently when using OAuth tokens compared to API keys.Task visibility
Withcreate_task scope, your app can only see and operate on tasks it created. With manage_all_tasks, all of the user’s tasks are accessible — same as API key. Trusted team apps always have full access to all tasks.
Connectors
If your app uses connectors (e.g. GitHub, Notion), enable theuse_connectors scope and select the connectors your app needs in the Manus Integrations settings. During authorization, the consent page shows your app’s connector list and the user chooses which ones to grant. Trusted team apps have full access to all connectors and skip per-connector authorization.
Users can revoke individual connectors at any time, so your app should not assume a previously authorized connector will always be available. The API handles unauthorized connectors differently depending on how you pass them:
-
Explicitly passed in
message.connectors— returns an error if the user has not authorized the connector: - Not passed (relying on defaults) — unauthorized connectors are silently filtered out. The task is created normally but without those connectors.
Skills
Open Apps can bundle private skills (up to 50 per app) that are automatically available to Manus in tasks created by the app. Manage skills from the Manus Integrations settings. To customize which skills are available for a specific task, pass skill IDs inmessage.enable_skills when calling task.create or task.sendMessage. To force Manus to use specific skills, pass them in message.force_skills.
Webhook
Each Open App can configure a dedicated webhook URL to receive event notifications. Set the webhook URL in the Manus Integrations settings. The URL must be HTTPS.Webhook events are scoped to the Open App — you will only receive notifications for tasks created through this app’s API, not tasks created manually by the user in the Manus client.
Reference
Rate limits
OAuth endpoints
OpenAPI v2 endpoints
When calling v2 endpoints with an OAuth token, the same per-user rate limits apply as with API keys. All tokens belonging to the same user share a single counter. See Rate Limits for per-endpoint limits. Exceeding any limit returns HTTP 429 Too Many Requests.Error handling
Authentication errors (HTTP 401)
When calling OpenAPI v2 endpoints, the following 401 errors may occur:
Recommended 401 handling flow:
Token endpoint errors (/oauth/token and /oauth/revoke)
X-Request-Id header for troubleshooting.
Insufficient scope
When calling an OpenAPI v2 endpoint without the required scope:Best practices
- Store secrets securely.
client_secretis only shown once at creation. Use a secrets manager — never hardcode it. - Request minimal scopes. Only request what your app actually needs. Avoid
manage_all_tasksunless you truly need access to all user tasks. - Implement token refresh. Access tokens expire in 24 hours. Use the refresh token to renew automatically.
- Handle 401 correctly. Check for
reauthorization_requiredbefore attempting refresh — see Authentication errors for the full flow. - Rotate secrets regularly. Use multi-secret support for zero-downtime rotation.
- Prefer PKCE for client-side apps. Native apps and SPAs should use PKCE — never embed a
client_secretin client-side code. - Validate the
stateparameter. Always verify the returnedstatematches the value you sent to prevent CSRF attacks. - Implement backoff on 429. Token endpoints are limited to 60 req/min. Use exponential backoff with jitter.