Miracle Docs
Webhooks

Get webhook endpoint

Returns a single webhook endpoint by ID. Ownership is verified against the caller scope. The signing secret is never returned on read — use POST .../rotate-secret to generate a new one.

GET
/v1/webhooks/endpoints/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X GET "https://api.miracle.com/v1/webhooks/endpoints/string"
{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "ownerType": "merchant",
    "ownerId": "string",
    "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
    "url": "http://example.com",
    "description": "string",
    "events": [
      "string"
    ],
    "status": "active",
    "createdAt": "string",
    "updatedAt": "string",
    "deletedAt": null
  }
}
Empty

On this page