The endpoint creates a new API key for a sub-account.
The API does not cache the response.
API key authentication using signed requests
Type of API key (1 - info and trading; 2 - info, trading, deposits, withdraws)
1, 2 1
ID of the sub-account to create the API key for
"8e667b4a-0b71-4988-8af5-9474dbfaeb51"
Custom title/name for the API key
"Trading Bot Key"
API key created successfully
Sub-account identifier
"8e667b4a-0b71-4988-8af5-9474dbfaeb51"
API key identifier
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
API key title/name
"Trading Bot Key"
Whether the API key is enabled
true
API key
"pub-key-abc123"
API secret
"secret-xyz789"
API key type (1 - info and trading, 2 - info, trading, deposit and withdraw)
1
Last activity timestamp
1641081600
Whether access is restricted
false
List of allowed endpoints