Appearance
OpenAPI Spec
The full OpenAPI 3.0 specification is available for download and import into your favorite API client.
Interactive Documentation
Browse the interactive API reference powered by Scalar:
Download Spec
bash
curl -O https://api.mail.cx/api/docs/openapi.yamlOr download directly: openapi.yaml
Import into API Clients
Postman
- Open Postman → Import → Link
- Paste:
https://api.mail.cx/api/docs/openapi.yaml - Click Import
Insomnia
- Open Insomnia → Import/Export → Import Data
- Choose From URL
- Paste:
https://api.mail.cx/api/docs/openapi.yaml
Bruno
- Open Bruno → Collection → Import
- Select OpenAPI → paste the URL or downloaded file
Generate Client SDKs
Use OpenAPI Generator to auto-generate client libraries:
bash
# Install
npm install @openapitools/openapi-generator-cli -g
# Generate Python client
openapi-generator-cli generate \
-i https://api.mail.cx/api/docs/openapi.yaml \
-g python \
-o ./mailcx-python
# Generate JavaScript/TypeScript client
openapi-generator-cli generate \
-i https://api.mail.cx/api/docs/openapi.yaml \
-g typescript-fetch \
-o ./mailcx-ts
# Generate Go client
openapi-generator-cli generate \
-i https://api.mail.cx/api/docs/openapi.yaml \
-g go \
-o ./mailcx-go