Skip to content
Fourohtwo

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

BaseMonadPolygonArbitrumSolanaAnswering
GEThttps://1gateway.dev/v1/agent/inbox/extend

Uptime100% 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