Developer Portals
Every API project in SpecDoc gets a hosted developer portal — a public-facing documentation site your customers can browse, try live requests, and export collections from.
What's in a portal
Default portal URL
When you publish your first spec, SpecDoc automatically creates a portal at:
https://app.speclayer.net/portal/{projectSlug}This URL is live immediately and updates within seconds of every successful pipeline run. The portal_url is also printed in your pipeline output after each publish.
Custom domains
On the Pro plan and above, you can serve your portal at your own domain (e.g. developers.acme.com).
Setup steps:
- 1Add your domain in the portal settingsGo to your project → Portal → Custom Domain. Enter the domain you want to use.
- 2Add a CNAME recordIn your DNS provider, create a CNAME record pointing your domain to portals.speclayer.net.
- 3Wait for DNS propagationDNS changes can take up to 48 hours to propagate. SpecLayer will automatically provision a TLS certificate once the CNAME resolves.
Type: CNAME Name: developers (or @ for root domain) Value: portals.speclayer.net TTL: 3600
Portal branding
Customize your portal appearance from the Portal settings page or via a config file committed to your repo:
branding: logo: ./assets/logo.svg # path relative to repo root favicon: ./assets/favicon.ico primaryColor: '#6366f1' companyName: 'Acme Corp' portal: title: 'Acme Payments API' description: 'Complete reference for the Acme Payments API v2' hideSpecLayerBranding: true # Pro plan and above
Access control
Portals are public by default — no login required for your customers. To restrict access, you can enable portal authentication: