created a campaign through UI , how to get the campaign Id now ?
I am new to this. I created a campaign through UI. Now I want to send the emails through the API for which I'll need the campaign Id , obviously. But I can't figure out how will I get the campaign Id of the one I created using UI.
If this is something that need sot be completely automated, then you may need some sort of naming convention when creating the campaigns that would allow you to identify them programmatically. In order to get the campaign ID, the best way is to make a request to the campaigns collection URI. If you are using our V2 API, you can specify only draft campaigns.
Here's the documentation on listing your campaigns: