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_rajqb6yznj17v36ltc0q21l5",
  "topic": "subscription.created",
  "timestamp": "2024-03-14T12:00:00Z",
  "context": {
    "subscription": "sub_jky10kw6t2ftujyb3q0mzctv",
    "lead": "lead_mb9m67vsjhnb1r15ft19o2t3"
  }
}

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_hbjdyzyinxk7b2fvie4u0c8g"

Response

Retrieve the event details

  • Option 1
  • Option 2
id
string
required

Unique identifier for the webhook event

Example:

"evt_rajqb6yznj17v36ltc0q21l5"

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