latestSwagger 2.02026-08-10148196271.0 KB

afaab604b58c

In-app

Get a user's most relevant in-app message

Get a user's most relevant in-app message.<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/getPriorityMessage

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.

platform'iOS' | 'Android' | 'Web' | 'OTT'

The platform of the app for which to retrieve selective in-app messages: iOS, Android, Web, or OTT (case-sensitive).

SDKVersionstring

Iterable SDK version (e.g., 6.2.17)

packageNamestring

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

Response

successful operation