Start a new topic

Adding data to euphoria via API

I am currently looking at using your API to input contact details of leads from our database into the euphoria system. Could you please let me know if this is possible using the API? Alternatively, is there another way we could achieve this? 


I recently had a look at the API monitoring tab in the TMS portal and I see there is an action Name: AddCampaignList (which is what I am looking to do), however, there isn't documentation on that call, amongst the vast majority there.  Is there more documentation, other than what is provided? 

Hi Ridhaa,


Please see below our documentation on campaign APIs as requested. Please let me know if you have any questions.


https://docs.google.com/document/d/1901s80rZ1OVuQ-Nw0Dm93xY9fgYU6aEPQyBAas7TJNU/edit?usp=sharing


Thank you

Hi Divan


Thank you for replying to me. I really appreciate it. I am however, having some difficulty uploading a file. I am able to create a campaign, and a list within that campaign. This result creates the item in euphoria as expected. However, the CSV I am trying to upload produces an error and does not get uploaded (No CSV files uploaded). On the Euphoria side, the status is uploading, but never changes. 


I have done the following:

  • added the csv file
  • converted it to a base64 text file, and tried - same results persisted
  • removed content disposition text, content-type text, everything other than the path
  • Changed csv Filenames
All the above produced the same error. I have read the documentation and this error isn't listed. Any help would be massively appreciated. I have attached the code snippets and error results. 

APIlist.PNG
(59.4 KB)
Error.PNG
(19.4 KB)
APIcall.PNG
(110 KB)

Hi Ridaa,


I've converted your query into a ticket so we can get it resolved for you as soon as possible. 


I will update this forum query once it's resolved


Thank you

Hi Ridaa,


As discussed on the ticket, the reason why you couldn't upload it was because of the base64 xml node. It needs to be one long string which was already converted. The easiest way to get this string, is to convert it online on the below link:


https://www.freeformatter.com/base64-encoder.html


Thank you

Noted, its working now. Thank you for the support. One other question, when uploading, is there a way of encoding a hyperlink in your csv that works on the platform?

Login or Signup to post a comment