I'm trying to trigger an e-mail using REST.
I've created a smart campaign, added "Campaign is Requested" with Source is Web Service API in the campaign "Smart List", added "Send Emal" to the flow and selected the relevant Email.
When I try to trigger the campaign using the following call:
https://074-LXC-746.mktorest.com/rest/v1/campaigns/<cmpaign id>/trigger.json?access_token=<access token>
Post data: {"input":{"leads" : [{"id" : 1146201}]}}
I'm getting the following response:
{"requestId":"268e#14a536f0c15","success":false,"errors":[{"code":"1003","message":"Trigger campaign needs to have a 'Campaign Requested' trigger"}]}
Many thanks in advance to anyone who will be able to help 🙂