Set a list of target devices for inApp campaign

Sets a list of target devices for the inApp campaign from a .csv file.

The format of the .csv file must be one device code per line.

To delete the list of targets associated with a campaign use the delete endpoint

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

campaign id

Body Params
file
required

A .csv file that you must upload with your deviceId list and/or custom data. The CSV file must contain always a column with the header externalCode al least and your external ids.

Example device list

  externalCode,customData1
  Gi0rc7EB7GwExEQ82Rg5h2eQpddsjuVbp,customDataValue1
  Dmj1ZmDkIjcjSejNsjLIme5dublwVk3qi,customDataValu2
  ...

When we need to use these custom variables in the html, we will identify them with double brackets (e.g. {{ customDataExample }} ) so that when we replace them, we can quickly identify them.

  <h1>Dear customer {{ customerName }}</h1>
  ...

In the above example, the variable customerName should be replaced by its value.

Responses

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