# DDG Mail Threads API

> DDG Mail Threads API is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Creates or posts to mail threads via the DDG agent-payable service, charged at $0.005 USDC per call using x402 payment rails.

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/mail/threads?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-mail-threads-api-a113ecd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KYTYrzgrM3mGvuN7l6aEv

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 ddg-mail-threads-api-a113ecd7 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

DDG agent-payable service request

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-mail-threads-api-a113ecd7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
