Get a case's history
GET
/v1/cases/{id}/events
const url = 'https://api.staging.heliumid.io/v1/cases/example/events';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/events \ --header 'Authorization: Bearer <token>'Every state change of the case, in order, with who caused it.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”One event per state change
Media typeapplication/json
object
Example
{ "data": [ { "actor": { "kind": "user" } } ]}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" }}