# mv.openapi

> The openapi methods of @morevoice/sdk: This API description, as OpenAPI 3.1.

This API description, as OpenAPI 3.1. These methods are on `mv.openapi`, where `mv` is your client (see [the Node.js SDK](https://docs.morevoice.ai/sdk/node/#connect)). Each one returns the response object and throws when the API answers with an error.

## `postman()`

**Get the Postman collection.** This API as a Postman collection (v2.1): one folder per resource, example bodies, Bearer `{{api_key}}`. Import it, or use the Run in Postman button in the docs. No API key needed.

```ts
mv.openapi.postman(options?: RequestOptions): Promise<OpenapiPostmanResponse>
```

`GET /postman.json` · [API reference](https://docs.morevoice.ai/api/operations/openapi_postman/)

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `options` | `RequestOptions` | no | `idempotencyKey`, extra `headers` and an abort `signal`: see [retries and idempotency](https://docs.morevoice.ai/sdk/typescript/retries/). |

### Returns

An object:

| Field | Type | Description |
| --- | --- | --- |
| `info` | `object` | — |
| `item` | `any[]` | — |

### Example

```ts
import MoreVoice from "@morevoice/sdk";

const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment

const openapi = await mv.openapi.postman();
console.log(openapi);
```
