2
If you are able to use the REST API, you should be able to collect this information through the following endpoint:
GET /interaction/v1/interactions/{{journeyId}}
Host: {{mySubDomain}}.rest.marketingcloudapis.com
Content-Type: application/json
Authorization: Bearer {{authToken}}
This endpoint will return all the activities and other correlating information ...
1
There are no Cloud Page API endpoints. You can interact to a degree via the Content Builder Asset REST API, but not beyond just the content part (raw with AMPscript/SSJS - not rendered). There are 'internal' endpoints that are used in the UI, but we, as end users, do not have token authorization to use these endpoints.
What you can do instead is do an HTTP ...
1
In your code, you are not looping over the result set return by InvokeRetrieve. Also if you are filtering your result based on the triggered send customer key, it will give you the single triggered send name matching the filter criteria. Below is the code that I modified for you.
%%[var @ret, @filter, @status, @rr
Set @ret = CreateObject("...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
ssjs × 653marketing-cloud × 608
ampscript × 209
dataextensions × 70
automationstudio × 66
cloudpage × 55
javascript × 49
api × 38
soap-api × 38
rest-api × 27
landing-page × 21
json × 20
marketingcloudapi × 20
email × 19
automation × 17
journeybuilder × 14
content-builder × 10
sql × 9
httprequest × 9
wsproxy × 9
triggered-send × 8
microsites × 8
html × 7
subscriber × 7
httppost × 7