This page will explain how Socket API authentication works

Socket's API uses tokens for authenticating requests.

To authenticate a request, provide your API token through HTTP Basic authentication in the request. The API token is used as the username and the password is left blank (ie. your_api_key: encoded in Base64).

An example is shown below:

curl https://api.socket.dev/v0/quota -X GET -u "your_api_key:"