Retrieve an event

GET

/v3/events/{id}

Fetch one event with its payload and the status of each delivery.

Parameters

Name

Type

Description

id

string, required

The event ID

Request

curl https://api.sluicehq.dev/v3/events/evt_2Vd9kQ \
  -H "Authorization: Bearer sk_test_4f9a2c7e1b"
curl https://api.sluicehq.dev/v3/events/evt_2Vd9kQ \
  -H "Authorization: Bearer sk_test_4f9a2c7e1b"
curl https://api.sluicehq.dev/v3/events/evt_2Vd9kQ \
  -H "Authorization: Bearer sk_test_4f9a2c7e1b"

Response

{
  "id": "evt_2Vd9kQ",
  "type": "invoice.paid",
  "deliveries": [
    { "endpoint": "ep_Qm81", "status": "succeeded", "attempts": 1 },
    { "endpoint": "ep_Zr40", "status": "retrying", "attempts": 3 }
  ]
}
{
  "id": "evt_2Vd9kQ",
  "type": "invoice.paid",
  "deliveries": [
    { "endpoint": "ep_Qm81", "status": "succeeded", "attempts": 1 },
    { "endpoint": "ep_Zr40", "status": "retrying", "attempts": 3 }
  ]
}
{
  "id": "evt_2Vd9kQ",
  "type": "invoice.paid",
  "deliveries": [
    { "endpoint": "ep_Qm81", "status": "succeeded", "attempts": 1 },
    { "endpoint": "ep_Zr40", "status": "retrying", "attempts": 3 }
  ]
}

Create a free website with Framer, the website builder loved by startups, designers and agencies.