Admin webhooks
Get webhook endpoint (admin)
Admin variant of GET /v1/webhooks/endpoints/:id. Returns a single endpoint by ID. The signing secret is never returned on read.
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
application/json
curl -X GET "https://api.miracle.com/v1/admin/webhook-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
Delete webhook endpoint (admin)
Admin variant of DELETE /v1/webhooks/endpoints/:id. Soft-deletes the endpoint — deliveries stop immediately. The record is preserved for audit.
List webhook endpoints (admin)
Admin variant of GET /v1/webhooks/endpoints. Lists endpoints scoped to the caller owner level (tenant or platform). Signing secrets are never included.