Skip to main content
GET
/
events
/
{event_id}
Retrieve an event
curl --request GET \
  --url https://api.deck.co/v2/events/{event_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "type": "<string>",
  "data": "<unknown>",
  "created_at": "2023-11-07T05:31:56Z",
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Secret key (sk_live_...)

Path Parameters

event_id
string
required

Unique identifier for the event (prefixed with evt_).

Response

OK

A lifecycle event emitted by the platform.

id
string
required

Unique identifier for the event, prefixed with evt_.

object
string
required

Always event.

type
string
required

Event type (e.g. task_run.completed, credential.verified).

data
any
required

Event payload containing a summary of the resource that triggered the event.

created_at
string<date-time>
required

ISO 8601 timestamp of when the resource was created.

request_id
null | string
required

Unique identifier for the API request. Include this when contacting support.