Skip to main content
GET
/
prod
/
prompts
/
{idSite}
/
conditions
Get Opt-in Prompt Conditions
curl --request GET \
  --url https://api.aimtell.com/prod/prompts/{idSite}/conditions \
  --header 'X-Authorization-Api-Key: <api-key>'
[
  {
    "id": 1234,
    "page": "*",
    "promptId": 3836,
    "autoPrompt": 1,
    "idSite": 179,
    "device_type": "any",
    "browser": "safari",
    "seconds_delay": null,
    "scroll_delay": null,
    "pages_delay": null,
    "cookie_required": null,
    "disabled": null,
    "priority": 10,
    "createdAt": "2020-06-01 14:47:45",
    "updatedAt": "2020-10-20 17:49:27"
  },
  {
    "id": 5678,
    "page": "",
    "promptId": 3793,
    "autoPrompt": 1,
    "idSite": 179,
    "device_type": "any",
    "browser": "firefox",
    "seconds_delay": null,
    "scroll_delay": null,
    "pages_delay": null,
    "cookie_required": null,
    "disabled": null,
    "priority": 5,
    "createdAt": "2020-07-22 19:23:43",
    "updatedAt": "2020-07-22 19:24:21"
  },
  {
    "id": 9012,
    "page": "",
    "promptId": 3793,
    "autoPrompt": 1,
    "idSite": 179,
    "device_type": "mobile",
    "browser": "chrome",
    "seconds_delay": null,
    "scroll_delay": 0,
    "pages_delay": null,
    "cookie_required": null,
    "disabled": null,
    "priority": 2,
    "createdAt": "2020-07-22 19:18:53",
    "updatedAt": "2020-07-22 19:18:53"
  },
  {
    "id": 3456,
    "page": "*",
    "promptId": 3793,
    "autoPrompt": 1,
    "idSite": 179,
    "device_type": "any",
    "browser": "any",
    "seconds_delay": null,
    "scroll_delay": null,
    "pages_delay": null,
    "cookie_required": null,
    "disabled": null,
    "priority": 0,
    "createdAt": "2020-04-29 18:13:06",
    "updatedAt": "2020-08-27 19:42:55"
  }
]

Authorizations

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

Path Parameters

idSite
string
required

Website ID

Response

200

id
integer
default:0
Example:

1234

page
string
Example:

"*"

promptId
integer
default:0
Example:

3836

autoPrompt
integer
default:0
Example:

1

idSite
integer
default:0
Example:

179

device_type
string
Example:

"any"

browser
string
Example:

"safari"

seconds_delay
any
scroll_delay
any
pages_delay
any
disabled
any
priority
integer
default:0
Example:

10

createdAt
string
Example:

"2020-06-01 14:47:45"

updatedAt
string
Example:

"2020-10-20 17:49:27"