# Authentication

Source: https://www.digiparser.com/docs/api/authentication

# Authentication

How to authenticate API requests

Copy MarkdownOpen

# [Authentication](#authentication)

Feedback

All API requests require authentication using API keys.

## [Getting Your API Key](#getting-your-api-key)

Feedback

1.  Log in to DigiParser
2.  Go to Team Settings -> API Keys
3.  Click "Create API Key"
4.  Copy and save your API key securely

Feedback

**Important**: API keys are only shown once. Save them securely.

## [Using API Keys](#using-api-keys)

Feedback

Include your API key in the request header:

```
Authorization: Bearer YOUR_API_KEY
```

### [Example Request](#example-request)

```
curl -X GET "https://api.digiparser.com/api/v1/process/{parserId}/files/data?documentId=YOUR_DOCUMENT_ID" \
  -H "Authorization: YOUR_API_KEY"
```

## [API Key Security](#api-key-security)

Feedback

*   Never commit API keys to version control
*   Use environment variables
*   Rotate keys regularly
*   Revoke unused keys

## [Rate Limits](#rate-limits)

Feedback

*   100 requests per minute
*   10,000 requests per day

Feedback

Rate limit headers are included in responses:

Feedback

*   `X-RateLimit-Limit`: Maximum requests allowed
*   `X-RateLimit-Remaining`: Requests remaining
*   `X-RateLimit-Reset`: When the limit resets

How is this guide?

GoodBad

[

Overview

Complete API documentation for developers

](/docs/api)[

Webhooks

Receive document.exported events and payload structure

](/docs/api/webhooks)