Skip to main content
POST
Respond to an API turn approval

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.

Path Parameters

turnId
string
required

Body

application/json
approvalId
string
required
argumentsDigest
string
required
Pattern: ^[a-f0-9]{64}$
responseKey
string
required
Required string length: 1 - 200
decision
enum<string>
required
Available options:
allow,
deny

Response

The current approval state or completed turn.

projectId
string
required
turnId
string
required
sessionId
string
required
status
enum<string>
required
Available options:
paused,
active,
completed,
failed,
unknown,
expired
expiresAt
integer
required

Expiry time in Unix milliseconds.

calls
object[]
required