Generate strategy id#
About#
Generates a new strategy id
GET /users/current/configuration/unused-strategy-id
For more information see Swagger documentation
Headers#
Name | Type | Required | Description |
---|---|---|---|
auth-token | string | Yes | authorization token. See Authentication & authorization |
Response#
Responses:
- 200 - Strategy id generated successfully. Response schema: {id: string}
- 401 - Authorization failed. Response schema: Error
- 404 - Failed to generate strategy id. Response schema: Error
Examples#
Example request:
curl -X GET --header 'Accept: application/json' --header 'auth-token: token' 'https://copyfactory-api-v1.new-york.agiliumtrade.ai/users/current/configuration/unused-strategy-id'
Example response:
{
"id": "iAFv"
}