Iterable In App Web API

The In-app-web API from Iterable — 1 operation(s) for in-app-web.

Operations 1

GET /api/inApp/web/getMessages Get a user's web in-app messages #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/iterable-in-app-web-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

iterable-in-app-web-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  termsOfService: https://iterable.com/terms/
  title: Iterable In App Web API
  version: '1.8'
servers:
- url: https://api.iterable.com/
security:
- api_key: []
tags:
- name: In-app-web
paths:
  /api/inApp/web/getMessages:
    get:
      description: 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>.
      operationId: getMessages
      parameters:
      - description: The email address of the user for which to fetch in-app messages. Specify either an email or a userId.
        in: query
        name: email
        required: false
        schema:
          type: string
      - description: The userId of the user for which to fetch in-app messages. Specify either an email or a userId.
        in: query
        name: userId
        required: false
        schema:
          type: string
      - description: The number of web in-app messages to fetch.
        in: query
        name: count
        required: true
        schema:
          type: integer
          format: int32
      - description: Iterable SDK version (e.g., 6.2.17)
        in: query
        name: SDKVersion
        required: false
        schema:
          type: string
          default: None
      - description: The package name of the app for which to retrieve selective web in-app messages.
        in: query
        name: packageName
        required: false
        schema:
          type: string
          default: None
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiInAppMessagesResponse'
        '400':
          description: Invalid parameters
        '401':
          description: Invalid API key
      summary: Get a user's web in-app messages
      tags:
      - In-app-web
components:
  schemas:
    Value:
      type: object
    InAppType:
      type: object
    PositionOption:
      type: object
    BgColor:
      properties:
        alpha:
          description: The opacity range of the background between 0-1
          type: number
        hex:
          description: 'The hex color of the background. Format: #FFFFFF'
          type: string
      type: object
    InAppTypeOfContent:
      type: object
    InboxMetadata:
      properties:
        icon:
          description: The icon to display in the inbox
          type: string
        subtitle:
          description: The subtitle to display in the inbox
          type: string
        title:
          description: The title to display in the inbox
          type: string
      type: object
    ApiInAppMessage:
      properties:
        campaignId:
          description: Campaign ID
          type: number
        content:
          $ref: '#/components/schemas/InAppContentApi'
          description: The content for the in-app message
        createdAt:
          description: Time the In-app message was created
          format: date-time
          type: string
        customPayload:
          description: The custom payload for the in-app message
          type: object
        expiresAt:
          description: Time the in-app message will expire
          format: date-time
          type: string
        inboxMetadata:
          $ref: '#/components/schemas/InboxMetadata'
          description: An object containing inbox metadata associated with this in-app message
        jsonOnly:
          type: boolean
        messageId:
          description: Iterable-generated Message ID
          type: string
        messageType:
          $ref: '#/components/schemas/InAppType'
        ottPayload:
          $ref: '#/components/schemas/RokuContent'
          description: The custom Roku payload for the in-app message
        priorityLevel:
          description: The priority value of the in-app message
          type: number
        read:
          description: Whether or not the message was read by user
          type: boolean
        saveToInbox:
          description: Whether or not the message associated with the event was configured to use the inbox
          type: boolean
        trigger:
          $ref: '#/components/schemas/InAppTrigger'
          description: The trigger type for the in-app message
        typeOfContent:
          $ref: '#/components/schemas/InAppTypeOfContent'
      required:
      - jsonOnly
      - messageType
      - typeOfContent
      type: object
    InAppDisplaySettings:
      properties:
        bgColor:
          $ref: '#/components/schemas/BgColor'
          description: The background color values
        bottom:
          $ref: '#/components/schemas/InAppDisplaySetting'
          description: Padding percentage for the bottom of the notification, or -1 to autoexpand
        left:
          $ref: '#/components/schemas/InAppDisplaySetting'
          description: Padding percentage for the left of the notification, or -1 to autoexpand
        right:
          $ref: '#/components/schemas/InAppDisplaySetting'
          description: Padding percentage for the right of the notification, or -1 to autoexpand
        shouldAnimate:
          description: Enables In App Animations
          type: boolean
        top:
          $ref: '#/components/schemas/InAppDisplaySetting'
          description: Padding percentage for the top of the notification, or -1 to autoexpand
      type: object
    InAppDisplaySetting:
      type: object
    RokuButtonContent:
      properties:
        buttonBorderColor:
          type: string
        buttonColorFocused:
          type: string
        buttonColorUnFocused:
          type: string
        buttonDeeplink:
          type: string
        buttonText:
          type: string
        buttonTextColorFocused:
          type: string
        buttonTextColorUnFocused:
          type: string
      required:
      - buttonBorderColor
      - buttonColorFocused
      - buttonColorUnFocused
      - buttonDeeplink
      - buttonText
      - buttonTextColorFocused
      - buttonTextColorUnFocused
      type: object
    InAppTrigger:
      properties:
        type:
          $ref: '#/components/schemas/Value'
          description: How the in-app message was triggered
      type: object
    WebInAppDisplaySettings:
      properties:
        position:
          $ref: '#/components/schemas/PositionOption'
          description: The position of the message on the screen
      type: object
    ApiInAppMessagesResponse:
      properties:
        inAppMessages:
          items:
            $ref: '#/components/schemas/ApiInAppMessage'
          type: array
      required:
      - inAppMessages
      type: object
    RokuContent:
      properties:
        backgroundColor:
          type: string
        buttons:
          items:
            $ref: '#/components/schemas/RokuButtonContent'
          type: array
        dialogBodyFont:
          type: string
        dialogButtonFont:
          type: string
        dialogHeader:
          type: string
        dialogHeaderFont:
          type: string
        dialogText:
          type: string
        fhd_image:
          type: string
        textColor:
          type: string
      type: object
    InAppContentApi:
      properties:
        html:
          description: The html to be displayed
          type: string
        inAppDisplaySettings:
          $ref: '#/components/schemas/InAppDisplaySettings'
          description: The in-app message display settings
        ottPayload:
          $ref: '#/components/schemas/RokuContent'
        webInAppDisplaySettings:
          $ref: '#/components/schemas/WebInAppDisplaySettings'
      required:
      - webInAppDisplaySettings
      type: object
  securitySchemes:
    api_key:
      in: header
      name: Api-Key
      type: apiKey