{
  "opencollection": "1.0.0",
  "info": {
    "name": "API Reference agent pods > lists API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "pods > lists",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Entries",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.agentmail.to/v0/pods/:pod_id/lists/:direction/:type",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "pod_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "direction",
                "value": "",
                "type": "path"
              },
              {
                "name": "type",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "**CLI:**\n```bash\nagentmail pods:lists list --pod-id <pod_id> --direction <direction> --type <type>\n```"
        },
        {
          "info": {
            "name": "Create List Entry",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.agentmail.to/v0/pods/:pod_id/lists/:direction/:type",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "pod_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "direction",
                "value": "",
                "type": "path"
              },
              {
                "name": "type",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**CLI:**\n```bash\nagentmail pods:lists create --pod-id <pod_id> --direction <direction> --type <type> --entry user@example.com\n```"
        },
        {
          "info": {
            "name": "Get List Entry",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.agentmail.to/v0/pods/:pod_id/lists/:direction/:type/:entry",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "pod_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "direction",
                "value": "",
                "type": "path"
              },
              {
                "name": "type",
                "value": "",
                "type": "path"
              },
              {
                "name": "entry",
                "value": "",
                "type": "path",
                "description": "Email address or domain."
              }
            ]
          },
          "docs": "**CLI:**\n```bash\nagentmail pods:lists get --pod-id <pod_id> --direction <direction> --type <type> --entry <entry>\n```"
        },
        {
          "info": {
            "name": "Delete List Entry",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.agentmail.to/v0/pods/:pod_id/lists/:direction/:type/:entry",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "pod_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "direction",
                "value": "",
                "type": "path"
              },
              {
                "name": "type",
                "value": "",
                "type": "path"
              },
              {
                "name": "entry",
                "value": "",
                "type": "path",
                "description": "Email address or domain."
              }
            ]
          },
          "docs": "**CLI:**\n```bash\nagentmail pods:lists delete --pod-id <pod_id> --direction <direction> --type <type> --entry <entry>\n```"
        }
      ]
    }
  ],
  "bundled": true
}