1 Answer
- Newest
- Most votes
- Most comments
0
To see the displayed in-app message count for a user's endpoint, you can follow these steps:
Use the Amazon Pinpoint GetInAppMessages API to retrieve the in-app messages for the user's endpoint. This API call will return a JSON-formatted list of the in-app messages that the user is eligible to receive.
In the response from the GetInAppMessages API, you can find the
displayCount
attribute for each in-app message. This attribute represents the number of times the in-app message has been displayed to the user.
You can then use this
displayCount
information to add controls in your mobile app based on the displayed in-app message count for the user's endpoint.
https://docs.aws.amazon.com/pinpoint/latest/developerguide/channels-inapp.html
answered 4 months ago
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
Hi, I searched all page for displayCount. But i didnt find this attribute in GetInAppMessages API response. Could you please share screen shot ?
Use the GetInAppMessages API to retrieve the list of in-app messages for the user's endpoint. In the response, you can find the following relevant information: AccountAttributes : An array of AccountAttribute objects, which may contain additional metadata about the in-app messages. NextToken : A token to be used for the next set of paginated results, if applicable. To find the displayCount for each in-app message, you may need to explore the AccountAttributes object further or make additional API calls to retrieve the necessary information.
Hi, Which API should i call for retrieve displayCount value ?