HTTP

The HTTP API mirrors MCP one to one. The document at /openapi.json is generated from the same operation registry as the MCP tools.

Authentication

Authorization: Bearer <key> on every /v1 request. POST /sandbox needs no auth.

Keys carry scopes: read, propose, approve, configure, run. Sandbox keys have all five. Each operation names the scope it needs.

Requests

Responses

JSON. Errors are {"error": "<message>", "code": "<code>", "details"?: ...} with an HTTP status: 400 bad input, 401 no or bad key, 403 missing scope, 404 not found, 409 conflict, 413 too large, 422 unparseable, 429 cap reached. Error messages name the operation that would help.

Example

curl -s https://api.emailimport.com/v1/buckets/support-requests -H "authorization: Bearer $MXIMP_KEY"

This page as Markdown.