{
  "opencollection": "1.0.0",
  "info": {
    "name": "Pipedrive API v1 Activities LeadLabels API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "LeadLabels",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all lead labels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pipedrive.com/v1/leadLabels",
            "auth": {
              "type": "apikey",
              "key": "x-api-token",
              "value": "{{x-api-token}}",
              "placement": "header"
            }
          },
          "docs": "Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned."
        },
        {
          "info": {
            "name": "Add a lead label",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.pipedrive.com/v1/leadLabels",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-api-token",
              "value": "{{x-api-token}}",
              "placement": "header"
            }
          },
          "docs": "Creates a lead label."
        },
        {
          "info": {
            "name": "Update a lead label",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.pipedrive.com/v1/leadLabels/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the lead label"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-api-token",
              "value": "{{x-api-token}}",
              "placement": "header"
            }
          },
          "docs": "Updates one or more properties of a lead label. Only properties included in the request will be updated.\n"
        },
        {
          "info": {
            "name": "Delete a lead label",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.pipedrive.com/v1/leadLabels/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the lead label"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-api-token",
              "value": "{{x-api-token}}",
              "placement": "header"
            }
          },
          "docs": "Deletes a specific lead label."
        }
      ]
    }
  ],
  "bundled": true
}