The MoEngage Cards API allows you to fetch and delete user-specific cards from the MoEngage database. Use these endpoints to retrieve cards for a user, filter them by platform and category, check for updates since the last sync, and remove specific card campaigns.Documentation Index
Fetch the complete documentation index at: https://moengage-ios-release-notes-breaking-changes-doc-1961.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
The Cards API is a collection of the following endpoints:- Fetch Cards: Retrieves all active and updated cards for a specific user, supporting filtering and pagination.
- Delete Cards: Deletes specific card campaigns for a user from the MoEngage Cards database.
FAQs
Fetch Cards
How do I fetch only the cards updated since the last sync?
How do I fetch only the cards updated since the last sync?
prev_sync_card_ids (list of card IDs from the previous sync) and last_updated_time (Unix epoch timestamp of the last sync) fields in the request body. The API will return only the new or updated cards.Can I filter cards by platform or category?
Can I filter cards by platform or category?
platforms array (e.g., ["ANDROID", "WEB"]) and by category using the card_category string field in the request body.Which identifier should I use for the user?
Which identifier should I use for the user?
uid (MoEngage Standard ID like Email or Mobile Number) or the unique_id (Platform-specific device identifier). One of these is required.What is the difference between unique_id and uid?
What is the difference between unique_id and uid?
Delete Cards
Why does the Delete API require a request body?
Why does the Delete API require a request body?
DELETE requests.Can I delete cards for a specific platform only?
Can I delete cards for a specific platform only?
platforms array in the request body (e.g., ["android"]) to delete the cards only from those specific platforms. If omitted, it deletes from all associated platforms.What is the difference between unique_id and uid?
What is the difference between unique_id and uid?