---
title: "Preflight an SSL request"
method: POST
path: "/v1/ssl/preflight"
tags: ["SSL"]
---

# Preflight an SSL request

`POST /v1/ssl/preflight`

## Request

- Base URL: `https://developers.servera.co.uk`
- URL: `https://developers.servera.co.uk/v1/ssl/preflight`
- Auth: HTTP bearer

Check, at **zero cost and without touching Let's Encrypt**, how a certificate
would be issued for each domain: which validation method we would auto-pick (hosting
AutoSSL, DNS-01, edge, or a delegated/HTTP-01 fallback), whether wildcards are
supported, and your remaining weekly issuance budget. Only domains you own are
accepted. **Always preflight (or dry-run) before issuing.**

## Request body

- SslPreflightBody
  - `domains` string[], required: Domain(s) to check. Use *.example.com for a wildcard.

## Response `200`

Successful Response

- SslPreflightResponse
  - `results` SslPreflightResult[], required
    - `domain` string, required
    - `chosen_method` string, nullable
    - `reason` string, required
    - `error` string, nullable
    - `alternatives` string[]
    - `wildcard_supported` boolean
    - `checks` object
    - `action_required` string, nullable
  - `budget` SslBudget, required
    - `registered_domain` string, required
    - `remaining` integer, required
    - `limit` integer, required
    - `window_days` integer
    - `resets_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/servera/apis/servera-developers-api.md) · [All operations](https://skmtc.dev/servera/apis/servera-developers-api/llms.txt) · [OpenAPI document](https://skmtc.dev/servera/apis/servera-developers-api/revisions/a196f94eee59?raw)
