View Archived Message
You can use this API to store any communication sent to customers for later access.
Rate Limit
The rate limit for this endpoint is 1000 RPM.Authorizations
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
- Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
- Password: Use your API Key, which you can find within the Data tile.
For more information on authentication and getting your credentials, refer here.
Headers
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
Body
The request body contains the parameters required to identify and retrieve the message.
This field denotes the unique identifier of the user.
This field denotes the delivery type of the channel.
ONE_TIME, PERIODIC, EVENT_TRIGGERED, LOCATION_TRIGGERED, DEVICE_TRIGGERED, API_TRIGGERED, BUSINESS_EVENT_TRIGGERED This field denotes the campaign type.
Supported Values:
- Push: General Push Campaign, Autotrigger Campaign, Geo-fencing Campaign, Business Event Trigger Push Campaign
- SMS: sms, Business Event Trigger SMS Campaign
- Email: Email Campaign, Email Triggers, Business Event Trigger Email Campaign
- Alerts: Inform Email, Inform SMS, Inform Push
General Push Campaign, Autotrigger Campaign, Geo-fencing Campaign, Business Event Trigger Push Campaign, sms, Business Event Trigger SMS Campaign, Email Campaign, Email Triggers, Business Event Trigger Email Campaign, Inform Email, Inform SMS, Inform Push The campaign channel.
EMAIL, SMS, PUSH, FLOWS The sent time of the campaign as a Unix epoch timestamp.
1716972486
This field denotes the campaign ID.
The name of the event (e.g., 'Email Sent', 'SMS Sent', 'Notification Sent iOS').
Email Sent, SMS Sent, Notification Sent iOS, Notification Received Android, Notification Received Web The target platform of the campaign.
IOS, ANDROID, WEB, EMAIL, SMS, MWEB The event ID. Required for event-triggered campaigns.
- You must pass
moe_event_idif any event attribute is present for campaigns. - You must pass
moe_transaction_idfor alerts.