Create DCA Bot (REST)
Weight: 10
POST/open_api/dca_bots/create
Create a DCABot with the same payload, subscription checks and validation as the cabinet form.
Request
Responses
- 200
- 401
- 405
- 429
- 500
DCABot saved through the cabinet upsert flow. The response repeats the submitted payload and does not include the generated bot code; use findMany to obtain it.
Authentication error.
Not allowed to perform action.
Rate Limit exceeded.
Response Headers
RateLimit-Limit
The maximum number of tokens allowed in the current period
Example:
1200RateLimit-Remaining
The number of remaining tokens in the current period
Example:
0RateLimit-Reset
Time at which the current rate limit resets (UNIX timestamp in milliseconds)
Example:
1773649807000Internal server error.
Response Headers
RateLimit-Limit
The maximum number of tokens allowed in the current period
Example:
1200RateLimit-Remaining
The number of remaining tokens in the current period
Example:
1050RateLimit-Reset
Time at which the current rate limit resets (UNIX timestamp in milliseconds)
Example:
1773649807000