Skip to content

Files

Latest commit

 

History

History
20 lines (14 loc) · 849 Bytes

authentication.md

File metadata and controls

20 lines (14 loc) · 849 Bytes
description
Test API Reference - authenticating requests

Authentication

The Currents API uses API keys to authenticate requests. You can view and manage your API keys in the Currents Dashboard.


Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.


Authentication to the API is performed via specifying Authentication HTTP header with a bearer auth token, for example:

curl https://api.currents.dev/v1/projects \
-H "Authorization: Bearer 51ILO7fDhR8P...wC7oFLl7nEiDT"

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.