client.openapi
This API description, as OpenAPI 3.1. These methods are on client.openapi, where client is a MoreVoice client (see the Python SDK). On AsyncMoreVoice the same methods are awaited. Each one returns the response object and raises an exception 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.
def postman(self) -> Any | _m.OpenapiPostmanResponse200client.openapi.postman() · await async_client.openapi.postman() · GET /postman.json · API reference
Returns
Section titled “Returns”An object:
| Field | Type | Description |
|---|---|---|
info |
object |
— |
item |
any[] |
— |
Example
Section titled “Example”from morevoice import MoreVoice
client = MoreVoice() # MOREVOICE_API_KEY from the environment
openapi = client.openapi.postman()print(openapi)