{
  "protocolVersion": "yapture/anonymous-list-start/1",
  "description": "Create a capability-protected Yapture list without account registration.",
  "production": {
    "createList": {
      "method": "POST",
      "url": "https://api.yapture.com/v1/lists",
      "contentType": "application/json",
      "body": {
        "title": "Agent-ready list"
      },
      "returns": ["ref", "ownerCode"]
    },
    "appendYap": {
      "method": "POST",
      "urlTemplate": "https://api.yapture.com/v1/lists/{ref}/yaps",
      "authorization": "Bearer {ownerCode}",
      "contentType": "application/json",
      "body": {
        "kind": "task",
        "content": "Readable Yapture Script or plain text"
      }
    }
  },
  "security": {
    "ownerCodeIsBearerSecret": true,
    "rules": [
      "Never place ownerCode in public chat, logs, analytics, screenshots, or issue reports.",
      "Share the owner capability only with a person, client, or agent trusted to control the list.",
      "No account is required, but the capability is still authorization."
    ]
  },
  "documentation": "https://yapture.com/docs/guides/anonymous-agent-inbox"
}
