{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ally Invest Accounts Watchlists API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Watchlists",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all watchlists",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ally.com/v1/watchlists.json",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns all watchlists associated with the authenticated member account."
        },
        {
          "info": {
            "name": "Create a watchlist",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ally.com/v1/watchlists.json",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new watchlist with optional initial symbols for the authenticated member."
        },
        {
          "info": {
            "name": "Get a specific watchlist",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ally.com/v1/watchlists/:id.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The watchlist ID (name)"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns details and symbols for a specific watchlist."
        },
        {
          "info": {
            "name": "Delete a watchlist",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.ally.com/v1/watchlists/:id.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The watchlist ID (name)"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Deletes a specific watchlist by ID."
        },
        {
          "info": {
            "name": "Add symbols to a watchlist",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ally.com/v1/watchlists/:id/symbols.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The watchlist ID (name)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Adds one or more ticker symbols to an existing watchlist."
        },
        {
          "info": {
            "name": "Remove symbols from a watchlist",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.ally.com/v1/watchlists/:id/symbols.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The watchlist ID (name)"
              },
              {
                "name": "symbols",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of symbols to remove"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Removes one or more ticker symbols from an existing watchlist."
        }
      ]
    }
  ],
  "bundled": true
}