POST
Get Master Token
Master API v1Log in with your AlgoDeltaFX credentials to get a master token for the Master API.
POST
https://api.algodeltafx.com/api/v1/auth/userloginExchange your AlgoDeltaFX dashboard email and password for a master token (JWT). Every other Master API call sends this token in the Authorization header.
Authentication
None. This endpoint issues the master token.
Request body
JSON body, Content-Type: application/json.
- emailstringrequired
Your AlgoDeltaFX login email.
- passwordstringrequired
Your AlgoDeltaFX login password (not an MT5 password).
- domainstringrequired
Always
https://algodeltafx.com. White-label platforms use their own domain.
Response
Returns the standard response envelope: status, msg and data.
Notes
- Send the master token as the raw value of the
Authorizationheader, without aBearerprefix. See Authentication. - Keep the master token on your server. It controls every account on your AlgoDeltaFX user.
Related endpoints
- Add MT5 Account: Connect a new MetaTrader 5 account to your AlgoDeltaFX user.
- List MT5 Accounts: List every MT5 account connected to your AlgoDeltaFX user.
Example request
curl -X POST https://api.algodeltafx.com/api/v1/auth/userlogin \
-H "Content-Type: application/json" \
-d '{
"email": "you@example.com",
"password": "YOUR_PASSWORD",
"domain": "https://algodeltafx.com"
}'import os
import requests
res = requests.post(
"https://api.algodeltafx.com/api/v1/auth/userlogin",
json={
"email": "you@example.com",
"password": "YOUR_PASSWORD",
"domain": "https://algodeltafx.com"
},
timeout=30,
)
data = res.json()
print(data["status"], data.get("msg"), data.get("data"))const res = await fetch("https://api.algodeltafx.com/api/v1/auth/userlogin", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"email": "you@example.com",
"password": "YOUR_PASSWORD",
"domain": "https://algodeltafx.com"
}),
});
const { status, msg, data } = await res.json();
console.log(status, msg, data);using System.Net.Http.Headers;
using System.Text;
using var http = new HttpClient();
var body = new StringContent("""
{
"email": "you@example.com",
"password": "YOUR_PASSWORD",
"domain": "https://algodeltafx.com"
}
""", Encoding.UTF8, "application/json");
var res = await http.PostAsync("https://api.algodeltafx.com/api/v1/auth/userlogin", body);
Console.WriteLine(await res.Content.ReadAsStringAsync());Last updated 2026-11-04