Documentation Menu

Hookmetry REST API reference

The API uses a bearer JWT. API operations are scoped to the authenticated user account.

Authentication

http
Authorization: Bearer <JWT>

Endpoints

Method and pathPurpose
POST /api/endpointsCreate an endpoint. Returns 201 on success.
GET /api/endpointsList your endpoints.
GET /api/endpoints/:endpointIdRead endpoint details.
PATCH /api/endpoints/:endpointIdUpdate name, description, or active state.
DELETE /api/endpoints/:endpointIdDelete an endpoint.
POST /api/endpoints/:endpointId/regenerate-secretRegenerate a Generic HMAC-SHA256 secret.

Webhook logs, replay, and sharing

Method and pathPurpose
GET /api/webhooks/logsList logs. Supports limit, offset, status, and search.
GET /api/webhooks/logs/:logIdRead one webhook log.
POST /api/webhooks/logs/:logId/analyzeRequest or retrieve AI remediation for an eligible failure.
POST /api/replay/:webhookLogIdReplay a log. Request body requires targetUrl.
GET /api/replay/:webhookLogId/historyRead replay history.
POST /api/webhooks/:logId/shareCreate a share link. expiresInHours defaults to 24.
DELETE /api/webhooks/:logId/shareRevoke a share link.
GET /api/observability/metricsRead account-scoped traffic and validation metrics.
GET /api/cli/diagnose/:logIdRead reconstruction and destination diagnostics for CLI use.
GET /api/cli/explain/:logIdRequest or retrieve CLI AI remediation.

Replay example

bash
curl --request POST 'https://<Hookmetry host>/api/replay/<webhookLogId>' --header 'authorization: Bearer <JWT>' --header 'content-type: application/json' --data '{"targetUrl":"https://staging.example.com/webhooks/provider"}'

Was this page helpful?

Your feedback helps us improve the docs.