Ledger Enterprise
API Documentation V1
API Documentation V1
  • GETTING STARTED
    • Welcome
    • Getting Started
    • Authentication
    • Rate Limits
    • Pagination
  • tutorials
    • Register a new API User
    • First Steps as an API User
    • Generate Reporting API Keys
    • Manage Reporting API Keys
  • REFERENCE
    • API reference
      • Accounts
        • Addresses
        • Balances
          • History
        • Currency
        • History
        • Labels
        • Nft collections
        • Nft portfolio
        • Nfts
        • Sync
        • Tokens
        • Erc20 children accounts
      • Api users
        • Register
      • Currencies
        • Tokens
      • Digests
        • History
      • Entities
        • History
        • Users
      • Groups
        • History
      • Labels
      • Messages
        • History
      • Organization
      • Pledges
      • Requests
        • Approve
        • Challenge
          • Reject
        • Governance status
        • Reject
      • Settlements
      • Transactions
        • Estimate fees
        • Fees
        • Approve
        • History
        • Labels
        • Reject
      • Users
        • History
      • Whitelists
        • History
      • Auth
        • Token
          • Refresh
      • Compliance
        • Address risk
        • Sanctions
      • Notifications
        • Configuration
    • Specification
Powered by GitBook
On this page
  1. REFERENCE
  2. API reference

Whitelists

PreviousHistoryNextHistory

Search Whitelist

get

Use the following parameters to search whitelists.

Authorizations
Query parameters
accountinteger[] | nullableOptional

Returns the whitelists used in the specified account's governance rules.

Default: null
addressstring | nullableOptional

Filters the list by address.

Default: null
created_afterstring · date-time | nullableOptional

Returns objects created after the entered date.

Default: nullExample: 2020-09-12T14:15:22Z
created_beforestring · date-time | nullableOptional

Returns objects created before the entered date.

Default: nullExample: 2020-12-13T16:17:28Z
descriptionstring | nullableOptional

Returns objects that contain the entered description.

Default: null
idinteger | nullableOptional

Returns the object corresponding to the entered ID

Default: null
namestring | nullableOptional

Filters the list by whitelist name.

Default: null
orderstring · enum | nullableOptional

Orders the list of results

Default: nullExample: descPossible values:
order_bystring | nullableOptional

criteria to order by

Default: nullExample: name
pageinteger | nullableOptional

Defines the page number to be fetched.

Default: 1Example: 3
page_sizeinteger | nullableOptional

Defines the number of elements displayed on a page. Must be a positive number with 0 and -1 return a maximum defined in the gate

Default: 20Example: 40
Responses
200
Whitelist search results
application/json
400
Invalid search parameters
application/json
get
GET /whitelists HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
  "edges": [
    {
      "cursor": 0,
      "node": {
        "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-05-30T19:50:57.111Z",
        "description": "our own accounts",
        "id": 1,
        "last_request": 3,
        "name": "internal accounts",
        "status": "ACTIVE"
      }
    }
  ],
  "page_info": {
    "count": 1,
    "has_next_page": false
  }
}

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
404
Whitelist not found
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-05-30T19:50:57.111Z",
  "description": "our own accounts",
  "id": 1,
  "last_request": 3,
  "name": "internal accounts",
  "status": "ACTIVE"
}
  • GETSearch Whitelist
  • GETGet whitelist by id