{"uid":"cap_L7KEtsz9u3xWUAxCUBjeI","slug":"agmail-inbox-4-hour-renewal-02fa1fe3","name":"agmail Inbox 4-Hour Renewal","description":"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.","url":"https://agmail.shveik.dev/v1/x402/inbox-4h-renew?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"secret":{"type":"string"},"inbox_id":{"type":"string","pattern":"^ib_[0-9a-f]{12}$"}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m8SVChAVhDYWS21jFDOXZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renews or extends an existing agmail receive-only email inbox by 4 hours, paid via x402 stablecoin micropayment","exampleAgentPrompt":"My agmail inbox ib_0123456789ab is about to expire — renew it for 4 hours using my secret so it stays live for incoming emails.","exampleUseCases":[{"title":"Keep agent inbox alive during workflow","prompt":"My agent's email inbox ib_abc123def456 is expiring soon and it's still waiting for a verification email — renew it for another 4 hours using secret 'sk_test_abc' so the workflow doesn't break."},{"title":"Auto-renew inbox before expiry","prompt":"Set up automatic renewal for my agmail inbox ib_fedcba987654 every 4 hours using my secret key so it never goes offline while my agent is running."},{"title":"Support inbox for an agent fleet","prompt":"I have a fleet of AI agents each with their own agmail inbox — renew inbox ib_111222333444 for 4 hours right now using secret 'mysecret42' so that agent keeps receiving task assignments."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:33:51.382Z","isFirstParty":false,"canonicalSlug":"agmail-inbox-4-hour-renewal-02fa1fe3"}