Search for Credentials (v2)
Changed onThis 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.
Note: Results from this endpoint do not carry the skills field that the other credential endpoints return. To read a credential's framework skills, fetch it with View a Credential.
Request
- Base URLhttps://api.accredible.com
- URLhttps://api.accredible.com/v2/credentials/search
- AuthAPI key in header Authorization
Request body
Response
OK
Changes
- info
added the optional property
///to the response with the status
- info
- breaking
the
/request property type changed fromstringtointeger - breaking
the
/request property type changed fromstringtointeger - info
added the new optional request property
/ - info
added the optional property
/to the response with the status
- breaking