Authentication

You'll need to authenticate your requests to access any of the endpoints in the Linkkit API. In this guide, we’ll look at how authentication works. Linkkit offers an access token based authentication using a bearer token.

Authorization with an access token

The recommended way to authenticate with the Linkkit API is by using an access token. You will find it in the API Keys section of your account. Here's how to add the token to the request header using cURL:

Example request with access token

curl https://api.linkkit.app/v1/links \
  -H "Authorization: Bearer {token}"

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 — fetch your access token from the Linkkit dashboard under API settings, and the client library will take care of the rest. All the client libraries use access tokens behind the scenes.