Create a New inApp

Create a new inApp campaign. The user must have permissions to create inApp campaigns in that application

Log in to see full request history
timestatususer agent
Retrieving recent requestsā€¦
LoadingLoadingā€¦
Body Params

new inApp's data

integer
required

Application id

integer
required

campaign schema id

string
required

campaign name

string
required

campaign Content web (html).
This content is filtered, so not all html tags are valid.

Tags:

['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'a', 'ul', 'ol', 'img', 'nl', 'li', 'b', 'i', 'strong', 'em', 'strike', 'code', 'hr', 'br', 'div', 'caption', 'pre', 'iframe', 'spam']

Attributes:

['href', 'align', 'alt', 'center', 'bgcolor', 'width', 'height', 'style', 'id', 'class', 'scr', 'name', 'target']
boolean
required

If campaign campaign is enabled

properties
object
required

campaign properties

filters
object
required

campaign filters

array of strings | null

In this array, we define the name of the customizable variables to be used by the campaign

Ex:

["telephone", "age"]
customData
date-time | null

Start Date for campaign action. The format is ISO 8601, UTC-0

Ex:

2019-02-13T08:18:39.632Z
date-time | null

End Date for campaign action. The format is ISO 8601, UTC-0

Ex:

2019-02-13T08:18:39.632Z
string | null

Information necessary to representthe campaign in the edit interface.

This information is only stored, it is not used for any process in the backend.

integer | null
ā‰„ 600

In seconds. Time to live of the inapp cache on the user's device.

Once the cache lifetime has been exceeded, the device will consult the API to download the campaign again.

If null, a default value will be used.

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json