Skip to main content
GET
/
stocks
/
api
/
webhooks
/
events
/
{partnerId}
curl "https://api.trusset.org/stocks/api/webhooks/events/wh_abc123?status=failed&limit=10" \
  -H "X-API-Key: trusset_abc123xy_secret..."
{
  "success": true,
  "data": [
    {
      "eventId": "evt_xyz789",
      "type": "token.issued",
      "status": "delivered",
      "deliveredAt": "2025-06-15T12:01:00.000Z",
      "payload": {
        "tokenAddress": "0x1234...",
        "recipient": "0xAbC1...",
        "amount": "1000"
      }
    }
  ],
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z",
    "instanceId": "inst_abc123"
  }
}
Returns a list of webhook events delivered (or attempted) to a specific partner, optionally filtered by delivery status.

Path Parameters

partnerId
string
required
ID of the webhook partner.

Query Parameters

status
string
Filter by delivery status (e.g., delivered, failed, pending).
limit
integer
default:"50"
Maximum number of events to return.

Response Fields

success
boolean
Request status.
data
object[]
Array of webhook event records with delivery status and payload summary.
curl "https://api.trusset.org/stocks/api/webhooks/events/wh_abc123?status=failed&limit=10" \
  -H "X-API-Key: trusset_abc123xy_secret..."
{
  "success": true,
  "data": [
    {
      "eventId": "evt_xyz789",
      "type": "token.issued",
      "status": "delivered",
      "deliveredAt": "2025-06-15T12:01:00.000Z",
      "payload": {
        "tokenAddress": "0x1234...",
        "recipient": "0xAbC1...",
        "amount": "1000"
      }
    }
  ],
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z",
    "instanceId": "inst_abc123"
  }
}