remagicaDocs home
API referenceWebhooks

List an endpoint's deliveries

GET
/webhook-endpoints/{endpointId}/deliveries

Needs a key withwebhooks:read

An endpoint's deliveries, newest first: each event sent to it, how many attempts it took and what the last one got back.

Requires scope webhooks:read.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Path Parameters

endpointId*string
Length1 <= length <= 128

Query Parameters

limit?integer

How many, newest first.

Range1 <= value <= 100
Default50

Response Body

The deliveries.

application/json
  1. response
deliveries*array<>
Example Request
curl -X GET 'https://api.remagica.com/api/v1/webhook-endpoints/whe_4f5a8b9c0d1e2f3a/deliveries'
Example Response
{  "deliveries": [    {      "attempts": 1,      "createdAt": "2026-10-21T12:00:00.000Z",      "deliveredAt": "2026-10-21T12:00:00.000Z",      "endpointId": "2ecb03ae-5b3d-4f60-8e2a-1d9c6b4f7e05",      "eventId": "5e0e63b4-5b3d-4f60-8e2a-1d9c6b4f7e05",      "eventType": "generation.succeeded",      "id": "whd_0d1e2f3a4b5c6d7e",      "lastError": "string",      "lastStatus": 1,      "nextAttemptAt": "2026-10-21T12:00:00.000Z",      "status": "pending"    }  ]}