Create or rotate a partner webhook endpoint

Stores a partner webhook endpoint for StreetPulse events. Returns the signing secret once; StreetProof stores only a hash. Delivery remains queued until verification and delivery workers are enabled.

post/api/v1/partner/webhooks

Request

  • Base URL: https://streetproof.com
  • URL: https://streetproof.com/api/v1/partner/webhooks
  • Auth: HTTP bearer

Request body

endpoint_urlstring uri required
event_typesstring[]
citystring

Optional city slug filter.

Response

Existing webhook endpoint updated and signing secret rotated

schema'com.streetproof.partner_webhook.v1'
okboolean
webhookobject
signing_secretstring

Shown once. StreetProof stores only a hash.

notestring

Changes

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