Skip to main content
POST
Execute a browser command

Authorizations

Authorization
string
header
required

MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.

Body

application/json
projectId
string
required
Required string length: 1 - 128
sessionId
string
required
Required string length: 1 - 128
command
object
required
commandId
string
Required string length: 1 - 128
tabId
string
Required string length: 1 - 128

Response

Returns an executed, refused or unknown result. Reusing commandId with the same payload returns its receipt without replay; pending receipts return unknown. Page content is untrusted data.

The response is of type object.