How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mail-in-a-Box DNS API

DNS operations, which include adding custom records, adding a secondary nameserver and viewing all DNS records.

Mail-in-a-Box DNS API is one of 7 APIs that Mail-in-a-Box publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include DNS. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

This API exposes 15 operations across 8 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 0.51.0.

Requests are made against a single base URL, https://{host}/admin.

15 operations 8 paths 17 schemas 2 DELETE7 GET4 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.51.0
Base URL
https://mailinabox.email/admin
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

Mail-in-a-Box DNS API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • basicAuth — Credentials can be supplied using the Authorization header in format Authorization: Basic {access-token}. The access-token is comprised of the Base64 encoding…

Paths & Operations 15

Across 8 paths, the API surfaces 15 operations — 2 DELETE, 7 GET, 4 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

DNS 15

DNS operations, which include adding custom records, adding a secondary nameserver and viewing all DNS records.

GET
/dns/secondary-nameserver
Get DNS secondary nameserver
getDnsSecondaryNameserver → 200403
POST
/dns/secondary-nameserver
Add DNS secondary nameserver
addDnsSecondaryNameserver body → 200400403
GET
/dns/zones
Get DNS zones
getDnsZones → 200403
GET
/dns/zonefile/{zone}
Get DNS zonefile
getDnsZonefile 1 param → 200403
POST
/dns/update
Update DNS
updateDns body → 200400403
GET
/dns/custom
Get DNS custom records
getDnsCustomRecords → 200403
GET
/dns/custom/{qname}/{rtype}
Get DNS custom records
getDnsCustomRecordsForQNameAndType 2 params → 200403
POST
/dns/custom/{qname}/{rtype}
Add DNS custom record
addDnsCustomRecord 2 params body → 200400403
PUT
/dns/custom/{qname}/{rtype}
Update DNS custom record
updateDnsCustomRecord 2 params body → 200400403
DELETE
/dns/custom/{qname}/{rtype}
Remove DNS custom record
removeDnsCustomRecord 2 params body → 200400403
GET
/dns/custom/{qname}
Get DNS custom A records
getDnsCustomARecordsForQName 1 param → 200403
POST
/dns/custom/{qname}
Add DNS custom A record
addDnsCustomARecord 1 param body → 200400403
PUT
/dns/custom/{qname}
Update DNS custom A record
updateDnsCustomARecord 1 param body → 200400403
DELETE
/dns/custom/{qname}
Remove DNS custom A record
removeDnsCustomARecord 1 param body → 200400403
GET
/dns/dump
Get DNS dump
getDnsDump → 200403

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are DNSDumpDomainRecord (4 properties), DNSCustomRecord (3 properties), DNSUpdateRequest (1 property), DNSSecondaryNameserverAddRequest (1 property). Each schema is shown below with its type and property counts.

DNSCustomRecordRemoveResponse
string
Custom DNS record remove response.
DNSDumpDomainRecords
array
List of domain records.
DNSDumpResponse
array
DNS dump response.
DNSCustomRecordUpsertResponse
string
Custom DNS record add response.
DNSDumpDomains
array
A list of records per domain. The first item in the list is the domain and the second item is the list of records.
DNSZonefileResponse
string
DNSUpdateResponse
string
DNS update response.
Hostname
string
Hostname format.
DNSZonesResponse
array
DNS zones response.
DNSSecondaryNameserverAddResponse
string
Secondary nameserver/s add response.
DNSCustomRecordsResponse
array
Custom DNS records response.
DNSUpdateRequest
object
DNS update request.
1 property 1 required
DNSSecondaryNameserverResponse
object
Secondary nameserver/s response.
1 property 1 required
DNSDumpDomainRecord
object
Domain DNS record details.
4 properties 4 required
DNSSecondaryNameserverAddRequest
object
Secondary nameserver/s add request.
1 property 1 required
DNSRecordType
DNS record type.
DNSCustomRecord
object
Custom DNS record detail detail.
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mail-in-a-box-dns-api-openapi.yml Raw ↑

Other APIs Mail-in-a-Box publishes across the network.

Mail-in-a-Box Mail API
Mail-in-a-Box MFA API
Mail-in-a-Box SSL API
Mail-in-a-Box System API
Mail-in-a-Box User API
Mail-in-a-Box Web API
Where this information came from

This is an independent, third-party profile of Mail-in-a-Box DNS API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.