Authentication

You'll need to authenticate your requests to access any of the endpoints in the Lanewise API. In this guide, we'll look at how authentication works.

API Key

You can authenticate your requests using an API key. You will find your API key in the API Keys section. Here's how to add the API key to the request header using cURL:

Example request with API key

curl https://api.lanewise.app/v1/poi \
  -H "X-API-KEY: {YOUR_API_KEY}"

Always keep your token safe and reset it if you suspect it has been compromised.

Using an SDK

If you use one of our official SDKs, you won't have to worry about any of the above — create an API Key and the client library will take care of the rest.