{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nylas API (v3)",
    "version": "3.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Auth",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a custom authentication grant",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.us.nylas.com/v3/connect/custom"
          },
          "docs": "Create a custom authentication grant"
        },
        {
          "info": {
            "name": "Begin hosted OAuth authentication",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/connect/auth"
          },
          "docs": "Begin hosted OAuth authentication"
        },
        {
          "info": {
            "name": "Exchange an authorization code for tokens",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.us.nylas.com/v3/connect/token"
          },
          "docs": "Exchange an authorization code for tokens"
        }
      ]
    },
    {
      "info": {
        "name": "Grants",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List grants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/grants"
          },
          "docs": "List grants"
        },
        {
          "info": {
            "name": "Retrieve a grant",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a grant"
        },
        {
          "info": {
            "name": "Delete a grant",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a grant"
        }
      ]
    },
    {
      "info": {
        "name": "Messages",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List messages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id/messages",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List messages"
        },
        {
          "info": {
            "name": "Send a message",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id/messages",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Send a message"
        }
      ]
    },
    {
      "info": {
        "name": "Threads",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List threads",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id/threads",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List threads"
        }
      ]
    },
    {
      "info": {
        "name": "Drafts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List drafts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id/drafts",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List drafts"
        },
        {
          "info": {
            "name": "Create a draft",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id/drafts",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a draft"
        }
      ]
    },
    {
      "info": {
        "name": "Calendars",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List calendars",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id/calendars",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List calendars"
        }
      ]
    },
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id/events",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List events"
        },
        {
          "info": {
            "name": "Create an event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id/events",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create an event"
        }
      ]
    },
    {
      "info": {
        "name": "Contacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List contacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/grants/:grant_id/contacts",
            "params": [
              {
                "name": "grant_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List contacts"
        }
      ]
    },
    {
      "info": {
        "name": "Scheduling",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List scheduling configurations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/scheduling/configurations"
          },
          "docs": "List scheduling configurations"
        },
        {
          "info": {
            "name": "List scheduler bookings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/scheduling/bookings"
          },
          "docs": "List scheduler bookings"
        },
        {
          "info": {
            "name": "Query availability",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.us.nylas.com/v3/scheduling/availability"
          },
          "docs": "Query availability"
        }
      ]
    },
    {
      "info": {
        "name": "Admin",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve application details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/applications"
          },
          "docs": "Retrieve application details"
        },
        {
          "info": {
            "name": "List provider connectors",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/connectors"
          },
          "docs": "List provider connectors"
        },
        {
          "info": {
            "name": "List webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.us.nylas.com/v3/webhooks"
          },
          "docs": "List webhooks"
        },
        {
          "info": {
            "name": "Create a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.us.nylas.com/v3/webhooks"
          },
          "docs": "Create a webhook"
        }
      ]
    }
  ],
  "bundled": true
}