Prospects API Methods

Hide Prospects from the HubSpot UI

POST  /prospects/v1/filters

You can hide a prospect from the user interface by calling this method. This is useful, for example, if you think this prospect is irrelevant, an Internet Service Provider, or a similar type of unqualified organization.

Note that this just hides the prospect from the user interface. All the underlying data is still retained and tracked. This method does not delete any data.

Required Parameters How to use Description
HubSpot OAuth Access Token access_token=X - Used in the request URL The HubSpot API key for the portal that you're making the call for.
Organization &organization=X - Used in the request URL The organization name to hide.
Optional Parameters How to use Description
None None No optional parameters for this method.

Example URL:  https://api.hubapi.com/prospects/v1/filters?access_token=demooooo-oooo-oooo-oooo-oooooooooooo&organization=marriott

The response from this API call are standard REST-style HTTP response codes that mark success or failure, with meta information about the call that was made. There will be no data in the response body.

  • 204 No Content - when a setting is created or updated
  • 401 - When an unauthorized request is made
  • 500 - When an internal server error occurs