Credentials
Search for Credentials (v2)
This is a faster alternative to the v1 Search API. It also supports operations on the query fields which can allow you to form more complex queries.
Following operations are supported based on the field. You can also combine operations on multiple fields:
| Operation | Description | Example |
|---|---|---|
| eq | Exact match (default, if nothing specified). | {"group.id[eq]": 1} or {"group.id": 1} - Both yield the same result. |
| in | Allows an array of values. | {"group.id[in]": [1, 2]} |
| lt | Less than. | {"issued_on[lt]": "2023-12-31"} |
| gt | Greater than. | {"issued_on[gt]": "2023-01-01"} |
| lte | Less than equal to. | {"expired_on[lte]": "2023-12-31"} |
| gte | Greater than equal to. | {"expired_on[gte]": "2023-01-01"} |
Note: Offset-based pagination using page.from + page.size supports a maximum of 10,000 results. To retrieve results beyond this limit, use cursor-based pagination with page.cursor and page.size.
post/v2/credentials/search
Request body
Response
OK