Skip to content

By the Octri team · Updated

What is an API developer portal? Parts and examples

Share

An API developer portal is the website where developers find your API, get a key, make their first call and come back when something changes. The docs are one part of it, and this guide covers the rest.

What does an API developer portal include?

A developer portal has a job at every step of an integration, from the first visit to the day the API changes under someone's code. It opens with an overview that says what the API does and who it's for, and it hands out credentials, with test keys kept well away from live ones. Then there's a quickstart that ends in one successful request, guides for the tasks people came to do, and an API reference for every endpoint, generated from the spec.

Around those sit the parts that make the integration easier. SDKs and code samples cover the languages your users write, and a sandbox or a playground lets them try calls without real data. Search works from every page, and there's an index AI tools can read too. A changelog and a status page are there for the day something changes or breaks.

That's a lot of pages. You don't need all of them on launch day. Start with the keys, the quickstart and the reference, and add the rest as people ask for it.

API developer portal, defined

Think about flat-pack furniture. The API docs are the instruction booklet. The developer portal is the whole box: the booklet, the bag of screws, the little hex key, and the phone number on the back for when a part is missing. Your API key is the hex key, and nobody builds anything until they find it.

In practice, a developer portal is a docs site plus the parts around it that belong to a developer's account: signing up, creating and rotating keys, test environments, usage, and a way to get help. Some companies put all of that on one site. Others keep the docs public and put keys and usage in their product's dashboard, with links going both ways. Both are developer portals, as long as a developer can get from "what is this API" to a working call without emailing anyone.

If you search for "developer portal" you'll find a second meaning mixed in. Platform teams build internal developer portals for their own engineers, with a catalog of every service, who owns it and how to deploy it. Backstage, for example, describes itself as "an open source framework for building developer portals", and it's that second kind. This guide is about the first kind, the one your API's users see.

API docs site API developer portal Internal developer portal
Who reads it Developers using your API Developers using your API, partners, people evaluating it Your own engineers
What's in it Guides, reference, examples The docs, plus keys, sandbox, SDKs, changelog and status Service catalog, owners, templates, internal docs
Where it lives A docs domain A docs domain and the account dashboard Behind company sign-in

The parts of an API developer portal

Here's what each part does for the person using it. The order matches the order people need them in.

Part What the developer does there A good sign
Overview Decides if the API fits One paragraph says what it does, with a link to the quickstart
Credentials Gets a key A test key is one click away and clearly labelled
Quickstart Makes the first call Ends in a response you can recognize
Guides Finishes a real task Named after tasks, like "Send an invoice"
API reference Looks up an exact field Generated from the spec, every endpoint, every error
SDKs Installs a client Install command and first call on one page
Sandbox or playground Tries calls safely Test data that behaves like the real thing
Search Finds the answer Works from every page, finds endpoints and guides
Changelog and status Checks what changed or what's down Dated entries, breaking changes marked
Unofficial Slack API showcase built with Octri, with tabs for guides, SDKs, AI tools and the API reference, and search with Ask AI above the sidebar.
An unofficial Slack API showcase built with Octri. Guides, SDKs, AI tools and the API reference each get a tab, and search sits above the sidebar on every page.

Credentials and test keys

The key is the first thing a developer needs, so put it where the code is.

Stripe's API keys page does this well. Its code sample has a sandbox secret key in it, the kind that starts with sk_test_, and the same page explains sandbox and live mode side by side. You can copy the sample and run it against test data before you've read anything else.

Rule of thumb: a test key should never be able to touch real data, and it should look different from a live key at a glance. A prefix does that for free. How to document API authentication goes deeper on scopes, rotation and the 401 versus 403 question.

Sandbox and playground

A sandbox is a copy of your API that runs on fake data. A playground is a form in the docs that sends a request and shows the response. They solve the same problem from two sides, which is letting someone see real behavior before they commit.

Plaid's Sandbox is the example I'd copy. To link a fake bank account you sign in with the username user_good and the password pass_good, and that one documented line gets a developer past the hardest screen in the whole integration.

Unofficial Plaid API showcase built with Octri, showing the Link guide with its operations table and a TypeScript example, and a Sandbox page in the sidebar.
An unofficial Plaid API showcase built with Octri. Each product's guide lists its operations with a generated example, and the Sandbox page sits in the same sidebar.

Reference, guides and SDKs

These three answer different questions. The reference says exactly what an endpoint accepts and returns. A guide says which endpoints to call, and in what order, to get something done. An SDK takes care of the HTTP, the retries and the types so the developer writes less of it.

Keep the names the same across all three. If the reference calls it a customer, the guide shouldn't call it a client and the SDK shouldn't call it an account. API reference vs guides has more on where each kind of fact belongs.

Versions and changelog

A developer whose code worked yesterday comes back to the portal for one reason: something changed. The portal should tell them what, and when.

