Endpoints
The Campaigns API is a collection of the following endpoints:- Create Campaign: Creates a new Push or Email campaign.
- Update Campaign: Updates an existing Push or Email campaign in MoEngage.
- Search Campaigns: Fetches a list of Push, Email, or SMS campaigns with all current fields and status.
- Test Campaign: Sends a test Push or Email campaign to specific users before launching it.
- Personalized Preview: Displays personalized content for a specific user before sending a Push, Email, or SMS campaign.
- Get Campaign Meta: Retrieves campaign details and reachability information for scheduled campaigns.
- Change Campaign Status: Updates the status of campaigns to stop, pause, or resume them.
- Get Child Campaigns: Retrieves child campaign execution details for Periodic or Business Event-triggered campaigns.
FAQs
Create Email Campaign
How can I personalize the campaign created through this API?
How can I personalize the campaign created through this API?
Is there any way to ensure multiple campaigns with the same payload are not created?
Is there any way to ensure multiple campaigns with the same payload are not created?
How are these campaigns displayed on the UI?
How are these campaigns displayed on the UI?
Can I pass template ID and HTML content together in the content object?
Can I pass template ID and HTML content together in the content object?
How do I create a campaign using a custom segment?
How do I create a campaign using a custom segment?
segmentation_details in your campaign creation request. Within included_filters, set the filter_type to “custom_segments” and provide the ID of your custom segment.The following code snippet shows how to incorporate a custom segment:Create Push Campaign
Can I create a Push campaign for just one platform?
Can I create a Push campaign for just one platform?
How do I get the template ID required in the Push campaign payload?
How do I get the template ID required in the Push campaign payload?
How do I decide which fields to include in the content section?
How do I decide which fields to include in the content section?
How do I create a campaign using a custom segment?
How do I create a campaign using a custom segment?
segmentation_details in your campaign creation request. Within included_filters, set the filter_type to “custom_segments” and provide the ID of your custom segment.The following code snippet shows how to incorporate a custom segment:Update Push Campaign
Can I change the template type in an active campaign?
Can I change the template type in an active campaign?
Can I add or remove the platform in an active campaign?
Can I add or remove the platform in an active campaign?
When does the updated content get started sending out to users?
When does the updated content get started sending out to users?
Update Email Campaign
Can I update the segmentation audience when the campaign is in Active state?
Can I update the segmentation audience when the campaign is in Active state?
When does the updated campaign start sending out to the users?
When does the updated campaign start sending out to the users?
How can I fetch the campaign ID of the campaign to be updated?
How can I fetch the campaign ID of the campaign to be updated?
Search Campaigns - Push
Can I fetch flow campaign node information for the Push channel?
Can I fetch flow campaign node information for the Push channel?
include_child_campaigns key value as true.How do I identify which campaign is from a flow?
How do I identify which campaign is from a flow?
flow_name and flow_id keys in the response. These keys indicate that the campaign is part of a flow.If I pass One_Time as an input to the API, which campaigns will be available in the response?
If I pass One_Time as an input to the API, which campaigns will be available in the response?
one_time.Search Campaigns - SMS
Can I fetch flow campaign node information for the SMS channel?
Can I fetch flow campaign node information for the SMS channel?
include_child_campaigns key value as true.How do I identify which campaign is from a flow?
How do I identify which campaign is from a flow?
flow_name and flow_id keys in the response. These keys indicate that the campaign is part of a flow.Can I fetch campaign information for a specific sender?
Can I fetch campaign information for a specific sender?
Can I fetch archived campaign information?
Can I fetch archived campaign information?
include_archived_campaigns key value as true.Test Push Campaign
Can I send the test push to IDs that are not part of MoEngage?
Can I send the test push to IDs that are not part of MoEngage?
How does personalization work if I pass only a subset of user attribute values used under the content for personalization?
How does personalization work if I pass only a subset of user attribute values used under the content for personalization?
Test Email Campaign
Can I send the test email to IDs that are not part of MoEngage?
Can I send the test email to IDs that are not part of MoEngage?
How does personalization work if I pass only a subset of user attribute values used under the content for personalization?
How does personalization work if I pass only a subset of user attribute values used under the content for personalization?
Get Campaign Meta
Can I get the exact reachability of scheduled campaigns?
Can I get the exact reachability of scheduled campaigns?
Can reachability be refreshed with every API call?
Can reachability be refreshed with every API call?
Personalized Preview
Can I use a custom template in the Personalization Preview? If yes, what will the output be?
Can I use a custom template in the Personalization Preview? If yes, what will the output be?
Can I use an event to personalize content in the Personalization Preview?
Can I use an event to personalize content in the Personalization Preview?
Change Campaign Status
Can I stop the periodic campaign using this API?
Can I stop the periodic campaign using this API?
Can I stop the One-time campaign that is in the sending state?
Can I stop the One-time campaign that is in the sending state?