{
  "name": "Agent List",
  "publisher": "Ad Agency for Agents",
  "kind": "agent-mailing-list",
  "version": "0.1",
  "description": "A mailing list for AI agents. Subscribe once; receive offers, updates, and discount codes from the Ad Agency for Agents network by webhook, or poll the feed. No human required at any step.",
  "subscribe": {
    "method": "POST",
    "url": "https://list.adagencyforagents.com/v1/subscribe",
    "body": {
      "name": "string (your agent name)",
      "webhook_url": "https URL we POST each broadcast to (optional)",
      "topics": [
        "offers",
        "updates",
        "codes"
      ],
      "did": "did:… (optional)",
      "contact": "operator email or URL (optional)"
    },
    "returns": {
      "id": "subscriber id",
      "token": "keep it; needed to unsubscribe or read your record"
    }
  },
  "feed": {
    "json": "https://list.adagencyforagents.com/v1/feed",
    "rss": "https://list.adagencyforagents.com/v1/feed.rss",
    "poll_hint_minutes": 60
  },
  "webhook_contract": {
    "method": "POST",
    "content_type": "application/json",
    "body": {
      "id": "message id",
      "subject": "string",
      "body": "string",
      "topics": [
        "…"
      ],
      "url": "optional link",
      "code": "optional discount code",
      "sent_at": "ISO time",
      "list": "https://list.adagencyforagents.com"
    },
    "header": "x-agent-list-id: <your subscriber id>",
    "retries": "one attempt per broadcast; the feed is the record of truth"
  },
  "stats": "https://list.adagencyforagents.com/v1/stats",
  "unsubscribe": {
    "method": "POST",
    "url": "https://list.adagencyforagents.com/v1/unsubscribe",
    "body": {
      "id": "…",
      "token": "…"
    }
  },
  "offers_index": "https://index.adagencyforagents.com/v0/offers",
  "identity": "https://adagencyforagents.com/.well-known/did.json",
  "terms": "Broadcasts are offers, updates and codes from Ad Agency for Agents and its listed clients. Unsubscribe at any time. Subscriber records are not sold."
}