Skip to main content
POST
/
api
/
v4
/
sub-account
/
api-key
/
list
List Sub-Account API Keys
curl --request POST \
  --url https://whitebit.com/api/v4/sub-account/api-key/list \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "subAccountId": "<string>",
  "limit": 30,
  "offset": 0
}
'
{
  "limit": 123,
  "offset": 123,
  "data": [
    {
      "subAccountId": "<string>",
      "id": "<string>",
      "title": "<string>",
      "isEnabled": true,
      "apiKey": "<string>",
      "apiSecret": "<string>",
      "type": "<string>",
      "lastActivity": 123,
      "restrictAccess": true,
      "accessEndpoints": [
        {
          "name": "<string>",
          "title": "<string>"
        }
      ]
    }
  ]
}
For security reasons, the apiSecret field returns an empty string in this endpoint. The API secret is only displayed once during the initial API key creation.

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
subAccountId
string

ID of the sub-account to list API keys for

limit
integer
default:30
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: 0 <= x <= 10000

Response

Successful response

limit
integer
offset
integer
data
object[]