Skip to main content
GET
/
prod
/
site
/
code
/
{id}
Get Website Code
curl --request GET \
  --url https://api.aimtell.com/prod/site/code/{id} \
  --header 'X-Authorization-Api-Key: <api-key>'
{
  "url": "demo.aimtell.com",
  "value": "<!-- start aimtell tracking code --> <script type='text/javascript'>var _at = {};_at.domain = 'demo.aimtell.com';_at.owner = '76cedd11b19e';_at.idSite = '179';_at.attributes = {};  (function() {var u='//api.aimtell.com/prod/';var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'trackpush.min.js'; s.parentNode.insertBefore(g,s);})();</script><!-- end aimtell tracking code -->",
  "idSite": 179,
  "uid": "76cedd11b19e"
}

Authorizations

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

Path Parameters

id
string
required

Site ID

Response

200