In-app
Record In-App Event
Report that an in-app item was displayed, clicked, dismissed or read
POST
Record In-App Event
Reports what happened to an in-app item in your app. These reports power the step stats in Sequenzy and decide what stays in the feed. Requires the
subscribers:write scope.
displayed: the item was shown. Messages leave the open feed after this, so each one shows once.clicked: a button or the item itself was clicked. Every click counts inclickCount.dismissed: the contact closed it. Cards leave the feed after this.read: a card was opened or scrolled into view.
recorded: false, so retrying is safe. The exception is clickCount, which every clicked report increments, so send clicked once per click.
Request
string
required
Item ID from List In-App Messages.
string
required
displayed, clicked, dismissed or read.string
With
type clicked on an item that has a request_push_permission button: the notification permission your app read after asking, granted, provisional, ephemeral, denied or not_determined. The first result is kept for step stats and written to the contact’s pushPermission attribute. It’s ignored on other items and event types. Other values return 422.string
Clicks in custom HTML messages: which
control was clicked, 1 to 255 letters, numbers, spaces, dashes or
underscores. Recorded on the contact’s
in_app.clicked activity for the
first click. Any other value returns 400.Response
boolean
True when this report set the timestamp; false when it was already recorded.