> ## Documentation Index
> Fetch the complete documentation index at: https://developers.nlpearl.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API Authorization

> Learn how to authenticate your API requests using your Account ID and API secret key.

## API Authorization Guide

To interact with the NLPearl.AI API, you need to authenticate your requests by including your Account ID and API secret key in the request header. This ensures that your API calls are secure and correctly attributed to your account.

### Authorization Header Format

Include the following authorization header in all your API requests:

```http theme={null}
Authorization: Bearer AccountId:SecretKey
```

The ***Token*** must be in the form `AccountId:SecretKey`.

**For example**:

```http theme={null}
Authorization: Bearer 66552698d60e456235eae520:tWPqr5EEZv2dxqutv58NsCg7NuqGc1tX
```

You can retrieve your Account ID and Secret Key in [our platform](https://platform.nlpearl.ai/app/settings/api).

### Example API Request

Here’s an example of how to set up the Authorization header for an API request using cURL:

```bash theme={null}
curl -X GET "https://api.nlpearl.ai/v2/endpoint" \
     -H "Authorization: Bearer 66552698d60e456235eae520:tWPqr5EEZv2dxqutv58NsCg7NuqGc1tX"
```

Replace `66552698d60e456235eae520` and `tWPqr5EEZv2dxqutv58NsCg7NuqGc1tX` with your actual Account ID and API secret key.

### Next Steps

With your subscription selected, API secret key created, and Account ID found, you are ready to start using the NLPearl.AI API. To explore the available endpoints and learn more about integrating NLPearl.AI into your applications, check out the resources below.

## Conclusion

Getting started with the NLPearl.AI API is easy and straightforward. By following these steps, you can quickly set up your account and begin integrating powerful AI capabilities into your applications.
