cURL
curl --request POST \ --url https://whitebit.com/api/v4/sub-account/api-key/create \ --header 'Content-Type: application/json' \ --header 'X-TXC-APIKEY: <api-key>' \ --data ' { "type": 1, "subAccountId": "<string>", "title": "<string>" } '
{ "subAccountId": "<string>", "id": "<string>", "title": "<string>", "isEnabled": true, "apiKey": "<string>", "apiSecret": "<string>", "type": 123, "lastActivity": 123, "restrictAccess": true, "accessEndpoints": [ { "name": "<string>", "title": "<string>" } ] }
This endpoint creates a new API key for a sub-account.
Rate limit: 1000 requests/10 sec.
API key authentication using signed requests
Type of API key (1 - info and trading; 2 - info, trading, deposits, withdraws)
1
2
ID of the sub-account to create the API key for
Custom title/name for the API key
API key created successfully
Show child attributes