# agmail Inbox 4-Hour Renewal

> agmail Inbox 4-Hour Renewal is a paid API for AI agents from agmail.shveik.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-10).

Renews or extends an existing agmail receive-only email inbox by 4 hours, paid via x402 stablecoin micropayment

## Facts

- Endpoint: POST https://agmail.shveik.dev/v1/x402/inbox-4h-renew?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agmail-inbox-4-hour-renewal-02fa1fe3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L7KEtsz9u3xWUAxCUBjeI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agmail-inbox-4-hour-renewal-02fa1fe3 -d '<json body>'
```

Example prompt: My agmail inbox ib_0123456789ab is about to expire — renew it for 4 hours using my secret so it stays live for incoming emails.

## When to prefer this

Use this endpoint when you have an existing agmail inbox (identified by inbox_id) that is approaching expiry and needs to be extended by exactly 4 hours. Choose this over creating a new inbox when you want to preserve the same email address and maintain continuity for incoming messages. Prefer this when your agent workflow requires a stable, known inbox address and you want to pay per-use in USDC via x402 micropayment without a subscription.

## Known failure modes

- Invalid inbox_id format (must match ^ib_[0-9a-f]{12}$) — returns 4xx validation error
- Incorrect or missing secret — returns authentication failure
- Payment not settled or x402 payment rejected — renewal queued but not applied until confirmed
- Inbox already expired and no longer renewable — may return 404 or error
- Network or payment provider timeout — renewal remains in 'queued' state indefinitely

## How this service works

Receive-only email inboxes for AI agents, by the hour. Pay in stablecoins with x402 or MPP; one call returns the code or the link.

## Output

Returns a JSON object with the renewal status ('queued'), the plan duration ('4h'), the inbox_id being renewed, and a human-readable 'next' field explaining that the extension will be applied once payment settles (typically within a minute). The agent should poll the inbox status endpoint to confirm activation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "secret": {
   "type": "string"
  },
  "inbox_id": {
   "type": "string",
   "pattern": "^ib_[0-9a-f]{12}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "next": "The extension is applied once the payment has settled (a minute or so); GET /v1/…",
  "plan": "4h",
  "status": "queued",
  "inbox_id": "ib_0123456789ab"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agmail-inbox-4-hour-renewal-02fa1fe3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agmail.shveik.dev](https://www.zero.xyz/host/agmail.shveik.dev/llms.txt)
