Can you make an API call from a profile script? | Community
Skip to main content
Level 2
February 11, 2021
Solved

Can you make an API call from a profile script?

  • February 11, 2021
  • 2 replies
  • 1171 views

I have XML feed which provides live site information that I want to be able to access with an Adobe Profile Script. Since I am not familiar with all the methods that can be used inside a Profile Script I was wondering if anyone knew how/if this could be done.

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

@corralesd We dont have the ability to make seperate calls from the profile script. You should do this before calling Target and then passing it in the parameters of the mbox call.

2 replies

josejr19Accepted solution
Level 5
February 11, 2021

@corralesd We dont have the ability to make seperate calls from the profile script. You should do this before calling Target and then passing it in the parameters of the mbox call.

Adobe Employee
July 30, 2021

Maybe think about "data providers" which will be the closest way to connect external api within the request

https://experienceleague.adobe.com/docs/target-learn/tutorials/integrations/use-data-providers-to-integrate-third-party-data.html?lang=en