Skip to main content
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 in clickCount.
  • dismissed: the contact closed it. Cards leave the feed after this.
  • read: a card was opened or scrolled into view.
Clicks, dismissals and reads also count as a display. The first report of each type sets its timestamp; repeats change nothing and return 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.
object
The item after the update, in the list shape.