Platforms integrate NextDocs through a JSON API. Typical uses:
- Create a documentation site when a customer signs up.
- Map the customer's domain.
- Open the editor with a single-use login link.
All responses use the same envelope:
{
"success": true,
"data": { "id": "…" }
}
Errors carry a machine-readable code and a human message.