{
  "info": {
    "_postman_id": "8ef72a7a-2f3d-4dca-9961-b1b4bdbacb31",
    "name": "Pipedrive API v1 Activities Leads API",
    "description": "Activities are appointments/tasks/events on a calendar that can be associated with a deal, a lead, a person and an organization. Activities can be of different type (such as call, meeting, lunch or a custom type - see ActivityTypes object) and can be assigned to a particular user. Note that activities can also be created without a specific date/time.\n",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:37:28.000Z",
    "updatedAt": "2026-07-28T02:37:28.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-8ef72a7a-2f3d-4dca-9961-b1b4bdbacb31"
  },
  "item": [
    {
      "name": "leads",
      "item": [
        {
          "name": "archived",
          "item": [
            {
              "name": "Get all archived leads",
              "id": "de97d351-f5a5-49a0-a205-2fea98750523",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "x-api-token",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leads/archived?limit=<integer>&start=<integer>&owner_id=<integer>&person_id=<integer>&organization_id=<integer>&filter_id=<integer>&sort=id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads",
                    "archived"
                  ],
                  "query": [
                    {
                      "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.",
                      "key": "limit",
                      "value": "<integer>"
                    },
                    {
                      "description": "For pagination, the position that represents the first result for the page",
                      "key": "start",
                      "value": "<integer>"
                    },
                    {
                      "description": "If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.",
                      "key": "owner_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.",
                      "key": "person_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.",
                      "key": "organization_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "The ID of the filter to use",
                      "key": "filter_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).",
                      "key": "sort",
                      "value": "id"
                    }
                  ]
                },
                "description": "Returns multiple archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals.\n"
              },
              "response": [
                {
                  "id": "c992735d-cc2a-4ca0-a1a7-98449f707a40",
                  "name": "Successful response containing payload in the `data` field",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/leads/archived?limit=<integer>&start=<integer>&owner_id=<integer>&person_id=<integer>&organization_id=<integer>&filter_id=<integer>&sort=id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leads",
                        "archived"
                      ],
                      "query": [
                        {
                          "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.",
                          "key": "limit",
                          "value": "<integer>"
                        },
                        {
                          "description": "For pagination, the position that represents the first result for the page",
                          "key": "start",
                          "value": "<integer>"
                        },
                        {
                          "description": "If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.",
                          "key": "owner_id",
                          "value": "<integer>"
                        },
                        {
                          "description": "If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.",
                          "key": "person_id",
                          "value": "<integer>"
                        },
                        {
                          "description": "If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.",
                          "key": "organization_id",
                          "value": "<integer>"
                        },
                        {
                          "description": "The ID of the filter to use",
                          "key": "filter_id",
                          "value": "<integer>"
                        },
                        {
                          "description": "The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).",
                          "key": "sort",
                          "value": "id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": [\n    {\n      \"id\": \"<uuid>\",\n      \"title\": \"<string>\",\n      \"owner_id\": \"<integer>\",\n      \"creator_id\": \"<integer>\",\n      \"label_ids\": [\n        \"<uuid>\",\n        \"<uuid>\"\n      ],\n      \"person_id\": \"<integer>\",\n      \"organization_id\": \"<integer>\",\n      \"source_name\": \"<string>\",\n      \"origin\": \"<string>\",\n      \"origin_id\": \"<string>\",\n      \"channel\": \"<integer>\",\n      \"channel_id\": \"<string>\",\n      \"source_deal_id\": \"<integer>\",\n      \"is_archived\": \"<boolean>\",\n      \"was_seen\": \"<boolean>\",\n      \"value\": {\n        \"amount\": \"<number>\",\n        \"currency\": \"<string>\"\n      },\n      \"expected_close_date\": \"<date>\",\n      \"next_activity_id\": \"<integer>\",\n      \"add_time\": \"<dateTime>\",\n      \"update_time\": \"<dateTime>\",\n      \"visible_to\": \"5\",\n      \"cc_email\": \"<string>\"\n    },\n    {\n      \"id\": \"<uuid>\",\n      \"title\": \"<string>\",\n      \"owner_id\": \"<integer>\",\n      \"creator_id\": \"<integer>\",\n      \"label_ids\": [\n        \"<uuid>\",\n        \"<uuid>\"\n      ],\n      \"person_id\": \"<integer>\",\n      \"organization_id\": \"<integer>\",\n      \"source_name\": \"<string>\",\n      \"origin\": \"<string>\",\n      \"origin_id\": \"<string>\",\n      \"channel\": \"<integer>\",\n      \"channel_id\": \"<string>\",\n      \"source_deal_id\": \"<integer>\",\n      \"is_archived\": \"<boolean>\",\n      \"was_seen\": \"<boolean>\",\n      \"value\": {\n        \"amount\": \"<number>\",\n        \"currency\": \"<string>\"\n      },\n      \"expected_close_date\": \"<date>\",\n      \"next_activity_id\": \"<integer>\",\n      \"add_time\": \"<dateTime>\",\n      \"update_time\": \"<dateTime>\",\n      \"visible_to\": \"3\",\n      \"cc_email\": \"<string>\"\n    }\n  ],\n  \"additional_data\": {\n    \"start\": \"<integer>\",\n    \"limit\": \"<integer>\",\n    \"more_items_in_collection\": \"<boolean>\"\n  }\n}",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-c992735d-cc2a-4ca0-a1a7-98449f707a40"
                }
              ],
              "createdAt": "2026-07-28T02:37:29.000Z",
              "updatedAt": "2026-07-28T02:37:29.000Z",
              "uid": "35240-de97d351-f5a5-49a0-a205-2fea98750523"
            }
          ],
          "id": "2f342186-04ab-4a23-a8e6-8b7342819001",
          "createdAt": "2026-07-28T02:37:29.000Z",
          "updatedAt": "2026-07-28T02:37:29.000Z",
          "uid": "35240-2f342186-04ab-4a23-a8e6-8b7342819001"
        },
        {
          "name": "{id}",
          "item": [
            {
              "name": "permittedUsers",
              "item": [
                {
                  "name": "List permitted users",
                  "id": "e38389e9-8ab5-42b7-b9c6-4f3eb26346e1",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "x-api-token",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/leads/:id/permittedUsers",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leads",
                        ":id",
                        "permittedUsers"
                      ],
                      "variable": [
                        {
                          "id": "933b7858-ebaa-4b6b-895f-819e3b819769",
                          "key": "id",
                          "value": "<string>",
                          "description": "(Required) The ID of the lead"
                        }
                      ]
                    },
                    "description": "Lists the users permitted to access a lead."
                  },
                  "response": [
                    {
                      "id": "67101e95-c78f-4f67-b469-eca337789c5c",
                      "name": "Lists users permitted to access a lead",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "x-api-token",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/leads/:id/permittedUsers",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "leads",
                            ":id",
                            "permittedUsers"
                          ],
                          "variable": [
                            {
                              "key": "id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": [\n    \"<integer>\",\n    \"<integer>\"\n  ]\n}",
                      "createdAt": "2026-07-28T02:37:29.000Z",
                      "updatedAt": "2026-07-28T02:37:29.000Z",
                      "uid": "35240-67101e95-c78f-4f67-b469-eca337789c5c"
                    }
                  ],
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-e38389e9-8ab5-42b7-b9c6-4f3eb26346e1"
                }
              ],
              "id": "bcb127e4-2223-40c9-984d-7a7a5dd935ae",
              "createdAt": "2026-07-28T02:37:29.000Z",
              "updatedAt": "2026-07-28T02:37:29.000Z",
              "uid": "35240-bcb127e4-2223-40c9-984d-7a7a5dd935ae"
            },
            {
              "name": "convert",
              "item": [
                {
                  "name": "deal",
                  "item": [
                    {
                      "name": "Convert a lead to a deal",
                      "id": "a645d235-c9fe-4d81-9fc7-c0da4b6cce99",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "x-api-token",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"stage_id\": \"<integer>\",\n  \"pipeline_id\": \"<integer>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/leads/:id/convert/deal",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "leads",
                            ":id",
                            "convert",
                            "deal"
                          ],
                          "variable": [
                            {
                              "id": "b30c7863-9106-4e72-833d-5aa1231a6aa3",
                              "key": "id",
                              "value": "<uuid>",
                              "description": "(Required) The ID of the lead to convert"
                            }
                          ]
                        },
                        "description": "Initiates a conversion of a lead to a deal. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. If the conversion is successful, the lead is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Leads#getLeadConversionStatus\">/api/v2/leads/{lead_id}/convert/status/{conversion_id}</a> endpoint."
                      },
                      "response": [
                        {
                          "id": "778ffad8-3836-4f19-bcd1-af911d7cfecd",
                          "name": "Successful response containing payload in the `data` field",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "x-api-token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"stage_id\": \"<integer>\",\n  \"pipeline_id\": \"<integer>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/leads/:id/convert/deal",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "leads",
                                ":id",
                                "convert",
                                "deal"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"conversion_id\": \"<uuid>\"\n  },\n  \"additional_data\": {}\n}",
                          "createdAt": "2026-07-28T02:37:29.000Z",
                          "updatedAt": "2026-07-28T02:37:29.000Z",
                          "uid": "35240-778ffad8-3836-4f19-bcd1-af911d7cfecd"
                        },
                        {
                          "id": "be51553a-2ee9-4288-a92f-9cd6dff0bfaf",
                          "name": "A resource describing an error",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "x-api-token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"stage_id\": \"<integer>\",\n  \"pipeline_id\": \"<integer>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/leads/:id/convert/deal",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "leads",
                                ":id",
                                "convert",
                                "deal"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"success\": \"<boolean>\",\n  \"error\": \"<string>\",\n  \"error_info\": \"<string>\",\n  \"data\": {},\n  \"additional_data\": {}\n}",
                          "createdAt": "2026-07-28T02:37:29.000Z",
                          "updatedAt": "2026-07-28T02:37:29.000Z",
                          "uid": "35240-be51553a-2ee9-4288-a92f-9cd6dff0bfaf"
                        }
                      ],
                      "createdAt": "2026-07-28T02:37:29.000Z",
                      "updatedAt": "2026-07-28T02:37:29.000Z",
                      "uid": "35240-a645d235-c9fe-4d81-9fc7-c0da4b6cce99"
                    }
                  ],
                  "id": "8fed5862-a38b-4168-b52a-36c3abaf1a6d",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-8fed5862-a38b-4168-b52a-36c3abaf1a6d"
                },
                {
                  "name": "status",
                  "item": [
                    {
                      "name": "{conversion_id}",
                      "item": [
                        {
                          "name": "Get Lead conversion status",
                          "id": "8d713119-582f-4763-b074-88b5da921e35",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "apikey",
                              "apikey": [
                                {
                                  "key": "key",
                                  "value": "x-api-token",
                                  "type": "string"
                                },
                                {
                                  "key": "value",
                                  "value": "{{apiKey}}",
                                  "type": "string"
                                },
                                {
                                  "key": "in",
                                  "value": "header",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/leads/:id/convert/status/:conversion_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "leads",
                                ":id",
                                "convert",
                                "status",
                                ":conversion_id"
                              ],
                              "variable": [
                                {
                                  "id": "71e36787-36ea-4c7f-931e-6b3ce8902701",
                                  "key": "id",
                                  "value": "<uuid>",
                                  "description": "(Required) The ID of a lead"
                                },
                                {
                                  "id": "3c0e69ff-790a-4da0-933a-c4e62f7f38e9",
                                  "key": "conversion_id",
                                  "value": "<uuid>",
                                  "description": "(Required) The ID of the conversion"
                                }
                              ]
                            },
                            "description": "Returns data about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Deal ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days."
                          },
                          "response": [
                            {
                              "id": "f29a13ff-7478-4dfe-8956-62cd6f83cc82",
                              "name": "Successful response containing payload in the `data` field",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "x-api-token",
                                    "value": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/leads/:id/convert/status/:conversion_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "leads",
                                    ":id",
                                    "convert",
                                    "status",
                                    ":conversion_id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "id"
                                    },
                                    {
                                      "key": "conversion_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"conversion_id\": \"<uuid>\",\n    \"status\": \"completed\",\n    \"lead_id\": \"<uuid>\",\n    \"deal_id\": \"<integer>\"\n  },\n  \"additional_data\": {}\n}",
                              "createdAt": "2026-07-28T02:37:29.000Z",
                              "updatedAt": "2026-07-28T02:37:29.000Z",
                              "uid": "35240-f29a13ff-7478-4dfe-8956-62cd6f83cc82"
                            },
                            {
                              "id": "852927f1-b98a-466b-865a-7f21f3840d54",
                              "name": "A resource describing an error",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "x-api-token",
                                    "value": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/leads/:id/convert/status/:conversion_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "leads",
                                    ":id",
                                    "convert",
                                    "status",
                                    ":conversion_id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "id"
                                    },
                                    {
                                      "key": "conversion_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"success\": \"<boolean>\",\n  \"error\": \"<string>\",\n  \"error_info\": \"<string>\",\n  \"data\": {},\n  \"additional_data\": {}\n}",
                              "createdAt": "2026-07-28T02:37:29.000Z",
                              "updatedAt": "2026-07-28T02:37:29.000Z",
                              "uid": "35240-852927f1-b98a-466b-865a-7f21f3840d54"
                            }
                          ],
                          "createdAt": "2026-07-28T02:37:29.000Z",
                          "updatedAt": "2026-07-28T02:37:29.000Z",
                          "uid": "35240-8d713119-582f-4763-b074-88b5da921e35"
                        }
                      ],
                      "id": "4bb491b1-611f-47d8-9c2f-117dd1b2588b",
                      "createdAt": "2026-07-28T02:37:29.000Z",
                      "updatedAt": "2026-07-28T02:37:29.000Z",
                      "uid": "35240-4bb491b1-611f-47d8-9c2f-117dd1b2588b"
                    }
                  ],
                  "id": "afd7b8cf-7050-4d8d-aefe-b7537850ad47",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-afd7b8cf-7050-4d8d-aefe-b7537850ad47"
                }
              ],
              "id": "8fa5cebf-fff1-49ef-b387-e509549c0523",
              "createdAt": "2026-07-28T02:37:29.000Z",
              "updatedAt": "2026-07-28T02:37:29.000Z",
              "uid": "35240-8fa5cebf-fff1-49ef-b387-e509549c0523"
            },
            {
              "name": "Get one lead",
              "id": "b70cf1b1-9fa2-42e7-b18d-2ce68cad1d75",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "x-api-token",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leads/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads",
                    ":id"
                  ],
                  "variable": [
                    {
                      "id": "2d52e6ed-ee0f-4c4a-bb6e-fd3b203986fc",
                      "key": "id",
                      "value": "<uuid>",
                      "description": "(Required) The ID of the lead"
                    }
                  ]
                },
                "description": "Returns details of a specific lead. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\u2019 structure from deals."
              },
              "response": [
                {
                  "id": "6bb4cac4-9e5f-4e6e-b56c-8a70a1855911",
                  "name": "Successful response containing payload in the `data` field",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/leads/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leads",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<uuid>\",\n    \"title\": \"<string>\",\n    \"owner_id\": \"<integer>\",\n    \"creator_id\": \"<integer>\",\n    \"label_ids\": [\n      \"<uuid>\",\n      \"<uuid>\"\n    ],\n    \"person_id\": \"<integer>\",\n    \"organization_id\": \"<integer>\",\n    \"source_name\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"origin_id\": \"<string>\",\n    \"channel\": \"<integer>\",\n    \"channel_id\": \"<string>\",\n    \"source_deal_id\": \"<integer>\",\n    \"is_archived\": \"<boolean>\",\n    \"was_seen\": \"<boolean>\",\n    \"value\": {\n      \"amount\": \"<number>\",\n      \"currency\": \"<string>\"\n    },\n    \"expected_close_date\": \"<date>\",\n    \"next_activity_id\": \"<integer>\",\n    \"add_time\": \"<dateTime>\",\n    \"update_time\": \"<dateTime>\",\n    \"visible_to\": \"7\",\n    \"cc_email\": \"<string>\"\n  }\n}",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-6bb4cac4-9e5f-4e6e-b56c-8a70a1855911"
                },
                {
                  "id": "255184fe-2a7b-437f-9e9d-1ba7649b541b",
                  "name": "A resource describing an error",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/leads/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leads",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"error\": \"<string>\",\n  \"error_info\": \"<string>\",\n  \"data\": {},\n  \"additional_data\": {}\n}",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-255184fe-2a7b-437f-9e9d-1ba7649b541b"
                }
              ],
              "createdAt": "2026-07-28T02:37:29.000Z",
              "updatedAt": "2026-07-28T02:37:29.000Z",
              "uid": "35240-b70cf1b1-9fa2-42e7-b18d-2ce68cad1d75"
            },
            {
              "name": "Update a lead",
              "id": "4cd3b055-d1a1-43af-ad2b-c337b723af3e",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "x-api-token",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"<string>\",\n  \"owner_id\": \"<integer>\",\n  \"label_ids\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"person_id\": \"<integer>\",\n  \"organization_id\": \"<integer>\",\n  \"is_archived\": \"<boolean>\",\n  \"value\": {\n    \"amount\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"expected_close_date\": \"<date>\",\n  \"visible_to\": \"3\",\n  \"was_seen\": \"<boolean>\",\n  \"channel\": \"<integer>\",\n  \"channel_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/leads/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads",
                    ":id"
                  ],
                  "variable": [
                    {
                      "id": "db862f10-474a-4068-8f85-1234864b9393",
                      "key": "id",
                      "value": "<uuid>",
                      "description": "(Required) The ID of the lead"
                    }
                  ]
                },
                "description": "Updates one or more properties of a lead. Only properties included in the request will be updated. Send `null` to unset a property (applicable for example for `value`, `person_id` or `organization_id`). If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\u2019 structure from deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\u2019 values tutorial</a>."
              },
              "response": [
                {
                  "id": "b20765b9-e1a5-4fcd-ad4a-602b25f9e916",
                  "name": "Successful response containing payload in the `data` field",
                  "originalRequest": {
                    "method": "PATCH",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"title\": \"<string>\",\n  \"owner_id\": \"<integer>\",\n  \"label_ids\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"person_id\": \"<integer>\",\n  \"organization_id\": \"<integer>\",\n  \"is_archived\": \"<boolean>\",\n  \"value\": {\n    \"amount\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"expected_close_date\": \"<date>\",\n  \"visible_to\": \"3\",\n  \"was_seen\": \"<boolean>\",\n  \"channel\": \"<integer>\",\n  \"channel_id\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/leads/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leads",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<uuid>\",\n    \"title\": \"<string>\",\n    \"owner_id\": \"<integer>\",\n    \"creator_id\": \"<integer>\",\n    \"label_ids\": [\n      \"<uuid>\",\n      \"<uuid>\"\n    ],\n    \"person_id\": \"<integer>\",\n    \"organization_id\": \"<integer>\",\n    \"source_name\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"origin_id\": \"<string>\",\n    \"channel\": \"<integer>\",\n    \"channel_id\": \"<string>\",\n    \"source_deal_id\": \"<integer>\",\n    \"is_archived\": \"<boolean>\",\n    \"was_seen\": \"<boolean>\",\n    \"value\": {\n      \"amount\": \"<number>\",\n      \"currency\": \"<string>\"\n    },\n    \"expected_close_date\": \"<date>\",\n    \"next_activity_id\": \"<integer>\",\n    \"add_time\": \"<dateTime>\",\n    \"update_time\": \"<dateTime>\",\n    \"visible_to\": \"7\",\n    \"cc_email\": \"<string>\"\n  }\n}",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-b20765b9-e1a5-4fcd-ad4a-602b25f9e916"
                },
                {
                  "id": "ff0c3c2a-8d97-4d36-946d-096a4d235841",
                  "name": "A resource describing an error",
                  "originalRequest": {
                    "method": "PATCH",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"title\": \"<string>\",\n  \"owner_id\": \"<integer>\",\n  \"label_ids\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"person_id\": \"<integer>\",\n  \"organization_id\": \"<integer>\",\n  \"is_archived\": \"<boolean>\",\n  \"value\": {\n    \"amount\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"expected_close_date\": \"<date>\",\n  \"visible_to\": \"3\",\n  \"was_seen\": \"<boolean>\",\n  \"channel\": \"<integer>\",\n  \"channel_id\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/leads/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leads",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"error\": \"<string>\",\n  \"error_info\": \"<string>\",\n  \"data\": {},\n  \"additional_data\": {}\n}",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-ff0c3c2a-8d97-4d36-946d-096a4d235841"
                }
              ],
              "createdAt": "2026-07-28T02:37:29.000Z",
              "updatedAt": "2026-07-28T02:37:29.000Z",
              "uid": "35240-4cd3b055-d1a1-43af-ad2b-c337b723af3e"
            },
            {
              "name": "Delete a lead",
              "id": "1984bbc4-f36d-458e-bba9-3e07dd7d3779",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "x-api-token",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leads/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads",
                    ":id"
                  ],
                  "variable": [
                    {
                      "id": "0d250b13-720f-4e61-8d0e-3c447aa4c540",
                      "key": "id",
                      "value": "<uuid>",
                      "description": "(Required) The ID of the lead"
                    }
                  ]
                },
                "description": "Deletes a specific lead."
              },
              "response": [
                {
                  "id": "bb1eb53b-2064-49ce-ad71-b1e517969041",
                  "name": "Successful response with id value only. Used in DELETE calls.",
                  "originalRequest": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/leads/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leads",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<uuid>\"\n  }\n}",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-bb1eb53b-2064-49ce-ad71-b1e517969041"
                },
                {
                  "id": "20067a04-3f53-45e9-834f-df635706f1f3",
                  "name": "A resource describing an error",
                  "originalRequest": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/leads/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leads",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"error\": \"<string>\",\n  \"error_info\": \"<string>\",\n  \"data\": {},\n  \"additional_data\": {}\n}",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-20067a04-3f53-45e9-834f-df635706f1f3"
                }
              ],
              "createdAt": "2026-07-28T02:37:29.000Z",
              "updatedAt": "2026-07-28T02:37:29.000Z",
              "uid": "35240-1984bbc4-f36d-458e-bba9-3e07dd7d3779"
            }
          ],
          "id": "88a3d09a-0aba-4707-b8b0-5fd55d0fc704",
          "createdAt": "2026-07-28T02:37:29.000Z",
          "updatedAt": "2026-07-28T02:37:29.000Z",
          "uid": "35240-88a3d09a-0aba-4707-b8b0-5fd55d0fc704"
        },
        {
          "name": "search",
          "item": [
            {
              "name": "Search leads",
              "id": "9a271527-fc28-445a-8335-28594f869201",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "x-api-token",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leads/search?term=<string>&fields=notes&exact_match=<boolean>&person_id=<integer>&organization_id=<integer>&include_fields=lead.was_seen&start=0&limit=<integer>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads",
                    "search"
                  ],
                  "query": [
                    {
                      "description": "(Required) The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.",
                      "key": "term",
                      "value": "<string>"
                    },
                    {
                      "description": "A comma-separated string array. The fields to perform the search from. Defaults to all of them.",
                      "key": "fields",
                      "value": "notes"
                    },
                    {
                      "description": "When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.",
                      "key": "exact_match",
                      "value": "<boolean>"
                    },
                    {
                      "description": "Will filter leads by the provided person ID. The upper limit of found leads associated with the person is 2000.",
                      "key": "person_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "Will filter leads by the provided organization ID. The upper limit of found leads associated with the organization is 2000.",
                      "key": "organization_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "Supports including optional fields in the results which are not provided by default",
                      "key": "include_fields",
                      "value": "lead.was_seen"
                    },
                    {
                      "description": "Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.",
                      "key": "start",
                      "value": "0"
                    },
                    {
                      "description": "Items shown per page",
                      "key": "limit",
                      "value": "<integer>"
                    }
                  ]
                },
                "description": "Searches all leads by title, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found leads can be filtered by the person ID and the organization ID."
              },
              "response": [
                {
                  "id": "8f1b7379-15ba-4ec0-8662-5f63b110e080",
                  "name": "Success",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/leads/search?term=<string>&fields=notes&exact_match=<boolean>&person_id=<integer>&organization_id=<integer>&include_fields=lead.was_seen&start=0&limit=<integer>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leads",
                        "search"
                      ],
                      "query": [
                        {
                          "description": "(Required) The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.",
                          "key": "term",
                          "value": "<string>"
                        },
                        {
                          "description": "A comma-separated string array. The fields to perform the search from. Defaults to all of them.",
                          "key": "fields",
                          "value": "notes"
                        },
                        {
                          "description": "When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.",
                          "key": "exact_match",
                          "value": "<boolean>"
                        },
                        {
                          "description": "Will filter leads by the provided person ID. The upper limit of found leads associated with the person is 2000.",
                          "key": "person_id",
                          "value": "<integer>"
                        },
                        {
                          "description": "Will filter leads by the provided organization ID. The upper limit of found leads associated with the organization is 2000.",
                          "key": "organization_id",
                          "value": "<integer>"
                        },
                        {
                          "description": "Supports including optional fields in the results which are not provided by default",
                          "key": "include_fields",
                          "value": "lead.was_seen"
                        },
                        {
                          "description": "Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.",
                          "key": "start",
                          "value": "0"
                        },
                        {
                          "description": "Items shown per page",
                          "key": "limit",
                          "value": "<integer>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"items\": [\n      {\n        \"result_score\": \"<number>\",\n        \"item\": {\n          \"id\": \"<string>\",\n          \"type\": \"<string>\",\n          \"title\": \"<string>\",\n          \"owner\": {\n            \"id\": \"<integer>\"\n          },\n          \"person\": {\n            \"id\": \"<integer>\",\n            \"name\": \"<string>\"\n          },\n          \"organization\": {\n            \"id\": \"<integer>\",\n            \"name\": \"<string>\"\n          },\n          \"phones\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"emails\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"custom_fields\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"notes\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"value\": \"<integer>\",\n          \"currency\": \"<string>\",\n          \"visible_to\": \"<integer>\",\n          \"is_archived\": \"<boolean>\"\n        }\n      },\n      {\n        \"result_score\": \"<number>\",\n        \"item\": {\n          \"id\": \"<string>\",\n          \"type\": \"<string>\",\n          \"title\": \"<string>\",\n          \"owner\": {\n            \"id\": \"<integer>\"\n          },\n          \"person\": {\n            \"id\": \"<integer>\",\n            \"name\": \"<string>\"\n          },\n          \"organization\": {\n            \"id\": \"<integer>\",\n            \"name\": \"<string>\"\n          },\n          \"phones\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"emails\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"custom_fields\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"notes\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"value\": \"<integer>\",\n          \"currency\": \"<string>\",\n          \"visible_to\": \"<integer>\",\n          \"is_archived\": \"<boolean>\"\n        }\n      }\n    ]\n  },\n  \"additional_data\": {\n    \"pagination\": {\n      \"start\": \"<integer>\",\n      \"limit\": \"<integer>\",\n      \"more_items_in_collection\": \"<boolean>\",\n      \"next_start\": \"<integer>\"\n    }\n  }\n}",
                  "createdAt": "2026-07-28T02:37:29.000Z",
                  "updatedAt": "2026-07-28T02:37:29.000Z",
                  "uid": "35240-8f1b7379-15ba-4ec0-8662-5f63b110e080"
                }
              ],
              "createdAt": "2026-07-28T02:37:29.000Z",
              "updatedAt": "2026-07-28T02:37:29.000Z",
              "uid": "35240-9a271527-fc28-445a-8335-28594f869201"
            }
          ],
          "id": "38bc037a-b789-48a1-b887-b7a343aba036",
          "createdAt": "2026-07-28T02:37:29.000Z",
          "updatedAt": "2026-07-28T02:37:29.000Z",
          "uid": "35240-38bc037a-b789-48a1-b887-b7a343aba036"
        },
        {
          "name": "Get all leads",
          "id": "68eefb98-19de-4200-81b9-f5dbe0761d52",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-token",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/leads?limit=<integer>&start=<integer>&owner_id=<integer>&person_id=<integer>&organization_id=<integer>&filter_id=<integer>&updated_since=<string>&sort=id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "leads"
              ],
              "query": [
                {
                  "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.",
                  "key": "limit",
                  "value": "<integer>"
                },
                {
                  "description": "For pagination, the position that represents the first result for the page",
                  "key": "start",
                  "value": "<integer>"
                },
                {
                  "description": "If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.",
                  "key": "owner_id",
                  "value": "<integer>"
                },
                {
                  "description": "If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.",
                  "key": "person_id",
                  "value": "<integer>"
                },
                {
                  "description": "If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.",
                  "key": "organization_id",
                  "value": "<integer>"
                },
                {
                  "description": "The ID of the filter to use",
                  "key": "filter_id",
                  "value": "<integer>"
                },
                {
                  "description": "If set, only leads with an `update_time` later than or equal to this time are returned. In ISO 8601 format, e.g. 2025-01-01T10:20:00Z.",
                  "key": "updated_since",
                  "value": "<string>"
                },
                {
                  "description": "The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).",
                  "key": "sort",
                  "value": "id"
                }
              ]
            },
            "description": "Returns multiple not archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals.\n"
          },
          "response": [
            {
              "id": "db7f8637-aef6-4834-ab9b-3ca95d253a57",
              "name": "Successful response containing payload in the `data` field",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "x-api-token",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leads?limit=<integer>&start=<integer>&owner_id=<integer>&person_id=<integer>&organization_id=<integer>&filter_id=<integer>&updated_since=<string>&sort=id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads"
                  ],
                  "query": [
                    {
                      "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.",
                      "key": "limit",
                      "value": "<integer>"
                    },
                    {
                      "description": "For pagination, the position that represents the first result for the page",
                      "key": "start",
                      "value": "<integer>"
                    },
                    {
                      "description": "If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.",
                      "key": "owner_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.",
                      "key": "person_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.",
                      "key": "organization_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "The ID of the filter to use",
                      "key": "filter_id",
                      "value": "<integer>"
                    },
                    {
                      "description": "If set, only leads with an `update_time` later than or equal to this time are returned. In ISO 8601 format, e.g. 2025-01-01T10:20:00Z.",
                      "key": "updated_since",
                      "value": "<string>"
                    },
                    {
                      "description": "The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).",
                      "key": "sort",
                      "value": "id"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": [\n    {\n      \"id\": \"<uuid>\",\n      \"title\": \"<string>\",\n      \"owner_id\": \"<integer>\",\n      \"creator_id\": \"<integer>\",\n      \"label_ids\": [\n        \"<uuid>\",\n        \"<uuid>\"\n      ],\n      \"person_id\": \"<integer>\",\n      \"organization_id\": \"<integer>\",\n      \"source_name\": \"<string>\",\n      \"origin\": \"<string>\",\n      \"origin_id\": \"<string>\",\n      \"channel\": \"<integer>\",\n      \"channel_id\": \"<string>\",\n      \"source_deal_id\": \"<integer>\",\n      \"is_archived\": \"<boolean>\",\n      \"was_seen\": \"<boolean>\",\n      \"value\": {\n        \"amount\": \"<number>\",\n        \"currency\": \"<string>\"\n      },\n      \"expected_close_date\": \"<date>\",\n      \"next_activity_id\": \"<integer>\",\n      \"add_time\": \"<dateTime>\",\n      \"update_time\": \"<dateTime>\",\n      \"visible_to\": \"5\",\n      \"cc_email\": \"<string>\"\n    },\n    {\n      \"id\": \"<uuid>\",\n      \"title\": \"<string>\",\n      \"owner_id\": \"<integer>\",\n      \"creator_id\": \"<integer>\",\n      \"label_ids\": [\n        \"<uuid>\",\n        \"<uuid>\"\n      ],\n      \"person_id\": \"<integer>\",\n      \"organization_id\": \"<integer>\",\n      \"source_name\": \"<string>\",\n      \"origin\": \"<string>\",\n      \"origin_id\": \"<string>\",\n      \"channel\": \"<integer>\",\n      \"channel_id\": \"<string>\",\n      \"source_deal_id\": \"<integer>\",\n      \"is_archived\": \"<boolean>\",\n      \"was_seen\": \"<boolean>\",\n      \"value\": {\n        \"amount\": \"<number>\",\n        \"currency\": \"<string>\"\n      },\n      \"expected_close_date\": \"<date>\",\n      \"next_activity_id\": \"<integer>\",\n      \"add_time\": \"<dateTime>\",\n      \"update_time\": \"<dateTime>\",\n      \"visible_to\": \"3\",\n      \"cc_email\": \"<string>\"\n    }\n  ],\n  \"additional_data\": {\n    \"start\": \"<integer>\",\n    \"limit\": \"<integer>\",\n    \"more_items_in_collection\": \"<boolean>\"\n  }\n}",
              "createdAt": "2026-07-28T02:37:29.000Z",
              "updatedAt": "2026-07-28T02:37:29.000Z",
              "uid": "35240-db7f8637-aef6-4834-ab9b-3ca95d253a57"
            }
          ],
          "createdAt": "2026-07-28T02:37:29.000Z",
          "updatedAt": "2026-07-28T02:37:29.000Z",
          "uid": "35240-68eefb98-19de-4200-81b9-f5dbe0761d52"
        },
        {
          "name": "Add a lead",
          "id": "fcad7f33-96f6-41f0-86f8-f8a9e348e57a",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-token",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"<string>\",\n  \"owner_id\": \"<integer>\",\n  \"label_ids\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"person_id\": \"<integer>\",\n  \"organization_id\": \"<integer>\",\n  \"value\": {\n    \"amount\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"expected_close_date\": \"<date>\",\n  \"visible_to\": \"1\",\n  \"was_seen\": \"<boolean>\",\n  \"origin_id\": \"<string>\",\n  \"channel\": \"<integer>\",\n  \"channel_id\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/leads",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "leads"
              ]
            },
            "description": "Creates a lead. A lead always has to be linked to a person or an organization or both. All leads created through the Pipedrive API will have a lead source and origin set to `API`. Here's the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-lead\" target=\"_blank\" rel=\"noopener noreferrer\">adding a lead</a>. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields' values tutorial</a>."
          },
          "response": [
            {
              "id": "3795b2a5-6ad2-4ac6-9556-84485439b0f5",
              "name": "Successful response containing payload in the `data` field",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "x-api-token",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"<string>\",\n  \"owner_id\": \"<integer>\",\n  \"label_ids\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"person_id\": \"<integer>\",\n  \"organization_id\": \"<integer>\",\n  \"value\": {\n    \"amount\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"expected_close_date\": \"<date>\",\n  \"visible_to\": \"1\",\n  \"was_seen\": \"<boolean>\",\n  \"origin_id\": \"<string>\",\n  \"channel\": \"<integer>\",\n  \"channel_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/leads",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads"
                  ]
                }
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<uuid>\",\n    \"title\": \"<string>\",\n    \"owner_id\": \"<integer>\",\n    \"creator_id\": \"<integer>\",\n    \"label_ids\": [\n      \"<uuid>\",\n      \"<uuid>\"\n    ],\n    \"person_id\": \"<integer>\",\n    \"organization_id\": \"<integer>\",\n    \"source_name\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"origin_id\": \"<string>\",\n    \"channel\": \"<integer>\",\n    \"channel_id\": \"<string>\",\n    \"source_deal_id\": \"<integer>\",\n    \"is_archived\": \"<boolean>\",\n    \"was_seen\": \"<boolean>\",\n    \"value\": {\n      \"amount\": \"<number>\",\n      \"currency\": \"<string>\"\n    },\n    \"expected_close_date\": \"<date>\",\n    \"next_activity_id\": \"<integer>\",\n    \"add_time\": \"<dateTime>\",\n    \"update_time\": \"<dateTime>\",\n    \"visible_to\": \"7\",\n    \"cc_email\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T02:37:29.000Z",
              "updatedAt": "2026-07-28T02:37:29.000Z",
              "uid": "35240-3795b2a5-6ad2-4ac6-9556-84485439b0f5"
            }
          ],
          "createdAt": "2026-07-28T02:37:29.000Z",
          "updatedAt": "2026-07-28T02:37:29.000Z",
          "uid": "35240-fcad7f33-96f6-41f0-86f8-f8a9e348e57a"
        }
      ],
      "id": "9759b767-5f6f-44cf-ac7c-f8fb644094cb",
      "createdAt": "2026-07-28T02:37:29.000Z",
      "updatedAt": "2026-07-28T02:37:29.000Z",
      "uid": "35240-9759b767-5f6f-44cf-ac7c-f8fb644094cb"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.pipedrive.com/v1"
    }
  ]
}