With Server-side personalization, the experience is personalized on the server. You can use either this API or MoEngage SDKs to report impressions.
This API tracks impressions (shown) and user interactions (clicked) for accurate campaign reporting. To report an impression for your campaign via API, use the following endpoint:
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
Note: After you generate and save the Personalize API Key (SECRET KEY), DO NOT generate a new key unless there is a security breach. After you generate a different key and save it, API calls using the older key won't work.
For more information on authentication and getting your credentials, refer here.
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).
"Workspace ID"
Success. The event was successfully submitted.