sendmux-management
Generated Python client for the Sendmux Management API.
Documentation
- Management API reference: sendmux.ai/docs/api/introduction
- Source repository: Sendmux/sendmux-sdk
Requirements
- Python 3.10 or newer.
- A root Sendmux API key with the
smx_root_*prefix.
For OAuth, use a REST access token with the scopes and mailbox access required by the operation. See OAuth for REST APIs.
Installation
pip install sendmux-management
OAuth access tokens
Pass either api_key or access_token. access_token accepts a bare token string or a synchronous callable; the callable is evaluated for each authenticated request. Your application owns token storage, expiry checks and refresh coordination.
import os
from sendmux_management import create_management_client
client = create_management_client(
access_token=lambda: os.environ["SENDMUX_ACCESS_TOKEN"]
)
Usage
import os
from sendmux_management import DomainsApi, create_management_client
client = create_management_client(api_key=os.environ["SENDMUX_MANAGEMENT_API_KEY"])
api = DomainsApi(client)
domains = api.management_list_domains(limit=25)
for domain in domains.data:
print(domain.id, domain.domain)
The package exports every generated Management model and API class plus:
create_management_clientconfigure_managementSendmuxManagementApiClient
Conditional requests
Generated methods expose ETag parameters directly when the API operation supports them.
import os
from sendmux_management import DomainsApi, create_management_client
client = create_management_client(api_key=os.environ["SENDMUX_MANAGEMENT_API_KEY"])
api = DomainsApi(client)
domain = api.management_get_domain(
public_id="mdom_123",
if_none_match='W/"etag"',
)
print(domain.data)
Support
Open an issue in Sendmux/sendmux-sdk with the package name, version, and request ID from any API error.
Licence
MIT. See the licence file.
Metadata
Release files for sendmux-management 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sendmux_management-2.0.1.tar.gz | 81.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sendmux_management-2.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 335.1 kB
Release files / sendmux_management-2.0.1.tar.gz
| Download URL | sendmux_management-2.0.1.tar.gz |
|---|---|
| Size | 81.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ae35c176e170beef62cfa9e0596b9c12e4b58d1cff501fd7a61da2e318fb454
|
|
BLAKE2b-256 checksum How to use checksums |
91c9797b1ca29f830012801cfc98343bac96d192a11f09fdef2f797e0aa5cbc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / sendmux_management-2.0.1-py3-none-any.whl
| Download URL | sendmux_management-2.0.1-py3-none-any.whl |
|---|---|
| Size | 253.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b54079b5a7c300060d9f3f70dd385e018cbc88cd3fcc46746ac75c2d702609cf
|
|
BLAKE2b-256 checksum How to use checksums |
3451adf0b984194d0fa87176d02d843fb9ed73c2220c26852665b5dfa2e61484
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency log