{
  "opencollection": "1.0.0",
  "info": {
    "name": "Aptly App Inboxes API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-token",
      "value": "{{x-token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Inboxes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List unsent drafts on an inbox",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://core-api.getaptly.com/api/inboxes/:channelId/drafts",
            "params": [
              {
                "name": "channelId",
                "value": "",
                "type": "path",
                "description": "External channel meta ID (`meta.id`) of the inbox."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-token",
              "value": "{{x-token}}",
              "placement": "header"
            }
          },
          "docs": "Returns the unsent drafts on the given email inbox. The inbox is identified\nby its `channelId` — the same value returned as `channelId` from\n`GET /api/users/{userId}/inboxes`.\n\nEach item in the response is a draft entry with the parent discussion's\n`streamId` attached. Drafts currently in the process of sending (after\n`POST /api/email/send` was called and before the upstream provider accepts\nthe message) are excluded.\n\nWith API-key auth the only scope check is that the inbox belongs to your\ncomp"
        }
      ]
    }
  ],
  "bundled": true
}