Skip to main content
POST
Search Credentials

Description

Finds published credentials by recipient, group, credential ID, custom attribute or date. Results are newest first. Drafts are not included. All filters are optional. A credential must match every filter you send.

Headers

string
required
Your API key: Bearer YOUR_API_KEY. Create a key in the Studio under Settings → Developers.

Body Parameters

object
Filter by recipient. Each field matches part of the value, and case does not matter. If recipient is not an object, the call returns 400 with invalid_recipient.
string
Group key, or part of it.
string
Credential ID (document_id), or part of it.
object
Attribute values the credential must have, such as {"custom_grade": "A"}. Values must match exactly. Send them as strings, because Hyperstack saves attribute values as text.
string
Start of the date range, as YYYY/MM/DD, for example 2026/03/01. Used only together with end_date.
string
End of the date range, as YYYY/MM/DD. Used only together with start_date.The range runs from the start of start_date to the start of end_date (UTC), so credentials from the end_date day itself are not included. To include a day, set end_date to the next day.
number
default:"1"
Page number. Starts at 1. Send a whole number, such as 2 or "2".
number
default:"50"
How many credentials on each page, up to 500. A bigger value is cut to 500, and page_size in the response shows the size used.
The date range matches the credential’s issue date, or the time it was published if it has no issue date.

Success Response Fields

boolean
true when the request worked.
number
Number of credentials that match.
number
The page number of this response.
number
The page size used.
array[object]
The matching credentials on this page. Each has the same fields as View Credential, without success.

Responses

Last modified on October 20, 2026