Dropline · Docs

Developer overview

Read, search, organise, draft and send mail from your own code or AI agent, with tokens you control.

Dropline has three ways in for code. They share the same tokens, scopes, mailboxes, send approval and rate limits.

Use it forWhere
REST APIYour own apps and scriptshttps://dropline.cleforyx.com/api/v1
WebhooksBeing told when mail arrives, is sent, or needs approvalYour HTTPS endpoint
MCP serverAI agents: Claude Code, Cursor, VS Codehttps://dropline.cleforyx.com/mcp

The basics

  • JSON in and out, UTF-8, snake_case field names, timestamps in ISO 8601 UTC.
  • Every request carries a personal access token: Authorization: Bearer dl_pat_….
  • Errors always look the same: { "error": { "code", "message", "details" } }.
  • Nothing in the API deletes mail permanently. The most it can do is move a message to Trash.
  • You don’t need the mail server (mail.cleforyx.com) for any of this; it’s for mail apps.

Your first call

Create a token under Settings → Connect AI agents with the mail.read scope, then:

curl https://dropline.cleforyx.com/api/v1/mailboxes \
  -H "Authorization: Bearer $DROPLINE_TOKEN"

Where to go next

View this page as Markdown