Skip to main content
GET
/
v1
/
events
/
{id}
curl https://api.flux.dev/v1/events/evt_1a2b3c4d \
  -H "Authorization: Bearer sk_live_..."
{
  "id": "evt_1a2b3c4d",
  "type": "order.completed",
  "created": "2024-01-15T10:30:00Z",
  "data": {
    "orderId": "ord_8x7kj2",
    "amount": 9900,
    "currency": "usd"
  },
  "deliveries": [
    {
      "webhookId": "wh_abc123",
      "status": "delivered",
      "statusCode": 200,
      "deliveredAt": "2024-01-15T10:30:01Z"
    }
  ]
}
Retrieves the details of an existing event.
id
string
required
The event ID (e.g., evt_1a2b3c4d)
curl https://api.flux.dev/v1/events/evt_1a2b3c4d \
  -H "Authorization: Bearer sk_live_..."
{
  "id": "evt_1a2b3c4d",
  "type": "order.completed",
  "created": "2024-01-15T10:30:00Z",
  "data": {
    "orderId": "ord_8x7kj2",
    "amount": 9900,
    "currency": "usd"
  },
  "deliveries": [
    {
      "webhookId": "wh_abc123",
      "status": "delivered",
      "statusCode": 200,
      "deliveredAt": "2024-01-15T10:30:01Z"
    }
  ]
}