Use when an agent inbox from /v1/agent/inbox must keep receiving mail
1gateway.dev/v1/agent/inbox/extend
Use when an agent inbox from /v1/agent/inbox must keep receiving mail. Input: id, days (1, 7 or 30), header x-inbox-secret. Output: new expiresAt and remaining message allowance (+20, +50 or +200). Extend any time before it expires; no upper limit. Wrong secret, expired inbox or bad days refused before payment. Example: GET /v1/agent/inbox/extend?id=ib_0123456789abcdef01234567&days=30
GET
https://1gateway.dev/v1/agent/inbox/extendUptime100% of 1 check 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/inbox/extend?days=30&id=ib_0123456789abcdef01234567");
console.log(await res.json());Example input
{
"days": "30",
"id": "ib_0123456789abcdef01234567"
}More from Agent Email InboxProvider status
- 1gateway.dev/v1/agent/inboxUse when an agent must receive email: sign-up codes, magic links, or ongoing mail. Input: days (1 default, 7, 30). Output: address @inbox.1gateway.dev, id, one-time secret, read and extend URLs. Reads are free (header x-inbox-secret): sender, subject, text, codes and confirmation links extracted. Receive only; 20/50/200 messages, 256 KB each, attachments dropped; mail kept 30 days. Extendable. Exa0.01
- 1gateway.dev/v1/agent/inbox/actionUse when mail in an agent inbox asks to confirm, verify or allow by clicking. Input: id, seq (message), link (0-9, default 0), header x-inbox-secret. Opens that link and presses the one confirm button of a form that needs no typing; no AI. Output: outcome (submitted or opened), button pressed, final URL, page text. Several buttons, typed input or JavaScript-only pages: nothing pressed, not charged0.01
