mv.openapi
This API description, as OpenAPI 3.1. These methods are on mv.openapi, where mv is your client (see the Node.js SDK). Each one returns the response object and throws when the API answers with an error.
postman()
Section titled “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.
mv.openapi.postman(options?: RequestOptions): Promise<OpenapiPostmanResponse>GET /postman.json · API reference
Parameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
options |
RequestOptions |
no | idempotencyKey, extra headers and an abort signal: see retries and idempotency. |
Returns
Section titled “Returns”An object:
| Field | Type | Description |
|---|---|---|
info |
object |
— |
item |
any[] |
— |
Example
Section titled “Example”import MoreVoice from "@morevoice/sdk";
const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment
const openapi = await mv.openapi.postman();console.log(openapi);