Each user has an API key. You need to provide this API key with the header
Authentication-Token. Here’s an example with curl:
curl -H 'Authentication-Token: <API_KEY>' https://api.example.com/
Depending on how your app is configured this authentication can control access to your resources/endpoints. A user/api key is attached to a role. The roles can define what read/write actions users can do on any resource.