Get Whitelist by ID

Get whitelist by id

get

This method returns the whitelist that matches the entered ID.

Authorizations
Path parameters
whitelist_idintegerRequired

The whitelist's ID.

Responses
200
Whitelist object
application/json
get
GET /whitelists/{whitelist_id} HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
  "addresses": [
    {
      "address": "tb1qrdw2mrllkm4lfjgnxeqz0yzjg6835sfyualdhy",
      "currency": "bitcoin_testnet",
      "destination_tag": null,
      "id": 3,
      "name": "main account"
    },
    {
      "address": "mmWpcbXNXoKMjc6Q3WjPSxj4JbpLhAFotF",
      "currency": "bitcoin_testnet",
      "destination_tag": null,
      "id": 4,
      "name": "second account"
    }
  ],
  "created_by": 5,
  "created_on": "2025-07-01T04:10:37.165Z",
  "description": "our own accounts",
  "id": 1,
  "last_request": 3,
  "name": "internal accounts",
  "status": "ACTIVE"
}

Last updated