Hello,
I’m looking for a REST API to create a User-Initiated Email in Salesforce Marketing Cloud (SFMC). If you have any suggestions or guidance on this, I would greatly appreciate your help.
4 answers
Yes, you can create an SSJS script with SOAP API in a Code Resource under CloudPages and call the Code Resource URL through an API.
However, I would recommend shifting from User-Initiated Sends to Journey Builder with an API Entry Event. Build a journey that sends the email, and trigger it via REST API by inserting a record into the entry Data Extension.
Refer this Cameron Robert YouTube video -