Skip to main content

Post Internal Auth Requests Id Approve

POST 

/internal/auth/requests/:id/approve

Approves the extension auth request. Optional mcpTargets (1-20 MCP connections that should get ads) require defaultPermissions and a request with a flowId; the grant intent is stored for 15 minutes and applied once when the extension creates or updates a connection with that flowId (the save response then carries aiAccess). Optional accounts (requires mcpTargets): "all" grants the root and every linked account the provider lists; a list (up to 100 unique ids) grants the root and those linked accounts after a provider check; absent grants the root only. Optional rememberChoice: true (requires mcpTargets) also remembers mcpTargets and defaultPermissions as the owner's last choice for 30 minutes, replacing an earlier one (see /v1/ai-choice).

Request​

Responses​

Validated response