Prompt
How do I choose between different API documentation platforms for internal and external developers?
Latest observation
Choosing an API documentation platform is mostly about who the docs are for, how the API is consumed, and how much governance you need. Internal and external developer docs often need different levels of access control, polish, and integration.
1) Start by separating internal vs external use cases
Internal developer docs
Prioritize:
- Authentication and access control: SSO, SCIM, role-based access
- Fast iteration: easy editing, auto-sync from OpenAPI/Markdown/Git
- Search and discoverability
- Versioning and changelogs
- Integration with internal tools: Slack, Confluence, Jira, GitHub/GitLab
- Private deployment options if needed
Common needs:
- Multiple teams contributing
- Documentation for services, runbooks, and API references
- Docs embedded in internal portals or engineering hubs
External developer docs
Prioritize:
- Excellent developer experience: clean UI, examples, quickstart guides
- Public-hosted reliability and performance
- Branding/custom domain
- SDKs, code samples, and interactive API explorer
- Versioning and deprecation support
- Analytics to see what docs are used
- Security: public/private endpoint separation, hidden/internal-only notes
Common needs:
- Onboarding new customers or partners
- Self-serve API adoption
- Portal features like keys, auth guides, sandbox/test data
- Support deflection through clear docs
2) Compare platforms on the dimensions that matter
Use these criteria for both, but weight them differently:
A. Source of truth
Ask:
- Does the platform render from OpenAPI/AsyncAPI/GraphQL, Markdown, or both?
- Can docs be generated from code comments or Git?
- Is there a Git-based workflow or CMS-style editing?
Rule of thumb: If your API changes frequently, choose a platform that can sync from spec in CI/CD.
B. Access control and audience separation
Ask:
- Can you create public and private spaces?
- Can you restrict by SSO groups, teams, or permissions?
- Can you hide specific pages or endpoints from certain audiences?
Important for hybrid use: External docs often need a public portal with a separate private/internal area.
C. Developer experience
Ask:
- Is search good?
- Can users try endpoints in-browser?
- Are examples clear and language-specific?
- How good is the layout on mobile and low-bandwidth connections?
- Does the platform support guides, reference docs, and tutorials together?
D. Versioning and lifecycle management
Ask:
- Can you manage multiple API versions simultaneously?
- Can you mark deprecated endpoints?
- Can you publish release notes/changelogs?
- Can you archive old versions cleanly?
E. Collaboration and governance
Ask:
- Does it support review workflows, approvals, and publishing permissions?
- Can product, support, and engineering all contribute?
- Does it integrate with GitHub/GitLab PRs?
F. Analytics and feedback
Ask:
- Can you track page views, endpoint usage, failed searches, and drop-offs?
- Can users leave feedback on pages?
- Do you get insights for external developer adoption?
G. Extensibility and integrations
Ask:
- Can you embed auth flows, Postman collections, SDK links, changelog feeds?
- Does it integrate with CI/CD, identity providers, CMS, ticketing, and support tools?
H. Security and compliance
Ask:
- SSO/SAML/OIDC?
- Audit logs?
- Data residency?
- Self-hosting or VPC deployment?
- Fine-grained permissions?
3) Common platform categories
Spec-first documentation portals
Best when:
- Your APIs are defined in OpenAPI/AsyncAPI
- You want auto-generated reference docs
- You value consistency and automation
Good for:
- Internal service catalogs
- External API references
- Teams with strong engineering ownership
Potential downside:
- Weaker content management for rich tutorials unless paired with Markdown/CMS
Documentation site platforms/CMS
Best when:
- You need more narrative content, tutorials, and branded experiences
- Non-engineers contribute to docs
- You want polished publishing workflows
Good for:
- External developer portals
- Product docs adjacent to APIs
- Mixed docs: guides + reference + onboarding
Potential downside:
- Spec sync may be less native; risk of drift if not integrated well
Developer portal platforms
Best when:
- You need docs plus onboarding, API keys, sandboxes, analytics, and support
- External developers are a primary audience
Good for:
- Public API ecosystems
- Partner portals
- Self-service onboarding
Potential downside:
- Can be heavier and more expensive than simple docs tools
Internal knowledge base / wiki platforms
Best when:
- The audience is primarily employees
- You need fast authoring and broad internal knowledge sharing
Good for:
- Internal API references mixed with ops docs and runbooks
- Low-friction collaboration
Potential downside:
- Often weaker for polished external docs, API interactivity, and version control
4) A practical decision matrix
Score each platform 1–5 on these for your use case.
For internal docs, weight more heavily:
- SSO/security
- Git/CI sync
- Search
- Ease of editing
- Versioning
- Internal integrations
- Cost and admin overhead
For external docs, weight more heavily:
- Public UX and branding
- Interactive API explorer
- Guides/tutorial support
- Analytics
- Versioning/deprecation
- Reliability/performance
- Developer portal features
A simple starting weight split:
- Internal: Security 20%, Workflow 20%, Search 15%, Versioning 15%, Integrations 15%, UX 10%, Cost 5%
- External: UX 20%, Spec support 20%, Versioning 15%, Analytics 15%, Security 10%, Branding 10%, Integrations 10%
5) Ask these key questions before buying
-
Who owns the docs?
- Engineering, DevRel, product, support, or all of the above?
-
What is the source of truth?
- OpenAPI, Markdown, code comments, or a mix?
-
Do you need separate internal and external portals?
- If yes, can the platform manage both cleanly?
-
How often does the API change?
- Daily changes favor Git-based/spec-first systems.
-
Do you need interactivity?
- Try-it consoles, auth token handling, SDK snippets, sandboxing.
-
What compliance constraints exist?
- SOC 2, HIPAA, SSO, audit logs, data residency, self-hosting.
-
Who needs to edit?
- If many non-developers edit, a CMS-style workflow may help.
-
What does success look like?
- Faster onboarding, fewer support tickets, higher API adoption, better internal discoverability.
6) A good default strategy for many teams
If you need both internal and external docs, a strong pattern is:
- Use OpenAPI as the source of truth
- Publish external docs in a polished portal
- Publish internal docs in a private space or separate site
- Keep narrative guides in Markdown
- Automate publishing through CI/CD
- Use analytics to improve external docs
- Use SSO and permissions for internal docs
This setup reduces drift and keeps both audiences well served.
7) Red flags to watch for
- Platform can’t separate public/private content cleanly
- Docs drift because spec and narrative live in different places with no workflow
- Poor search or no analytics
- Hard-to-use editing for non-engineers
- Weak versioning support
- No path to custom domain/branding
- Lock-in with no export or Git integration
8) Quick recommendation pattern
- Mostly internal APIs: pick a Git-native/spec-first platform with strong access control and search.
- Mostly external APIs: pick a developer portal platform with branding, interactivity, and analytics.
- Mixed audience: choose a platform that supports both public and private documentation spaces, or use two layers:
- internal knowledge base for internal operational docs
- external developer portal for customer-facing API docs
If you want, I can also give you:
- a vendor comparison checklist,
- a weighted scoring template, or
- a shortlist of popular platforms by use case.