Fetching the activity URL using the API | Community
Skip to main content
miahi
New Participant
May 2, 2024
Question

Fetching the activity URL using the API

  • May 2, 2024
  • 1 reply
  • 865 views

We have a requirement to notify authors if their experiences are rendered properly. To achieve this, we need to retrieve the activity location (URL) to incorporate it into a Puppeteer script.

 

I have already explored the Target API, and it seems that the Activity Location is the only missing information from the response.

 

Is there any way of fetching the activity URL using the API?

Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

alexbishop
Employee
May 14, 2024

I don't believe Activity URL is available anywhere via API - in case you're open to alternatives, you could configure an event listener based on the Content Rendering Failed event (more info here) and then send an event/notification to alert that the failure happened

miahi
miahiAuthor
New Participant
May 16, 2024

Sounds good.

 

Unfortunately, the process of deploying updated Launch tags for testing purposes is not feasible. I tried adding the custom event as custom code within an activity, but it did not work as expected.

 

Do you have any suggestions for debugging?

 

Appreciate it!