{
  "opencollection": "1.0.0",
  "info": {
    "name": "Aptly App Users API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-token",
      "value": "{{x-token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://core-api.getaptly.com/api/users",
            "auth": {
              "type": "apikey",
              "key": "x-token",
              "value": "{{x-token}}",
              "placement": "header"
            }
          },
          "docs": "Returns all non-archived users for the API key's company.\n"
        },
        {
          "info": {
            "name": "List a user's email inboxes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://core-api.getaptly.com/api/users/:userId/inboxes",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The user's ID."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-token",
              "value": "{{x-token}}",
              "placement": "header"
            }
          },
          "docs": "Returns the email inboxes (Hermes/Nylas channels) accessible to the given user\nwithin your company. Includes personal inboxes (where the user is a direct member)\nand shared inboxes the user can access via team membership.\n\nEach inbox is tagged `kind: \"personal\"` (`isShared` is false and the user is in the\nchannel's `userIds`) or `kind: \"shared\"` (channel marked `isShared`, or accessible\nonly through a team membership).\n\nThe user must belong to the company associated with your API key. Returns `4"
        }
      ]
    }
  ],
  "bundled": true
}