POST /api/integrations/v1/transactions/bulk.# Smoke the endpoint with the current agent token
curl -i -X POST "$APP_URL/api/integrations/v1/transactions/bulk?preview=1" \
-H "Authorization: Bearer $AGENT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"transactions": []}'
Expected: 200 with an empty preview. Got 401 → token wrong/expired/missing. Got 403 → token valid but lacks scope or BANK_ACCOUNT_ID env on the agent side doesn't match an existing account.
AGENT_TOKEN (or whatever the agent calls it) from a fresh value generated in the app's integrations settings.AGENT_TOKEN and APP_URL in the agent's environment.BANK_ACCOUNT_ID mismatch (403) — open the app, copy the BCA account's ID, update agent env.docs/integrations/ai-agent-push-transactions.md; the route is /api/integrations/v1/transactions/bulk and ?preview=1 for dry-run.docs/integrations/ai-agent-push-transactions.md