Preview Portfolio Draft
Returns the caller's own portfolio draft for rendering a preview, without publishing it. The response is a trimmed projection of the document, not a full `Document` record — it has no `slug`. Session-authenticated only.
Internal session cookie for local development.
In: cookie
Path Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/portfolios/preview/string"{ "success": true, "message": "string", "data": { "id": "string", "templateId": "signal", "content": {}, "revision": 0, "updatedAt": "2019-08-24T14:15:22Z" }}Check Portfolio Subdomain AvailabilityGET
Previous Page
Publish PortfolioPOST
Publishes the given draft revision to its chosen subdomain, making it publicly reachable. Premium templates (`nimbus`, `cipher`) require an active Creator Pro subscription. **Current-state caveat:** in production, publishing is gated behind a hardcoded `ADMIN_EMAIL` check independent of plan tier (`isAdminUser`) — regular users can save drafts, preview, and manage everything except actually flipping a portfolio live. This is a temporary rollout restriction, not a permanent product limitation. Only administrators can exercise this endpoint end-to-end in production today; it is unrestricted in development.