Account API
Get async account creation status
Changed onReturns the current status of an asynchronous account creation request. Status values: QUEUED (waiting to be processed), PROCESSING (currently being created), COMPLETED (success, includes the account), FAILED (includes error message). Statuses are retained for 1 hour after completion.
get/rest/api/v1/accounts/async/{requestId}
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.
Path parameters
requestIdstring required
The requestId returned by the async POST /accounts call
Response
OK
Example response
{
"account": {
"accountInformation": {
"expertAdvisorResources": [
{
"cpuPercent": 3.4,
"memoryBytes": 734003200
}
]
},
"callbackUrl": "https://example.com/webhook/account-created"
},
"callbackUrl": "https://example.com/webhook/account-created",
"message": "Account creation request accepted. The result will be POSTed to the provided callback URL.",
"requestId": "acc_a1b2c3d4e5f67890",
"status": "QUEUED"
}Changes
- info
added the optional property
/to the response with the status
- info
- info
added the optional property
////to the response with the status
- info