---
title: "List"
method: GET
path: "/keys/{key}/licensees"
tags: ["Licensees"]
---

# List

`GET /keys/{key}/licensees`

Returns a list of licensees for a key.

## Path parameters

- `key` string, required

## Query parameters

- `starting_after` integer
- `user_token` string
- `limit` integer
- `query` string

## Response `200`

Success

- LicenseesResponse
  - `result` object, required — List of licensees
    - `licensees` Licensee[]
      - `name` string, required — Licensee individual or organisation name
      - `address` string, required — Licensee's first, second and third line address as well as post town concatenated by commas
      - `postcode` string, required — Licensee's postcode
      - `whitelist` string[], required — A list of allowed URLs. An empty list means that whitelisting is disabled
      - `daily` object, required
        - `limit` number, nullable — The maximum number of lookups this licensee can perform in a day. `null` indicates the limit is not active
        - `count` number, required — The number lookups performed by the licensee on the day represented b `licesees.daily.updatedAt`
        - `updatedAt` string, required — The timestamp when the limit was last used.
      - `id` string, required — An immutable ID provided for every licensee. Primarily used for paginated list requests.
      - `key` string, required — Uniquely identifies a licensee for a key. Required to perform paid lookups for a specific licensee. Typically begins `sk_`.
      - `createdAt` string, required — Timestamp for when the licensee was created
    - `hasMore` boolean — Returns true if there are more licensees listed after the maximum number of results as implied by `limit`
  - `message` 'Success', required
  - `code` 2000, required

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/ideal-postcodes/apis/api-reference.md) · [All operations](https://skmtc.net/ideal-postcodes/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ideal-postcodes/api-reference/revisions/295dd3238f22/schema)
