Search Clients
Changed onSearch the clients in the requested service that match the condition provided in the q query parameter. Results are returned via cursor based iteration. To iterate through all clients without a search condition, use the /api/{serviceId}/client API instead.
Request
- Base URLhttps://us.authlete.com
- URLhttps://us.authlete.com/api/{serviceId}/client/search
- AuthHTTP bearer
Path parameters
The ID of the service to retrieve a list of clients from.
Query parameters
The search query. See the description of this API for the supported syntax and fields.
This parameter is required unless cursor is provided. When cursor is provided, this parameter is ignored and the search query stored in the cursor is used instead.
This should be set to the value of nextCursor from a previous call to this endpoint, which will retrieve the next set of clients matching the original search query. If this is not provided the search will start from the beginning.
The maximum amount of results to return from this request. This value will be clamped between 1 and the allowed maximum. The default will be used if no value is provided.
Indicates whether the totalCount property should be calculated and included in the response, otherwise it will be unset.
Warning: Calculating the total count requires an additional query and reduces the performance and throughput of this API. Only set this to true when the total count is actually required, rather than on every request.
Response
Example response
{
"entities": [
{
"number": 1140735077,
"serviceNumber": 715948317,
"clientName": "My Test Client",
"clientId": "1140735077",
"clientSecret": "gXz97ISgLs4HuXwOZWch8GEmgL4YMvUJwu3er_kDVVGcA0UOhA9avLPbEmoeZdagi9yC_-tEiT2BdRyH9dbrQQ",
"clientType": "PUBLIC",
"redirectUris": [
"https://example.com/callback"
],
"responseTypes": [
"CODE"
],
"grantTypes": [
"AUTHORIZATION_CODE"
]
}
]
}Changes
- info
added the optional property
//////to the response with the status
- info
- info
endpoint added
- info