# OpenAPI specs (/docs/tools/openapi)



Each v1 service has its own OpenAPI 3.1 file. These point at production hosts, so for sandbox paths use the combined `sandbox-v1.json`.

| File                                                   | Contents                                                                                             |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |
| [`/openapi/v1/index.json`](/openapi/v1/index.json)     | A list of all v1 services                                                                            |
| `/openapi/v1/<service>.json`                           | The OpenAPI document for one service, such as [`receive-money.json`](/openapi/v1/receive-money.json) |
| [`/openapi/sandbox-v1.json`](/openapi/sandbox-v1.json) | Every v1 operation in one document, with sandbox paths                                               |

Each v1 operation also carries `x-hubtel` metadata with:

* Its production host.
* Whether it has been reviewed (`curated`) or imported from legacy docs (`draft`).
* Whether the sandbox simulates it fully.
* Whether production needs an allowlisted server IP.

To download one service's spec:

```bash
curl -fsSO https://developers.hubtel.com/openapi/v1/receive-money.json
```
