List Licensees
/v1/keys/{key}/licenseesReturns a key's licensees, oldest first, up to 100 per request. The list omits cancelled licensees. The key must be enabled for sublicensing.
Path parameters
keystringAPI Key
The API Key. Begins
ak_.
Query parameters
starting_afterinteger optionalID of the licensee after which to list results
user_tokenstring optionalManagement Key
A secret key used to manage your account and API Keys. It was previously called the user token.
Your management key can be retrieved and managed from your accounts page.
Typically begins
uk_. Prefer sending it in theAuthorizationheader asBearer uk_...instead of this query parameter. TheAuthorization: user_token="uk_..."header also works.limitinteger optionalLimit
Specifies the maximum number of records to retrieve.
By default the limit is 10. Requesting a larger result set adds latency.
querystring optionalFilter results by licensee name. Can be shortened to
q=
Response
result is an object containing a paginated list of licensees and a flag indicating
whether more results are available.
resultobjectList of licensees
licenseesLicensee[]idstringAn immutable ID provided for every licensee. Primarily used for paginated list requests.
keystringUniquely identifies a licensee for a key.
Required to perform paid lookups for a specific licensee. Typically begins
sl_.createdAtstringTimestamp for when the licensee was created
namestringLicensee individual or organisation name
addressstringLicensee's first, second and third line address as well as post town concatenated by commas
postcodestringLicensee's postcode
whiteliststring[]A list of allowed URLs. An empty list disables the check.
A request is allowed when its
OriginorRefererheader matches an entry. Use one of these formats:https://www.example.comallows one site. Scheme and host must match*.example.comallows the domain and all its subdomains
dailyobjectlimitnumberThe maximum number of lookups this licensee can perform in a day.
nullindicates the limit is not activecountnumberThe number of lookups performed by the licensee on the day represented by
licensees.daily.updatedAtupdatedAtstringThe timestamp when the limit was last used.
hasMorebooleanReturns true if there are more licensees listed after the maximum number of results as implied by
limit
The result sits inside the standard { result, code, message } envelope, see
the API reference for the wrapper format.