GitHub's REST API docs put a version picker on every page and spell out the rule. You send the X-GitHub-Api-Version header, a request without it gets the 2022-11-28 version, and a version that's no longer supported gets 410 Gone. That's three sentences, and they answer the questions people would otherwise open a support ticket for. How to version API documentation covers the docs side of versioning.

Search, and the readers that aren't people

Most visits to a portal start with a search, either in the portal's own search box or in a search engine. More and more of them start in an AI coding tool too, which reads your docs to write the integration code. In Stack Overflow's 2025 survey, 84% of respondents said they use AI tools in their development process or plan to. Publishing an llms.txt index and keeping the reference crawlable helps both, and an API catalog tells programs where all of it lives. How to make API documentation AI-readable walks through it.

Diagram of an API developer portal as a path: find the API, get a test key, make the first call, build the integration and come back when it changes, with the portal parts that serve each step.
Each part of a developer portal serves one step of the path from first visit to a working, up-to-date integration.

Public, partner and private portals

Not every portal is for everyone.

A public portal is open to anyone, and search engines and AI tools can read it. That's the right default for most APIs, because the docs are part of how people find you.

A partner portal is for companies you've signed an agreement with. The docs sit behind a sign-in, and partners usually get their own keys and a named contact.

A private portal is for your own developers, or for an API you only offer to a few customers. It sits behind a password or your company's single sign-on.

Rule of thumb: keep the reference public unless the API itself is a secret. Hiding it also hides it from search engines and AI tools, and the endpoints of a public API aren't much of a secret to anyone who opens their browser's network tab.

Time your own portal

Here's a test that takes ten minutes and tells you more than a survey.

Open a private browser window and start a timer. Go from your portal's home page to a successful request, with a new account and nothing you already know. Every time you stop to look for something, write down what you were looking for and where you expected it to be.

I ran it on GitHub's REST API docs while writing this guide, counting clicks and stops. The home page puts "Quickstart for GitHub REST API" first, so that was one click, and the quickstart opens on the GitHub CLI, so switching to curl was the second. The first stop came at step two, "Create an access token", which sends you off to your account settings before you've run anything.

Then I tried the quickstart's own curl request without a token. It came back 200 OK with 30 issues, and the headers showed an unauthenticated limit of 60 requests an hour. The token wasn't needed for that first call at all. I also pasted the sample unchanged, placeholder and all, and got 401 Unauthorized with "Bad credentials" and a link back to the docs in the error body. That error is the best part of the whole path, because it tells you exactly what went wrong and where to read about it.

Getting to the code took two clicks, and the one stop on the way was a step the first call didn't need. If your first example works without a key, say so next to it, and if it doesn't, put the link to create one right there.

Then ask someone who has never used your API to do the same, and watch without helping. The places they stop are your to-do list, in priority order. Time to first call is the one number that sums up a developer portal, and it's cheap to measure.

API developer portal best practices

  • Put the key next to the code. The quickstart should show where the key comes from in the same place it shows the request that uses it.
  • Keep test and live apart. Different keys, different prefixes, and data that can't leak from one to the other.
  • Make the first call the shortest path. From the home page to a working request should take a few clicks, with the steps in the order people need them.
  • Generate the reference from the spec. Hand-written parameter tables drift away from the API after a few releases. A reference built from the OpenAPI file changes when the API does.
  • Use one name for one thing. The guides, the reference and the SDKs should agree on every resource name.
  • Date every change. A changelog with dates and marked breaking changes answers "what happened" before anyone has to ask.
  • Let machines read it. Crawlable pages, an llms.txt index, and Markdown versions of pages help search engines and AI tools.
  • Keep a person in reach. A support link and a status page belong in the portal, where people look when something breaks.

For examples of these habits on well-known APIs, see API documentation examples.

API developer portal checklist

  • An overview that says what the API does, with a link to the quickstart.
  • Test keys that are easy to get, labelled, and separate from live keys.
  • A quickstart that ends in a response the reader can recognize.
  • Guides named after tasks.
  • An API reference generated from the OpenAPI spec.
  • SDK pages with the install command and a first call.
  • A sandbox or a playground with realistic test data.
  • Search on every page, and an llms.txt index for AI tools.
  • A dated changelog with breaking changes marked, and a status page.
  • The same resource names across guides, reference and SDKs.
  • A timed first-call test, repeated after big changes.

API developer portal with Octri

Octri API Studio builds the docs part of a developer portal from your OpenAPI spec and keeps it current. When you import a new version of the spec, the reference updates and Octri writes the changelog entry, with breaking changes marked. You write the guides next to the reference, and readers get search on every page, an AI chat that answers from your pages, and a playground on each endpoint once you turn it on. Custom domains are on every plan, Free too.

The other parts come from the same spec. SDK Studio generates client libraries in ten languages, and each one gets its own page in the docs with the install command and example code. There's an llms.txt for AI tools, WebMCP if you want browser agents to use your docs, and a hosted MCP server if you want agents to call the API itself. If the portal shouldn't be public, the Growth plan puts it behind a password and Enterprise puts it behind your single sign-on.

Share

Keep reading