curl --request GET \
--url https://api.aimtell.com/prod/sites/ \
--header 'X-Authorization-Api-Key: <api-key>'[
{
"id": 179,
"uid": "76cedd11b19e",
"url": "https://demo.aimtell.com",
"name": "Demo Website",
"icon": "https://s3.amazonaws.com/siteicons.aimtell.com/icon_40_1443032714..jpg",
"promptId": 0,
"webPushID": null,
"auto_prompt": 1,
"createdAt": "2015-12-28 17:54:42",
"active": 1
},
{
"id": 999,
"uid": "76cedd11b19e",
"url": "https://example.aimtell.com",
"name": "Example Aimtell ",
"icon": "https://s3.amazonaws.com/siteicons.aimtell.com/icon_999_1485981616.png",
"promptId": 200,
"webPushID": "web.20.aimtell.com",
"auto_prompt": 1,
"createdAt": "2016-06-01 21:40:05",
"active": 1
},
{
"id": 2634,
"uid": "76cedd11b19e",
"url": "https://wordpress.aimtell.com",
"name": "wordpress site",
"icon": "https://s3.amazonaws.com/siteicons.aimtell.com/icon_2634_1487894753.png",
"promptId": null,
"webPushID": "web.16.aimtell.com",
"auto_prompt": 1,
"createdAt": "2017-02-24 00:07:25",
"active": 1
}
]Grabs all active websites for account.
curl --request GET \
--url https://api.aimtell.com/prod/sites/ \
--header 'X-Authorization-Api-Key: <api-key>'[
{
"id": 179,
"uid": "76cedd11b19e",
"url": "https://demo.aimtell.com",
"name": "Demo Website",
"icon": "https://s3.amazonaws.com/siteicons.aimtell.com/icon_40_1443032714..jpg",
"promptId": 0,
"webPushID": null,
"auto_prompt": 1,
"createdAt": "2015-12-28 17:54:42",
"active": 1
},
{
"id": 999,
"uid": "76cedd11b19e",
"url": "https://example.aimtell.com",
"name": "Example Aimtell ",
"icon": "https://s3.amazonaws.com/siteicons.aimtell.com/icon_999_1485981616.png",
"promptId": 200,
"webPushID": "web.20.aimtell.com",
"auto_prompt": 1,
"createdAt": "2016-06-01 21:40:05",
"active": 1
},
{
"id": 2634,
"uid": "76cedd11b19e",
"url": "https://wordpress.aimtell.com",
"name": "wordpress site",
"icon": "https://s3.amazonaws.com/siteicons.aimtell.com/icon_2634_1487894753.png",
"promptId": null,
"webPushID": "web.16.aimtell.com",
"auto_prompt": 1,
"createdAt": "2017-02-24 00:07:25",
"active": 1
}
]