Authentication

You'll need to authenticate your requests to access any of the endpoints in the Studiewinkel LML API. Studiewinkel LML offers two ways to authenticate your API requests: Basic authentication and Personal Access Tokens. In this guide, we'll look at how authentication works.

Authentication using basic authentication

With basic authentication, you use your username and token to authenticate your HTTP requests. You will need a personal access token — you can manage them in your account under Personal Access Tokens. Here's how to authenticate using cURL:

Example request with basic auth

curl https://lml-api.studiewinkel.nl/api/lml/v1/lists \
  -u username:token

Authentication using personal access token

Another way to authenticate with the Studiewinkel LML API is by using personal access tokens. When establishing a connection using PAT, you will need a personal access token — you can manage them in your account under Personal Access Tokens. Here's how to add the token to the request header using cURL:

Example request with bearer token

curl https://lml-api.studiewinkel.nl/api/lml/v1/lists \
  -H "Authorization: Bearer {token}"