

/api/v1/journal/accountsConnect an MT5 account to your journal and queue its sync via the bridge. JSON body. Credentials are used only to start the sync and are never returned. Responds 200 with the queued sync result (including an ETA).
| Name | In | Type | Req. | Description |
|---|---|---|---|---|
| login | body | integer | yes | MT5 account login number. |
| server | body | string | yes | MT5 broker server name. |
| password | body | string | yes | MT5 account password (investor or master). |
| password_kind | body | "investor" | "master" | no | Which password was provided. Default investor. |
| name | body | string | no | Optional display name for the account. |
curl -X POST -H "Authorization: Bearer afx_live_xxx" \
-H "Content-Type: application/json" \
-d '{"login":5012345,"server":"ICMarkets-Demo","password":"secret"}' \
"https://www.analytics-fx.com/api/v1/journal/accounts"{
"apiVersion": "v1",
"data": { "jobId": "job_a1b2", "status": "queued", "etaSeconds": 30 },
"meta": { "requestId": "req_gh78", "credits": { "cost": 5, "remaining": 986 } }
}POST /api/v1/journal/accountsCreate a key at /dashboard/api. The key stays in your browser.