1gateway.dev/v1/agent/webhook
Use when an agent must receive a webhook or callback (payment, CI, form) but has no public server. Input: ttl_hours 1-168 (default 24). Output: public url https://1gateway.dev/h/…, id, one-time secret, read URL. Any method is stored (method, query, headers incl. signatures, body), answered 200. Reads free (header x-webhook-secret), ?wait=1-25 long-polls. Receive only; 50 requests, 64 KB each. Exam
GET
https://1gateway.dev/v1/agent/webhookUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://1gateway.dev/v1/agent/webhook?ttl_hours=24");
console.log(await res.json());Example input
{
"ttl_hours": "24"
}