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

# REST API — Account and Message Management Reference

> SmsManager REST API for account management: manage API keys, check credit balance, query message delivery status, and read inbound messages.

The SmsManager REST API is a separate API from the JSON API v2 (the sending API). While the JSON API v2 handles outbound message delivery, the REST API covers account management tasks: creating and updating API keys, checking your credit balance, querying individual message status, listing sent messages, and reading inbound messages in your inbox.

## Base URL

All REST API requests are made to:

```text theme={null}
https://rest-api.smsmngr.com/v1
```

## Authentication

Every request must include your API key in the `x-api-key` request header. This is the same API key you use with the JSON API v2.

```http theme={null}
x-api-key: YOUR_API_KEY
```

You can find and manage your API keys in the [SmsManager Dashboard](https://app.smsmanager.com).

## Endpoints

| Method | Endpoint         | Description               |
| ------ | ---------------- | ------------------------- |
| `GET`  | `/apikey/me`     | Get current API key info  |
| `POST` | `/apikey/add`    | Create a new sub-key      |
| `POST` | `/apikey/update` | Update API key settings   |
| `GET`  | `/credit`        | Check credit balance      |
| `GET`  | `/message`       | Get single message status |
| `GET`  | `/messages`      | List messages by date     |
| `GET`  | `/requests`      | Get sending statistics    |
| `GET`  | `/inbox`         | Read incoming messages    |

## Explore the endpoints

<Note>
  Individual endpoints — with parameters, request bodies, and examples — are listed in this section's sidebar, generated directly from the OpenAPI specification.
</Note>
