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.td/api/docs/openapi.yamlOr download directly: openapi.yaml
Official SDKs
We provide official SDKs for popular languages — see the SDKs page for installation and usage.
| Language | Package | Repository |
|---|---|---|
| Node.js / TypeScript | npm install mailtd | mailtd/mailtd-node |
| Python | pip install mailtd | mailtd/mailtd-python |
| Go | go get github.com/mailtd/mailtd-go | mailtd/mailtd-go |
Import into API Clients
Postman
- Open Postman → Import → Link
- Paste:
https://api.mail.td/api/docs/openapi.yaml - Click Import
Insomnia
- Open Insomnia → Import/Export → Import Data
- Choose From URL
- Paste:
https://api.mail.td/api/docs/openapi.yaml
Bruno
- Open Bruno → Collection → Import
- Select OpenAPI → paste the URL or downloaded file
Generate Custom Client
If you need a language not covered by the official SDKs, use OpenAPI Generator:
bash
# Install
npm install @openapitools/openapi-generator-cli -g
# Generate (example: Ruby)
openapi-generator-cli generate \
-i https://api.mail.td/api/docs/openapi.yaml \
-g ruby \
-o ./mailtd-ruby