Add a new filter
Changed onAdds a new filter, returns the ID upon success. Note that in the conditions JSON object only one first-level condition group is supported, and it must be glued with 'AND', and only two second level condition groups are supported of which one must be glued with 'AND' and the second with 'OR'. Other combinations do not work (yet) but the syntax supports introducing them in future. For more information, see the tutorial for <a href="https://pipedrive.readme.io/docs/adding-a-filter" target="_blank" rel="noopener noreferrer">adding a filter</a>.
Request
- Base URLhttps://api.pipedrive.com/v1
- Auth
- API key in header x-api-token
- or OAuth 2Authorization code: https://oauth.pipedrive.com/oauth/authorizeToken URL: https://oauth.pipedrive.com/oauth/token scopes: deals:full, activities:full, contacts:full
Query parameters
If set to true, each condition in the response includes a field_code field identifying the field by its code name
Request body
Response
Success
Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the
//response's property type changed fromintegerto no type for status - info
added the new optional
queryrequest parameterinclude_field_code - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added
subschema #1to the//response propertyallOflist for the response status
- breaking
- warning
added the new
projectsenum value to the//response property for the response status - info
added the new
projectsenum value to the request property/
- warning