Authentication

Our API uses token-based authentication. You need to include your API token in the HTTP header of each request.

Obtaining an API Token

To get an API token, please contact our support team or visit your account settings in the developer portal.

Using the API Token

Include your API token in the Authorization header of each request:

Authorization: Bearer YOUR_API_TOKEN

Example Request

Here's an example of how to include the token in a cURL request:

Example request with API token

curl "https://api.getcurrents.com/v1/installers" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Security Best Practices

  • Keep your API token secure and don't share it publicly.
  • Rotate your API token periodically for enhanced security.
  • Use HTTPS for all API requests to encrypt data in transit.