get https://content.api.aampe.com/v1/in-app/
Use this route when you want to display personalized content to a specific user of your app.
Aampe generates content for each of your Messages and tailors it to each user.
Specify the desired message using the campaign_id parameter.
It should match a live Message ID found in Aampe Composer: https://compose.aampe.com/messages/Live.
The ID can be found on the Aampe Connect tab.
Specify the user using the contact_id parameter.
This should be a unique identifier for each user, which has been previously shared with Aampe.
Depending on the type of message, the response will be different:
- If the message type is Content Card, the response will be a ContentCardResponse.
- If the message type is In-App Banner or In-App Full Page, the response will be an InAppResponse.
Note that new message content is generated periodically,
so multiple requests for the same user and campaign may return the same content,
depending on the time between requests.