# agmail Inbox Renew (1-hour, x402)

> agmail Inbox Renew (1-hour, x402) is a paid API for AI agents from agmail.shveik.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-10).

Renews an existing agmail receive-only email inbox for one additional hour, paid via x402 stablecoin micropayment.

## Facts

- Endpoint: POST https://agmail.shveik.dev/v1/x402/inbox-1h-renew?utm_source=zero.xyz
- Price: $0.02/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-renew-1-hour-x402-bd7e9202
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RKBUWpXcQOIRxT75n4hnA

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-renew-1-hour-x402-bd7e9202 -d '<json body>'
```

Example prompt: Renew my agmail inbox ib_0123456789ab for another hour — use secret 'mysecret42' and pay the $0.02 USDC via x402.

## When to prefer this

Use this endpoint when you have an existing agmail inbox (identified by an ib_XXXXXXXXXXXX ID) that is about to expire and you need to extend it by exactly one hour using an x402 stablecoin payment. Prefer this over creating a new inbox when continuity of the same inbox address matters (e.g. you are waiting for an email to that specific address). This is the x402 payment variant; if using MPP, use the corresponding MPP sibling endpoint.

## Known failure modes

- Invalid inbox_id format (must match ^ib_[0-9a-f]{12}$) — returns 4xx validation error
- Wrong or missing secret — returns 401 or 403 unauthorized
- Payment not included or insufficient USDC amount — returns 402 Payment Required
- Inbox does not exist or has been permanently expired — returns 404
- x402 payment settlement delay — status remains 'queued' until blockchain confirmation

## 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 inbox_id, the plan ('1h'), a status of 'queued' indicating the renewal is pending payment settlement, and a 'next' field with instructions on how to check the updated inbox status (typically via a GET endpoint). The actual extension applies once the x402 payment settles, usually within a minute.

## 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": "1h",
  "status": "queued",
  "inbox_id": "ib_0123456789ab"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agmail-inbox-renew-1-hour-x402-bd7e9202/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)
