Testmail GraphQL API
Full-featured GraphQL API for querying test emails from Testmail programmable inboxes. Supports advanced filtering, custom sorting, field selection, live queries, pagination, and spam reports. Bearer token authentication via Authorization header.
Testmail GraphQL API is one of 2 APIs that Testmail publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Email Testing and GraphQL. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.
This API exposes 1 operation across 1 path, and defines 7 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.
Requests are made against a single base URL, https://api.testmail.app/api.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Testmail GraphQL API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (BearerAuth).
By default, every request must be authenticated.
BearerAuth— API key as Bearer token. Obtain from the Testmail developer console and pass as: Authorization: Bearer YOURAPIKEY
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.
GraphQL inbox query endpoint
Schemas 7
The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are GraphQLEmail (9 properties), InboxResult (4 properties), GraphQLError (3 properties), GraphQLRequest (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Testmail 1
Other APIs Testmail publishes across the network.