trust-gateway

Webhook Subscribe

Register an outbound webhook for scan-score-change notifications.

When the security scan score changes for the specified repo, AgentAvow will POST a signed payload to the callback URL containing: {repo, new_score, old_score, changed_at, jws}.

Example::

POST /api/v1/gateway/webhook/subscribe
{"repo": "owner/repo", "callback_url": "https://api.moltbridge.ai/webhooks/scan",
 "provider": "moltbridge"}
post/api/v1/gateway/webhook/subscribe

Request

  • Base URL: https://agentavow.com (the document declares no server; this is the origin it was published from)
  • URL: https://agentavow.com/api/v1/gateway/webhook/subscribe
  • Auth: none declared

Request body

repostring required
callback_urlstring required
providerstring required
signing_secretstring nullable

Response

Successful Response

subscribedboolean required
repostring required
callback_urlstring required
providerstring required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.