Skip to main content
GET
/
events
/
{id}
Get an event
curl --request GET \
  --url https://api.nomos.energy/events/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "evt_q0mql5wv7l2i60yf6f710h60",
  "topic": "subscription.created",
  "timestamp": "2024-03-14T12:00:00Z",
  "context": {
    "subscription": "sub_vgl03jgjt283ytk79urgb98g",
    "lead": "lead_z4b8c70q8s0q4hec7hum3mhz"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"evt_pjo1xxyybzxopl0flizeo83w"

Response

Retrieve the event details

id
string
required

Unique identifier for the webhook event

Example:

"evt_q0mql5wv7l2i60yf6f710h60"

topic
enum<string>
required

Event type identifier

Available options:
subscription.created
Example:

"subscription.created"

timestamp
required

Timestamp when the event was created

Example:

"2024-03-14T12:00:00Z"

context
object
required

The context of the subscription.created event