Retrieve
GET/keys/:key/licensees/:licensee
Returns licensee information as identified by the licensee key.
Request
Path Parameters
API Key
The API Key to retrieve. Begins ak_
.
Licensee Key
Uniquely identifies a licensee.
Query Parameters
Private User Token
A secret key used for sensitive operations on your account and API Keys.
Your user token can be retrieved and managed from your accounts page.
Typically beings uk_...
Responses
- 200
- 400
Success
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
result object
Licensee object which can be defined by user
Licensee individual or organisation name
Licensee's first, second and third line address as well as post town concatenated by commas
Licensee's postcode
A list of allowed URLs. An empty list means that whitelisting is disabled
daily objectrequired
The maximum number of lookups this licensee can perform in a day. null
indicates the limit is not active
The number lookups performed by the licensee on the day represented b licesees.daily.updatedAt
The timestamp when the limit was last used.
An immutable ID provided for every licensee. Primarily used for paginated list requests.
Uniquely identifies a licensee for a key.
Required to perform paid lookups for a specific licensee. Typically begins sk_
.
Timestamp for when the licensee was created
Possible values: [2000
]
Possible values: [Success
]
{
"result": {
"name": "Qwerty Widgets Limited",
"address": "12 High Street, Manchester",
"postcode": "ID1 1QD",
"whitelist": [
"https://www.example.com"
],
"daily": {
"limit": 10000,
"count": 232,
"updatedAt": "2016-08-05T16:43:28.865Z"
},
"id": "56a11209ebe230380bf104c3",
"key": "sl_ijoiqsxeQgXW2gkiE0X94",
"createdAt": "2016-01-21T17:14:49.971Z"
},
"code": 2000,
"message": "Success"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
API Response Code. Non 2xxx
code indicates a failure. This code will provide a more specific reason when a failure occurs and facilitates debugging.
Human readable error message supplied with every error response.
errors object[]
Indicates location of error in request query or URL parameter
Indicates location of error in request query or URL parameter
{
"code": 0,
"message": "string",
"errors": [
{
"message": "should have required property 'type'",
"path": ".query.type",
"errorCode": "required.openapi.validation"
}
]
}