{"uid":"cap_KYTYrzgrM3mGvuN7l6aEv","slug":"ddg-mail-threads-api-a113ecd7","name":"DDG Mail Threads API","description":"DDG agent-payable service request","url":"https://agents.daedalusdevelopmentgroup.com/v1/mail/threads?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"ok":true}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jnWFjt-sa0RO06CXELMPo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates or posts to mail threads via the DDG agent-payable service, charged at $0.005 USDC per call using x402 payment rails.","exampleAgentPrompt":"Send a new mail thread via DDG's agent-payable mail service with a JSON body containing the message details — I'll pay the $0.005 USDC fee automatically.","exampleUseCases":[{"title":"Agent-initiated customer outreach","prompt":"Start a new email thread to our customer using DDG's mail service with a JSON body containing the subject and message body — handle the micropayment automatically."},{"title":"Automated notification threading","prompt":"Post a system notification as a new mail thread through DDG's agent-payable API, using a JSON body with the alert details and recipient info."},{"title":"AI agent inter-service messaging","prompt":"Create a mail thread via the DDG mail endpoint with a JSON POST body containing the conversation starter message — use the x402 payment rail for the fee."}],"resultDescription":"Returns a JSON object with an 'ok' field set to true on success, indicating the mail thread was created or updated. May also include thread details or confirmation metadata depending on the operation.","failureModes":["Payment failure: x402 payment not accepted or insufficient USDC balance","Invalid body type: bodyType enum value not one of json/form-data/text","Missing required fields: input or output objects absent in payload","Invalid HTTP method: method not one of POST/PUT/PATCH","Server error: DDG backend unavailable or mail service down","Malformed JSON body: body object fails schema validation"],"whenToPreferThis":"Choose this endpoint when you need to create or post to mail threads through the DDG agent-payable infrastructure and can pay micropayments in USDC via the x402 protocol. Ideal for AI agents with built-in payment capabilities that need to send or manage email threads programmatically without a traditional API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:43:49.761Z","isFirstParty":false,"canonicalSlug":"ddg-mail-threads-api-a113ecd7"}