Skip to main content
POST
/
prod
/
site
/
{idSite}
/
welcome
/
upsert
Update Welcome Campaign
curl --request POST \
  --url https://api.aimtell.com/prod/site/{idSite}/welcome/upsert \
  --header 'Content-Type: application/json' \
  --header 'X-Authorization-Api-Key: <api-key>' \
  --data '
{
  "title": "<string>",
  "body": "<string>",
  "link": "<string>",
  "status": "0",
  "customIcon": "<string>",
  "customImage": "<string>",
  "conversion_trigger": {
    "eventCategory": "<string>",
    "eventAction": "<string>"
  },
  "actions": {
    "a01": {
      "title": "<string>",
      "link": "<string>"
    },
    "a02": {
      "title": "<string>",
      "link": "<string>"
    }
  }
}
'
{
  "result": "success",
  "message": "Updated welcome message succesfully."
}

Authorizations

X-Authorization-Api-Key
string
header
default:""
required

Path Parameters

idSite
string
required

Site ID

Body

application/json
title
string
required

Push Title

body
string
required

Push Body

Link

status
string
default:0
required

0 = draft, 1 = active

customIcon
string

url of custom icon to use (recommended size: 250x250)

customImage
string

url of custom image to use (recommended size: 300x500)

conversion_trigger
object
actions
object

action buttons

Response

200