Skip to content

Accessing the API

Add the following script to your HTML page or template. Make sure to replace the {YOUR_TOKEN} placeholder with the token we provided to you. If you don’t have a token, contact us.

<script async defer
src="https://cdn.locallogic.co/sdk/?token={YOUR_TOKEN}&usage=api">
</script>
  • ⚠️ Make sure you have correctly replaced your SDK token in the example above, including removing the curly brackets.
  • ⚠️ Make sure there is no callback parameter in the script URL
  • ⚠️ Make sure to have the usage=api parameter in the script URL