DocumentFlow

Authentication

DocumentFlow uses API keys to authenticate requests. You can view and manage your API keys in your DocumentFlow Dashboard.

API Keys

All API requests must include your API key in the Authorization header using Bearer authentication.

Important

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 Examples

curl https://api.documentflow.com/v1/documents \
  -H "Authorization: Bearer YOUR_API_KEY"

Error Handling

If you provide an invalid API key or no API key at all, you'll receive a 401 Unauthorized response:

{
  "error": {
    "code": "unauthorized",
    "message": "Invalid API key provided",
    "documentation_url": "https://docs.documentflow.com/authentication"
  }
}