List events
GET
/v1/events
const url = 'https://api.staging.heliumid.io/v1/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/events \ --header 'Authorization: Bearer <token>'The organisation’s events, newest first: the same payloads webhooks carry.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
cursor
string
Responses
Section titled “Responses”The organisation’s events, newest first
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
type
required
string
caseId
required
string | null
createdAt
required
string | null
payload
required
object
key
additional properties
nextCursor
required
string | null
Example generated
{ "data": [ { "id": "example", "type": "example", "caseId": "example", "createdAt": "example", "payload": { "additionalProperty": "example" } } ], "nextCursor": "example"}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" }}Not found
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" }}