UGC Techdocs
  • Introduction
  • Guides
    • Analytics
      • Tracking UGC on Adobe Analytics
      • Tracking Widget interactions with Google Analytics
    • Direct Uploader
      • How to add Custom Data to Direct Uploader
      • How to capture Custom Data on Direct Uploader
      • How to automatically tag data on Direct Uploader
      • How to Customize error messages on Direct Uploader
      • How to Track Direct Uploader form submissions with Google Analytics (Universal & GA 4)
    • Data Templates
      • Creating a Data Template
    • Rights via Registration
      • Capture Custom Data on Rights by Registration Form
      • Styling Rights via Registration Form
    • REST API
      • Caching REST API results for optimization
      • Posting content into Nosto via Tile API
      • Posting images into Nosto via Tile API
    • Onsite Widgets (2.0)
      • Blank Canvas
        • How to Use the Blank Canvas to Create a Twitter Count Widget
        • Creating an Auto-Scrolling Carousel using Blank Canvas
        • Creating Gallery Widget by Using the Blank Canvas Widget
        • Creating a simple Hover effect using Blank Canvas
        • Creating a Word Cloud using Blank Canvas
        • Creating Your Widget by Using the Blank Canvas
      • Bind your own Events
      • Creating a Grid Widget from Waterfall
      • Create a Q&A Widget using Data Templates
      • Displaying a Widget in a Mobile App
      • Dynamically Specify Products to Display in Widget
      • Dynamically specify what Tile to display in a Widget
      • How to add a title / subtitle to a widget
      • How to localize the load more button on widgets
      • How to overlay existing Google Map with the UGC Map Widget
      • How to use Filter and search in a Widget
      • How to change click on inline tile behaviour to redirect to PDP in a Widget
      • Styling cross-sellers on Grid and Carousel Widgets
      • How to Load External JS and CSS into Widgets
      • Profiling Widget Performance
      • Re-targeting with Widgets and Facebook Pixel
      • Render Widget filters dynamically
      • Styling Carousel Widget
      • Styling Grid Widget
      • Styling Masonry Widget
      • Styling Waterfall Widget
      • Styling Widget Expanded Tile
      • Styling Widget Shopspots
      • Using Web Fonts in Widgets
    • Digital Screens
      • Customizing Carousel Event Screen
      • Customizing Mosaic Event Screen
      • Customizing Scrollwall Event Screen
      • Customizing the Mosaic Event Screen to Have 9 Even Tiles
    • Email
      • Adding Location to an Email Tile
      • Styling the Email Widget
    • Integrations
      • DoubleClick
        • UGC Ads with Nosto and Google DoubleClick
      • Zapier
        • Consuming UGC Webhooks via Zapier
      • Mailchimp
        • Bring Social Content into a Mailchimp Campaign
    • Webhooks
      • Trigger notifications when content is in the moderation queue
  • Widgets
  • API Docs
    • JavaScript API
      • Widgets
        • Introduction
        • API Reference for Content Widgets
        • API Reference for Blank Canvas
        • API Reference for Map Widget
      • Digital Screens
        • Introduction
        • API Reference
    • Content API
      • Reference
    • REST API
      • Reference
        • Filters API
        • Moderation Views API
        • Tags API
        • Terms API
        • Tiles API
        • Users API
        • Widgets API
        • Automation Rules API
        • REST API Reference Widgets style and config
      • Best Practices
    • Webhooks
  • Enterprise Tools
    • Automation Rules
      • Triggers
      • Actions
      • Samples
    • Data Templates
    • User Access Control (UAC)
    • Single Sign On (SSO)
    • Enterprise Admin User Interface (EAUI)
    • Zapier
  • Commerce Tools
    • Product Feeds
    • Widget Implementation
    • Reporting
    • Integrations
      • Google Tag Manager
      • Magento
      • SalesForce Commerce Cloud
      • Shopify
      • Shopify Add To Cart
        • Global Variant Mapping for Add to Cart
        • Customise Add to Cart Widget Experience
  • Analytics
    • Google Analytics 4
      • Getting Started
      • Widgets Events
      • E-commerce Events
      • Email Events
  • Terms of Use
