{ "opencollection": "1.0.0", "info": { "name": "Pipedrive API v1 Activities ItemSearch API", "version": "1.0.0" }, "items": [ { "info": { "name": "ItemSearch", "type": "folder" }, "items": [ { "info": { "name": "Perform a search from multiple item types", "type": "http" }, "http": { "method": "GET", "url": "https://api.pipedrive.com/v1/itemSearch", "params": [ { "name": "term", "value": "", "type": "query", "description": "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." }, { "name": "item_types", "value": "", "type": "query", "description": "A comma-separated string array. The type of items to perform the search from. Defaults to all." }, { "name": "fields", "value": "", "type": "query", "description": "A comma-separated string array. The fields to perform the search from. Defaults to all. Relevant for each item type are:
Item typeField
Deal`custom_fields`, `notes`, `title`
Person`custom_fields`, `email`, `name`, `notes`, `phone`
Organization`address`, `custom_fields`, `name`, `notes`
Product`code`, `custom_fields`, `name`
Lead`custom_fields`, `notes`, `title`
File`name`
Mail attachment`name`
Project `custom_fields`, `notes`, `title`, `description`

Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields here." }, { "name": "search_for_related_items", "value": "", "type": "query", "description": "When enabled, the response will include up to 100 newest related leads and 100 newest related deals for each found person and organization and up to 100 newest related persons for each found organization" }, { "name": "exact_match", "value": "", "type": "query", "description": "When enabled, only full exact matches against the given term are returned. It is not case sensitive." }, { "name": "include_fields", "value": "", "type": "query", "description": "A comma-separated string array. Supports including optional fields in the results which are not provided by default." }, { "name": "limit", "value": "", "type": "query", "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 100 is allowed." }, { "name": "cursor", "value": "", "type": "query", "description": "For pagination, the marker (an opaque string value) representing the first item on the next page" } ], "auth": { "type": "apikey", "key": "x-api-token", "value": "{{x-api-token}}", "placement": "header" } }, "docs": "Performs a search from your choice of item types and fields." }, { "info": { "name": "Perform a search using a specific field from an item type", "type": "http" }, "http": { "method": "GET", "url": "https://api.pipedrive.com/v1/itemSearch/field", "params": [ { "name": "term", "value": "", "type": "query", "description": "The search term to look for. Minimum 2 characters (or 1 if `match` is `exact`). Please note that the search term has to be URL encoded." }, { "name": "entity_type", "value": "", "type": "query", "description": "The type of the field to perform the search from" }, { "name": "match", "value": "", "type": "query", "description": "The type of match used against the term. The search is case sensitive.

E.g. in case of searching for a value `monkey`, ." }, { "name": "field", "value": "", "type": "query", "description": "The key of the field to search from. The field key can be obtained by fetching the list of the fields using any of the fields' API GET methods (dealFields, personFields, etc.). Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields here." }, { "name": "limit", "value": "", "type": "query", "description": "For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed." }, { "name": "cursor", "value": "", "type": "query", "description": "For pagination, the marker (an opaque string value) representing the first item on the next page" } ], "auth": { "type": "apikey", "key": "x-api-token", "value": "{{x-api-token}}", "placement": "header" } }, "docs": "Performs a search from the values of a specific field. Results can either be the distinct values of the field (useful for searching autocomplete field values), or the IDs of actual items (deals, leads, persons, organizations or products)." } ] } ], "bundled": true }