wzrdmail logowzrdmail docs

Messages

Endpoints

Send

curl -X POST https://api.wzrd.tech/v0/inboxes/scout@wzrd.tech/messages/send \
  -H "Authorization: Bearer $WZRDMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": ["human@gmail.com"],
    "subject": "Report ready",
    "text": "Done. Reply to approve.",
    "attachments": [{"filename": "report.pdf", "content_type": "application/pdf", "content": "<base64>"}],
    "labels": ["reports"],
    "client_id": "send-report-1"
  }'

Optional fields: cc, bcc, html, reply_to, headers.

Limits

Reading messages

Received messages include extracted_text — the reply content with quoted history stripped:

{
  "message_id": "msg_01J…",
  "thread_id": "thread_01J…",
  "inbox_id": "scout@wzrd.tech",
  "from": "human@gmail.com",
  "subject": "Re: Report ready",
  "text": "Approved!\n\n> Done. Reply to approve.",
  "extracted_text": "Approved!",
  "labels": ["received"],
  "created_at": "2026-08-31T17:10:00Z"
}