Skip to main content
Instead of polling read_item or get_brief, Parse can push HTTPS POST notifications to your receiver. Choose the mechanism that matches what you need: signed job/tracking callbacks or signed alert webhooks.

Two outbound push mechanisms

Job and tracking completion webhooks

Pass webhook_url (and optionally webhook_secret, 16 to 256 characters) to ask_ai_engines (live asks or baselines) or track (recurring question runs). If you omit webhook_secret, Parse generates a 192-bit secret (whsec_…) and returns it once in the tool reply so your receiver can verify signatures. Emitted event types:
  • ask.completed / ask.failed: ad-hoc ask_ai_engines runs.
  • baseline.completed / baseline.failed: brand baseline runs (baseline); includes brand, domain, brandName, answers, answersRead, and namingBrand.
  • track.completed / track.failed: scheduled daily or weekly track collection runs; includes track (trk_…).
Example ask.completed payload:
Headers and signing: Every POST sends Content-Type: application/json, User-Agent: Parse-Webhooks/1 (+https://agent.parse.gl), X-Parse-Timestamp: <unix seconds>, and X-Parse-Signature: sha256=<hex>, where the hex digest is HMAC-SHA256 over <timestamp>.<rawBody> using your webhook_secret. Verify over the raw request bytes in constant time and reject timestamps older than 300 seconds:
Delivery and inspection: Parse attempts delivery up to 3 times (10s timeout per attempt, 1s and 4s backoff), retrying on 5xx, 408, 429, and network errors (3xx redirects and other 4xx responses are never retried). Inspect recent delivery outcomes, HTTP statuses, and attempt counts with list_work:

Brief alert webhooks

Configure update_settings with brief: { webhookUrl: "https://…", alerts: ["fact_contradicted", "crawler_blocked", "own_page_broken", "model_update_drop"] } to receive a short signed alert whenever selected workspace events fire. Example payload:
Signing: Alert webhooks sign <t>.<rawBody> with HMAC-SHA256 and send Parse-Signature: t=<unix seconds>,v1=<hex>. A workspace admin reads the workspace signing secret in Parse on Notifications; it is never returned to agents.
Node.js
Retries: Within each send attempt, Parse retries up to 4 times (0s, 1s, 5s, 25s backoff, 10s per-attempt timeout) on 5xx, 408, 429, and network errors, and retries a failed slot up to 4 times over 24 hours unless a later send supersedes it.

Security and SSRF rules

  • All outbound webhooks require https:// on port 443 with zero embedded credentials.
  • Parse resolves DNS before connecting, rejects loopback, RFC1918 private networks, CGNAT, link-local/cloud metadata (169.254.0.0/16, fe80::/10), IPv6 ULA (fc00::/7), IPv4-mapped IPv6, and Parse’s own hosts, and pins the socket connection to the verified IP to block DNS rebinding.
  • HTTP redirects (3xx) are never followed. Return any 2xx status quickly (under 10 seconds) and process work asynchronously.