Skip to main content

List Masters

GET /api/v1/master/directory
Use id with the single-Master GET and PATCH routes.

Register existing accounts

POST /api/v1/master/add
The API rejects an already registered trading login, a payment account equal to the Master login, or a payment account already assigned elsewhere.

Create a new Master

POST /api/v1/master/create
The payment account is created in the payment group configured by Codench; its group is not part of this request.

Retrieve by internal ID

GET /api/v1/master/{master_id} master_id is the numeric internal PAMM ID, not the MT5 login.

Update a Master

PATCH /api/v1/master/{master_id} Send at least one of name, strategy_name, strategy, or min_deposit. Omitted fields keep their current value.
Changing min_deposit affects later assignment validation and does not credit or debit existing balances.

Retrieve sensitive Master details

GET /api/v1/info/master/{master_login}
This response contains MT5 secrets. Restrict it to authorized backend and administrative processes and exclude the body from logs.

Previous: Endpoint index

Return to the route catalog.

Next: Investor endpoints

Open Investor provisioning contracts.
Last modified on September 7, 2026