Authentication
ConceptsAuthentication is verifying who is calling the API. DocLD uses API keys for authentication: each request includes the key in the Authorization header (e.g., Bearer YOUR_API_KEY). The API validates the key and associates the request with your organization and tenant for authorization, quota, and billing.
How to Authenticate
- Create an API key — In the DocLD dashboard, go to Settings and create a key.
- Send the key — Include it in every request:
Authorization: Bearer <api_key>. - HTTPS — Always use HTTPS so the key is not exposed in transit.
Failed authentication returns 401 Unauthorized. Authorization (what you are allowed to do) is checked after authentication.
Related Concepts
Authentication is done with API keys. Authorization then determines permitted actions. Both are required for API and SDK access.