Powered by GitBook
On this page
  • Filters
  • Properties
  • GET filters
  • POST filters
  • GET filters/:filterId
  • GET filters/:filterId/content
  • GET filters/:filterId/summaries
  • PUT filters/:filterId
  • DELETE filters/:filterId

Was this helpful?

  1. API Docs
  2. REST API
  3. Reference

Filters API

PreviousReferenceNextModeration Views API

Was this helpful?

Filters

A Filter is a query for UGC Tile content that was ingested from a particular Network, contains a particular Tag, and/or is of a particular Medium. To retrieve a stream of content you can do so using the Filters endpoint.

Properties

Field
Type
Supported Values
POST
PUT
Definition

id

integer

-

✔

X

Unique id for filter

name

string

-

✔

✔

post: Required Filter name

sort

string

source_created_at_desc score_desc votes

✔

✔

Sorting type

networks

array

twitter facebook instagram youtube gplus flickr pinterest tumblr rss ecal sta_feed weibo

✔

✔

array of network(s) for filtering rule

tags

array

-

✔

✔

Array of tags' id for filtering rule

media

array

text image video html

✔

✔

Array of media(s) for filtering rule

GET filters

Retrieves all filters available in the Stack.

Resource URL

https://api.stackla.com/api/filters

Resource Details

Rate limited: Yes

Access scope: User

Request Parameters

Name
Mandatory
Request type
Description

page

No

query

Page number. Default value is 1

limit

No

query

Return limit define how many Filters will be return for each request. Default is 25. Maximum limit is 100.

POST filters

Creates a new Filter in the Stack.

Resource URL

https://api.stackla.com/api/filters

Resource Details

Rate limited: Yes

Access scope: User

Request Parameters

No additional request parameters are available.

GET filters/:filterId

Retrieves a specific Filter available in the Stack by its ID.

Resource URL

https://api.stackla.com/api/filters/:filterId

Resource Details

Rate limited: Yes

Access scope: User

Request Parameters

Name
Mandatory
Request type
Description

filterId

Yes

Request type

ID of the Filter

GET filters/:filterId/content

Retrieves tile content of a specific Filter by its ID.

Resource URL

https://api.stackla.com/api/filters/:filterId/content

Resource Details

Rate limited: Yes

Access scope: User

Request Parameters

Name
Mandatory
Request type
Description

filterId

Yes

endpoint

ID of the Filter

since_id

No

query

Return results with an ID greater than (more recent than) the specified ID

status

No

query

Returns tiles with a moderation status. By default, is field is not set only Published tiles are returned

Example Values: published, queued, disabled

GET filters/:filterId/summaries

Retrieves aggregated data of a specific Filter by its ID.

Resource URL

https://api.stackla.com/api/filters/:filterId

Resource Details

Rate limited: Yes

Access scope: User

Request Parameters

Name
Mandatory
Request type
Description

filterId

Yes

endpoint

ID of the Filter

aggregated_by

No

query

Default or geohash (beta), geohash returns aggregated data grouped by geohashes for geotagged tiles.

PUT filters/:filterId

Updates a specific Filter available in the Stack by its ID.

Resource URL

https://api.stackla.com/api/filters/:filterId

Resource Details

Rate limited: Yes

Access scope: User

Request Parameters

Name
Mandatory
Request type
Description

filterId

Yes

endpoint

ID of the Filter

DELETE filters/:filterId

Deletes a specific Filter available in the Stack by its ID.

Resource URL

https://api.stackla.com/api/filters/:filterId

Resource Details

Rate limited: Yes

Access scope: User

Request Parameters

Name
Mandatory
Request type
Description

filterId

Yes

endpoint

ID of the Filter

Properties
GET /api/filters
POST /api/filters
GET /api/filters/:filterId
GET /api/filters/:filterId/content
GET /api/filters/:filterId/summaries
PUT /api/filters/:filterId
DELETE /api/filters/:filterId
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top