{"uid":"cap_uWrO9_0Ccc5Jx8Wh5bozZ","slug":"codepulse-webhook-poll-23cfb902","name":"CodePulse Webhook Poll","description":"Retrieves all callback request payloads received by the listener.","url":"https://codepulse-api.hahavoid0.workers.dev/webhook/poll","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["webhook_id"],"properties":{"webhook_id":{"type":"string","description":"Listener ID generated via /webhook/listen"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"callbacks":[{"body":{"code":"oauth_code_123"},"query":{},"method":"POST","headers":{},"timestamp":"2026-06-25T12:00:00Z"}]},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l1gI5AQoeWU28_Lud8YvS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Polls a previously created webhook listener to retrieve any HTTP callbacks that have been received since it was set up","exampleAgentPrompt":"Check my webhook listener for any callbacks that came in — the listener ID is wh_abc123.","exampleUseCases":[{"title":"OAuth callback capture for agent","prompt":"I set up a webhook listener to catch the OAuth redirect from GitHub — listener ID is wh_gh_oauth_99. Can you poll it now and give me the auth code that came back?"},{"title":"Third-party payment notification check","prompt":"I'm waiting for a Stripe payment webhook to hit my listener wh_stripe_payment_42 — can you check if it received anything yet and show me the body?"},{"title":"CI/CD pipeline trigger verification","prompt":"My CI tool should have sent a build-complete event to webhook listener wh_ci_build_007 — poll it and tell me what payload arrived."}],"resultDescription":"Returns an array of HTTP callbacks received by the specified webhook listener, each including the request body, query parameters, HTTP method, headers, and timestamp. Also includes confidence level, data freshness metadata, warnings, and a disclaimer.","failureModes":["Invalid or expired webhook_id returns empty callbacks array or error","Webhook listener was never triggered — callbacks array is empty","Listener ID not found — may have expired or never been created","Network timeout connecting to the workers.dev endpoint","Malformed request body causes validation error"],"whenToPreferThis":"Use this endpoint when you have already created a webhook listener via /webhook/listen and need to retrieve any HTTP callbacks it has captured. Ideal for agentic workflows that need to receive asynchronous third-party notifications (OAuth redirects, payment confirmations, CI events) without maintaining a persistent server. Prefer this over polling your own infrastructure when you need a disposable, pay-per-call webhook receiver with no setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:29.071Z","isFirstParty":false}