{
  "opencollection": "1.0.0",
  "info": {
    "name": "SmartMoving Open Customers Leads API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Leads",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List leads",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smartmoving.com/api/leads",
            "params": [
              {
                "name": "Page",
                "value": "",
                "type": "query",
                "description": "1-based page number."
              },
              {
                "name": "PageSize",
                "value": "",
                "type": "query",
                "description": "Number of records per page."
              }
            ]
          },
          "docs": "Lists leads in the account with pagination."
        },
        {
          "info": {
            "name": "Retrieve a lead",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smartmoving.com/api/leads/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The record identifier (GUID)."
              }
            ]
          },
          "docs": "Retrieves a single lead by ID."
        },
        {
          "info": {
            "name": "List lead statuses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smartmoving.com/api/leads/statuses"
          },
          "docs": "Lists the lead statuses configured for the account."
        },
        {
          "info": {
            "name": "List leads by salesperson (Premium)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smartmoving.com/api/leads/salesperson/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The record identifier (GUID)."
              }
            ]
          },
          "docs": "Lists leads assigned to a given salesperson (user). Requires the Premium tier."
        }
      ]
    }
  ],
  "bundled": true
}