Skip to main content
GET
/
prod
/
prompts
/
{idSite}
/
condition
/
{id}
Get Opt-in Prompt Condition
curl --request GET \
  --url https://api.aimtell.com/prod/prompts/{idSite}/condition/{id} \
  --header 'X-Authorization-Api-Key: <api-key>'
{
  "id": 1234,
  "page": "",
  "promptId": 5678,
  "autoPrompt": 1,
  "idSite": 179,
  "device_type": "any",
  "browser": "any",
  "seconds_delay": null,
  "scroll_delay": 0,
  "pages_delay": null,
  "cookie_required": null,
  "disabled": null,
  "priority": 5,
  "createdAt": "2021-01-20 16:04:45",
  "updatedAt": "2021-01-20 16:04:45"
}

Authorizations

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

Path Parameters

idSite
string
required

Website ID

id
string
required

Condition ID

Response

200

id
integer
default:0
Example:

1234

page
string
Example:

""

promptId
integer
default:0
Example:

5678

autoPrompt
integer
default:0
Example:

1

idSite
integer
default:0
Example:

179

device_type
string
Example:

"any"

browser
string
Example:

"any"

seconds_delay
any
scroll_delay
integer
default:0
Example:

0

pages_delay
any
disabled
any
priority
integer
default:0
Example:

5

createdAt
string
Example:

"2021-01-20 16:04:45"

updatedAt
string
Example:

"2021-01-20 16:04:45"