latestSwagger 2.02026-08-10148196271.0 KB

afaab604b58c

In-app-web

Get a user's web in-app messages

Get a user's web in-app messages. This endpoint always returns the user's non-selective (not app-specific) web in-app messages; to also fetch web app-specific in-app messages, include a <code>packageName</code> in the request. This endpoint returns new messages and messages that have already been saved to a mobile inbox, and each message has a <code>read</code> field to indicate whether or not it has already been seen.<br/><br/>Learn about <a href="https://support.iterable.com/hc/articles/29156459027348">identifying users by <code>userId</code> and <code>email</code></a>.

get/api/inApp/web/getMessages

Query parameters

emailstring

The email address of the user for which to fetch in-app messages. Specify either an email or a userId.

userIdstring

The userId of the user for which to fetch in-app messages. Specify either an email or a userId.

countinteger required

The number of web in-app messages to fetch.

SDKVersionstring

Iterable SDK version (e.g., 6.2.17)

packageNamestring

The package name of the app for which to retrieve selective web in-app messages.

Response

successful operation