> For the complete documentation index, see [llms.txt](https://docs.justaname.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.justaname.id/sdk-reference/justaname-core-sdk/interfaces/apikeyheaders.md).

# ApiKeyHeaders

[**@justaname.id/sdk**](/sdk-reference/justaname-core-sdk.md) • **Docs**

***

[@justaname.id/sdk](/sdk-reference/justaname-core-sdk/globals.md) / ApiKeyHeaders

## Interface: ApiKeyHeaders

Defines the headers for API requests that require an API key for authentication. The `xApiKey` header is used to pass the API key associated with the client making the request. This is a common method for controlling access to restricted API endpoints.

ApiKeyHeaders

### Properties

#### xApiKey?

> `optional` **xApiKey**: `string`

The API key provided to the client. This key should be included in API requests to authenticate and authorize the client's access to the API.

**Defined in**

[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L30)
