List assets

GET {{baseUrl}}/marketing/v3/campaigns/:campaignGuid/assets/:assetType?after=<string>&limit=<string>&startDate=<string>&endDate=<string>

This endpoint lists all assets of the campaign by asset type. The assetType parameter is required, and each request can only fetch assets of a single type. Asset metrics can also be fetched along with the assets; they are available only if start and end dates are provided.

Request Params

KeyDatatypeRequiredDescription
afterstringA cursor for pagination. If provided, the results will start after the given cursor.
Example: NTI1Cg%3D%3D
limitstringThe maximum number of results to return.
Default: 10
startDatestringStart date to fetch asset metrics, formatted as YYYY-MM-DD. This date is used to fetch the metrics associated with the assets for a specified period.
If not provided, no asset metrics will be fetched.
endDatestringEnd date to fetch asset metrics, formatted as YYYY-MM-DD. This date is used to fetch the metrics associated with the assets for a specified period.
If not provided, no asset metrics will be fetched.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;metrics&quot;:{&quot;amet1&quot;:&quot;\u003cnumber\u003e&quot;,&quot;labore5b&quot;:&quot;\u003cnumber\u003e&quot;,&quot;pariatur92&quot;:&quot;\u003cnumber\u003e&quot;,&quot;ullamcob&quot;:&quot;\u003cnumber\u003e&quot;},&quot;name&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;metrics&quot;:{&quot;sunt_4&quot;:&quot;\u003cnumber\u003e&quot;,&quot;esse859&quot;:&quot;\u003cnumber\u003e&quot;},&quot;name&quot;:&quot;\u003cstring\u003e&quot;}],&quot;paging&quot;:{&quot;next&quot;:{&quot;after&quot;:&quot;\u003cstring\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;}}}