Account API
Create an account
Changed onCreates a new account. If a callbackUrl is provided in the request body, the account creation is processed asynchronously: the API returns 202 Accepted immediately with a requestId, and POSTs the result to the callback URL once done. Only one account creation per project is processed at a time; additional async requests are queued and processed sequentially.
post/rest/api/v1/accounts
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"accountInformation": {
"expertAdvisorResources": [
{
"cpuPercent": 3.4,
"memoryBytes": 734003200
}
]
},
"callbackUrl": "https://example.com/webhook/account-created"
}Response
The created account
Example response
{
"accountInformation": {
"expertAdvisorResources": [
{
"cpuPercent": 3.4,
"memoryBytes": 734003200
}
]
},
"callbackUrl": "https://example.com/webhook/account-created"
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
////to the response with the status - info
added the optional property
///to the response with the status
- info