{"uid":"cap_pmnpbBY-0RtX1hiWn6cHS","slug":"codepulse-api-mailbox-messages-28a1f26a","name":"CodePulse API – Mailbox Messages","description":"Polls the disposable inbox for messages and verification codes.","url":"https://codepulse-api.hahavoid0.workers.dev/mailbox/messages","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["email"],"properties":{"email":{"type":"string","description":"Disposable email address generated via /mailbox/create"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"messages":[{"id":1234,"body":"Your code is 884732","date":"2026-06-25 12:00:00","from":"no-reply@github.com","subject":"Verification Code"}]},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"1.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KpTl7J99Od15ay-MFgH67","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves all messages from a disposable email inbox previously created via /mailbox/create","exampleAgentPrompt":"Check the messages in my disposable inbox at temp-abc123@codepulse-api.hahavoid0.workers.dev and show me any verification codes or emails that have arrived.","exampleUseCases":[{"title":"Retrieve OTP from disposable inbox","prompt":"I created a temp email for a sign-up flow — now check the inbox at temp-signup42@codepulse-api.hahavoid0.workers.dev and find the verification code they sent me."},{"title":"Automated account signup verification","prompt":"After registering with that disposable email address, fetch all messages from the inbox and extract the confirmation link so we can complete the registration automatically."},{"title":"Monitor throwaway inbox for password reset","prompt":"I triggered a password reset to my temporary email temp-reset99@codepulse-api.hahavoid0.workers.dev — pull the messages from that inbox and tell me what the reset link says."}],"resultDescription":"Returns a list of email messages received in the disposable inbox, each with an ID, body text, subject, sender address, and received timestamp. Also includes metadata fields: warnings array, supported flag, confidence level, and a data_as_of date string.","failureModes":["Invalid or expired disposable email address returns empty messages array or unsupported flag","Email address not created via /mailbox/create results in error or no results","Inbox has not yet received any emails — returns empty messages array","Malformed email string in request body causes validation error","Payment failure via x402 results in 402 response before any data is returned"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically check a disposable inbox — especially for capturing verification codes, OTPs, or confirmation emails during automated account sign-up or testing flows. It pairs naturally with /mailbox/create. Prefer this over manual inbox checking or full email service integrations when you need a lightweight, pay-per-call, no-API-key solution for reading temporary email.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-07-28T17:05:14.504Z","lastSuccessfullyRanAt":"2026-07-28T17:05:14.504Z","lastHealthCheckAt":"2026-09-13T15:18:55.628Z","isFirstParty":false}