New Docs
On this page

Create a site

curl -X POST https://docs-service.example.com/v1/docs \
  -H "Content-Type: application/json" \
  -d '{"owner_ref": "customer-42", "title": "Acme Docs"}'

The response contains the site's id and a short sid.

Fields

Field Required Notes
owner_ref yes Your identifier for the customer
title yes Site title shown in the top bar
tagline no Short description

Suspend and resume a site with POST /v1/docs/{id}/suspend and /resume.

Last updated