Skip to main content
Every request to the DeepCurrent API must include an Authorization header. DeepCurrent supports two authentication methods depending on your use case.
API keys are the recommended method for programmatic access and server-to-server integrations. Your key starts with dc_ and never expires unless you request a new one.Pass your API key as a Bearer token on every request:
Authorization: Bearer dc_your_api_key_here
Full example:
curl -X GET https://api.deepcurrent.app/api/v1/users/me \
  -H "Authorization: Bearer dc_your_api_key_here"
import requests

headers = {"Authorization": "Bearer dc_your_api_key_here"}
response = requests.get("https://api.deepcurrent.app/api/v1/users/me", headers=headers)

Getting your API key

1

Open Settings

In the dashboard, click your profile in the top-right corner and go to Settings → API Key.
2

Reveal your key

Click Reveal API key. Your full API key is displayed exactly once.
Copy your API key immediately and store it in a secure location such as a password manager or secrets manager. Once you close the dialog, you cannot view the key again — only the last four characters remain visible.
3

Use the key in your requests

Add the key to every API request as an Authorization: Bearer header.

Request parameters

The login endpoint accepts standard OAuth2 password grant fields.
username
string
required
Your account email address. The field is named username for OAuth2 compatibility.
password
string
required
Your account password.

Response fields

access_token
string
A signed JWT token. Pass this as Authorization: Bearer <token> on subsequent requests.
token_type
string
Always "bearer".

Error responses

StatusMeaning
401 UnauthorizedNo credentials provided, or the API key / token is invalid.
403 ForbiddenCredentials are valid but your account does not have access to the requested resource. This happens when a feature requires a paid plan or a specific role.

Regenerating your API key

If your API key is compromised or lost, you can request a new one from Settings → API Key in the dashboard.
Key regeneration is handled by the DeepCurrent support team. When you submit a request, support is notified and will issue your new key. Your old key continues to work until the new one is issued and confirmed.