decide_recommendation
Approve or reject ONE pending SeoAiX recommendation for the user's own store (ids from list_pending_approvals). Approving can change the live store. Takes TWO calls. Call it first WITHOUT confirmToken: nothing changes, and you get a preview plus a confirmToken (valid 10 minutes, single use). Show the preview to the user and ask them. Only if they clearly say yes, call again with the same arguments plus that confirmToken. Never confirm on your own judgement, and never loop over many items. Needs a key with the "approve" permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Recommendation id from list_pending_approvals | |
| api_key | No | Store-bound SeoAiX API key (inxy_sk_…). Optional if already sent as an Authorization: Bearer header. | |
| decision | Yes | ||
| confirmToken | No | Only on the second call, from the preview |