Filtering API output

Use this procedure to specify filter conditions for your API request. When you create an API request, you can create filters to limit the content that is returned. Filter criteria are specific to the data event type that you select for your request.

Procedure

  1. Click API > API Feeds.
  2. Open an existing API feed, or click Create New API Feed.
  3. On the API feed configuration page, after you select the data fields that you want returned by the API request, click the Add a filter condition link.
  4. Add at least one criterion for filtering your API data request.
  5. After you finish specifying your filter criteria, click Save for saved feeds, or click Generate API URL for non-saved API requests. The resulting API URL includes only data that satisfies your filter criteria. When you edit saved API feeds, filter conditions are reset when you select a new data event type. However, your changes are not saved until you click Save.