Modèle · API + guides
La configuration TestInbox utilisée dans la présentation du produit.
import { defineConfig } from "@specistry/config";
export default defineConfig({
schemaVersion: 1,
name: "TestInbox",
openapi: "./openapi.yaml",
branding: { logo: "./assets/logo.svg", accent: "#7c3aed" },
navigation: [
"quickstart",
"authentication",
{ section: "Guides", items: ["guides/attendre-un-message"] },
{ api: true, label: "Référence API" },
],
environments: {
sandbox: { label: "Sandbox", baseUrl: "https://sandbox.testinbox.email" },
},
playground: { mode: "browser", environments: ["sandbox"] },
});---
title: Démarrage rapide
description: Votre premier e-mail de test en cinq minutes.
---
<Steps>
<Step title="Créer une boîte">
Appelez [Créer une boîte](/api/inboxes/create-inbox).
</Step>
<Step title="Attendre l’e-mail">
```typescript title="inscription.test.ts"
const msg = await inbox.messages.wait({ timeout: 30_000 });
```
</Step>
</Steps>