New Docs
On this page

POST /v1/docs/{id}/login-url returns a single-use link to the site's editor:

{
  "success": true,
  "data": {
    "url": "https://docs.acme.com/admin/login?token=…",
    "expires_at": "2026-11-11T10:05:00Z"
  }
}

Properties

  • The link works once and expires after about five minutes.
  • It opens the editor on the site's primary host, so the site needs a mapped host.
  • Only a hash of the token is stored on the server.

Create a fresh link every time a user chooses "Open editor".

Last updated