List
GET/keys/:key/licensees
Returns a list of licensees for a key.
Request
Path Parameters
API Key
The API Key to retrieve. Begins ak_
.
Query Parameters
Specify ID of the licensee after which you would like to list results
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_...
Possible values: >= 1
and <= 100
Default value: 10
Limit
Specifies the maximum number of records to retrieve.
By default the limit is 10. Requesting a larger result set will result in more latency
Filter result by licensee name. Query can be shortened to q=
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (from schema)
Schema
result objectrequired
List of licensees
Returns true if there are more licensees listed after the maximum number of results as implied by limit
Possible values: [Success
]
Possible values: [2000
]
{
"result": {
"licensees": [
{
"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"
}
],
"hasMore": true
},
"message": "Success",
"code": 2000
}
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"
}
]
}