> ## Documentation Index
> Fetch the complete documentation index at: https://terminal49-current-status.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Client module reference

> API reference for the Terminal49 SDK client module: Terminal49Client, configuration interface, and the typed error classes thrown by the SDK.

# client

## Classes

| Class                                                                          | Description                                                                                 |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------- |
| [AuthenticationError](/sdk/reference/client/classes/AuthenticationError)       | Thrown when the API token is invalid or missing (HTTP 401).                                 |
| [AuthorizationError](/sdk/reference/client/classes/AuthorizationError)         | Thrown when the API token is valid but lacks permission for the request (HTTP 403).         |
| [FeatureNotEnabledError](/sdk/reference/client/classes/FeatureNotEnabledError) | Thrown when the requested feature requires a plan upgrade (HTTP 403).                       |
| [NotFoundError](/sdk/reference/client/classes/NotFoundError)                   | Thrown when the requested resource does not exist (HTTP 404).                               |
| [RateLimitError](/sdk/reference/client/classes/RateLimitError)                 | Thrown when the API rate limit has been exceeded (HTTP 429). The SDK retries automatically. |
| [Terminal49Client](/sdk/reference/client/classes/Terminal49Client)             | Server-side TypeScript client for the Terminal49 JSON:API.                                  |
| [Terminal49Error](/sdk/reference/client/classes/Terminal49Error)               | Base error for all Terminal49 API errors. Subclassed by status-specific errors.             |
| [UpstreamError](/sdk/reference/client/classes/UpstreamError)                   | Thrown when the carrier or terminal upstream API is unavailable (HTTP 5xx).                 |
| [ValidationError](/sdk/reference/client/classes/ValidationError)               | Thrown when the request payload fails server-side validation (HTTP 400/422).                |

## Interfaces

| Interface                                                                         | Description                                                                           |
| --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [Terminal49ClientConfig](/sdk/reference/client/interfaces/Terminal49ClientConfig) | Configuration for [Terminal49Client](/sdk/reference/client/classes/Terminal49Client). |
