Marketing API
Assets
List All Assets
This API endpoint (GET) retrieves all your assets. The response is paginated; therefore, you should use the 'page' parameter for navigating through the results in subsequent requests. On successful completion, it returns an array of Asset Objects the number of available results and the flags used for filtering.
Permissions: assets.view
page * Fetch the results from a specific page. It defaults to 1.
per_page * The number of results to fetch per page. The maximum is 2000 and if it defaults to 50.
filter Optional text used for filtering subscribers by filename, extension and type.
folders The possible value is true. If provided it returns all assets with type folder.
files The possible value is true. If provided it returns all assets except folders.
product_id The id of a product to use for filtering. If provided, it will return the assets that are associated with this product.
folder_id The id of a folder asset to use for filtering. If provided, it will return the assets that are located in the folder.