

/api/v1/journal/trades/screenshotUpload a screenshot image and attach it to a specific trade in your journal. multipart/form-data. Owner-scoped: the account must belong to the key owner. Returns the stored path and a signed URL (valid one hour).
| Name | In | Type | Req. | Description |
|---|---|---|---|---|
| kind | form | "mt" | "mt5" | no | Account kind. Default mt5. |
| accountId | form | string | yes | The journal account id the trade belongs to. |
| tradeKey | form | string | yes | The trade identifier to attach the screenshot to. |
| file | form | file | yes | The image file (PNG or JPEG). |
curl -X POST -H "Authorization: Bearer afx_live_xxx" \
-F "kind=value" -F "accountId=12" -F "tradeKey=998877" -F "file=@screenshot.png" \
"https://www.analytics-fx.com/api/v1/journal/trades/screenshot"{
"apiVersion": "v1",
"data": {
"path": "<userId>/mt5-12/998877/<uuid>.png",
"url": "https://...supabase.../signed-url",
"added_at": "2026-06-22T20:40:00Z"
},
"meta": { "requestId": "req_ij90", "credits": { "cost": 2, "remaining": 984 } }
}POST /api/v1/journal/trades/screenshotCreate a key at /dashboard/api. The key stays in your browser.