List a case's checks
GET
/v1/cases/{id}/checks
const url = 'https://api.staging.heliumid.io/v1/cases/example/checks';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.staging.heliumid.io/v1/cases/example/checks \ --header 'Authorization: Bearer <token>'Each verification check, its attempts, how each attempt ran (operational state) and what it found (result), kept separate.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The case’s checks
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
capability
required
string
attemptCount
required
integer
attempt
required
Any of:
object
number
required
integer
state
required
string
provider
required
string | null
completedVia
required
string | null
failureReason
required
string | null
createdAt
required
string | null
acceptedAt
required
string | null
completedAt
required
string | null
null
Example
{ "data": [ { "capability": "document_data", "result": "pass", "attempt": { "state": "queued", "result": "pass", "completedVia": "direct", "conflictingResult": "pass" } } ]}Invalid request
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}Not authenticated
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}No such case
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}