The short answer
Judge a developer portal by one number: how long a developer new to your API takes from arriving to a first successful call. Postman calls this time to first call and argues it is the most important metric for a public API. The first session needs a key the developer can get without waiting on anyone, one quickstart for one job, code that runs as pasted with their own key, a sandbox where mistakes cost nothing, errors that name the fix, and a reference kept apart from the guides. Each is a design decision about the product, not a documentation task. Below are the decisions behind each, and a check to run on your own portal.
Measure the first session before you redesign it
Before changing a screen, decide what you are timing. Postman gives two start points. One is a point of discovery, such as a site visit or a sign-up. The other, in a later Postman post, is the moment a new user generates their credentials. Neither is wrong, and they measure different things. Starting at the first visit includes whether your home page tells a developer what the API does; starting at key creation isolates the docs and the code. Pick one, write it down, and keep it the same from release to release so the numbers compare.
The end point matters more. A successful response from a status endpoint proves the key works, not that the developer has seen why your API is worth integrating. Choose the call that shows your API's value: the first payment created, the first message sent, the first model response returned. Deciding what getting going means is the same question any product faces with new accounts that sign up but don't get going; for an API, the answer is one specific call.
Then measure it both ways Postman names. Web analytics gives the timing; usability testing, watching developers who have never seen your API attempt that call, gives the reasons. Analytics shows where people stop, and only watching shows why. Recruit people who match your real first-session reader, such as a backend developer at a customer or a data scientist trying a model endpoint, rather than your own engineers, who already know where everything is. When we design these screens, we work from prototypes tested with the client's users and engineers, so the first session is timed before anything ships.
From sign-up to API key
Four decisions sit between the sign-up form and a working key.
What to ask before the key. Ask only what the first call needs. Company size, use case and phone number can wait until the developer has something working and a reason to tell you more. Each field before the key is one more place to stop.
Test and live keys that cannot be confused. Stripe gives each mode its own set of keys and marks the mode in the key itself: sandbox keys start pk_test_, rk_test_ or sk_test_, live keys pk_live_, rk_live_ or sk_live_, and objects in one mode cannot be reached from the other (Stripe, API keys). A prefix is a small decision that keeps the mode visible in a log, a config file or a pasted snippet, places a toggle on a settings page cannot follow.
Where the key appears. A key that lives only on a settings page sends the developer away from the code they are trying to run. For a signed-in developer, show it inside the quickstart's code sample, so the sample runs as pasted. Then let them create, rotate and revoke keys from the place they will come back to when something breaks.
What waits, and why. Some products must verify a business, approve a use case or hold a sales call before live access. That need not block the first call: a build can start in a sandbox while verification runs, as it does at Stripe. Say plainly what is gated and what the developer can do in the meantime, so they can plan instead of guessing.
The quickstart: one job, written to run
A quickstart does one job: one outcome, start to finish, in as few steps as that outcome honestly needs. If the API does five things, pick the one most new developers come for and write the others as separate guides.
Let the developer choose a language once and remember the choice on every page, so they are not switching tabs on each code block. Make every step copyable, including the install command and the environment variable, and keep the prose between steps to what the developer must decide.
Postman's data on its own product shows why a runnable request beats a well-written page. Across the API publishers in its sample, developers who started from a publisher's ready-made collection of requests made a successful call between 1.7 and 56 times faster; for one API, the time fell from 17 minutes to 10 (Postman, time to first call). Each of those APIs already had documentation, and Postman notes that some of it was excellent. It credits the gain to requests formatted to run quickly and presented in a form developers already know. This is a vendor measuring its own tool, on a sample whose size the post does not give, so read it as a principle rather than a promised speed-up. Documentation that exists is not the same as a first call that runs.
Runnable examples and a sandbox with something in it
An example that fails when pasted costs more trust than no example at all. Run your published code samples as tests on each release, against the same sandbox your developers use, so a renamed parameter breaks your build before it breaks theirs.
A sandbox earns its place when the first call returns something worth looking at. In Stripe's sandbox, API calls return simulated objects: test customers, payment intents, refunds and subscriptions the developer can retrieve and use. Seed yours the same way, so a first read returns a realistic record rather than an empty list, and a first write produces an object the developer can then find in the console.
Let developers see what a capability does before it joins their work. In Eden AI's workflow builder, where we redesigned how developers start a workflow, preview cards and direct access to documentation let a developer inspect a capability before adding it to a workflow.
Errors that teach: API documentation UX where it matters most
A first session is mostly errors: a missing header, a misspelt parameter, a key from the wrong mode. Each one is either a dead end or a lesson, and the difference is design.
Three decisions make an error teach. The message names the parameter at fault and what to change. It links to the page that explains the error. And the portal shows the request that failed, so the developer can compare what they sent with what was expected. Stripe's error object carries all three: param, the parameter the error relates to; doc_url, a link to more about the error code; and request_log_url, a link to that request in the dashboard's log (Stripe, Errors). The IETF standard for HTTP API errors, RFC 9457, puts the principle in one line: the detail member "ought to focus on helping the client correct the problem".
Portal states need the same care. A revoked or expired key should say so and say where to make a new one, rather than returning a bare 401. A reached limit should say which limit, when it resets and how to raise it. Limits and usage views are a design problem of their own, which our article on billing and usage UX for AI features covers.
API documentation design: reference and guides do different jobs
Diátaxis, a documentation framework adopted in hundreds of projects by its own account, separates four needs and four forms: tutorials, how-to guides, technical reference and explanation, and organises documentation around them. The first session needs the tutorial, a guided path to one result. The reference serves week two, when the developer knows what they want and needs each parameter of one endpoint.
Mixing the two fails both readers. A quickstart that stops to list every optional field loses the newcomer; a reference padded with narrative slows the developer who came for one value. Keep them apart in navigation and link them at the point of use: each quickstart step links to the reference entry for the call it makes, and each reference entry links back to the guide that uses it.
Inconsistency is the common complaint. In Postman's 2025 State of the API Report, a vendor survey of over 5,700 developers, architects and executives, 55% said they struggle with inconsistent documentation. Much of that is a design problem as much as a writing one: one template per endpoint, the same order of sections on each page, the same name for the same thing throughout. When the API changes, a changelog and a reference versioned with it tell a returning developer what moved.
Layout is where API documentation design meets the product. Put the console, the request log and live previews in the same frame as the guide, so a developer can read a step, run it and see the result while the instructions stay on screen.
The next first session may be run by a coding agent
The developer reading your quickstart may hand it to a coding agent, or the agent may arrive on its own. In the same Postman survey, only 24% of developers said they design APIs with AI agents in mind. Postman's advice for APIs that people and machines can both use includes machine-readable OpenAPI descriptions, documentation that explains when and why to use an endpoint as well as how, and typed errors with actionable information for human developers and automated systems alike.
Some reference documentation already reads this way. Stripe's API keys and errors pages open with skills and plugins for coding agents, and offer each page in the terminal through its command-line tool.
Jatin Leuva, our founder and CEO, sees designers having to design for agents too, because in most software systems "their API or MCP or CLI will be connected to any agent".
The design implication is one first session that works for a person reading and for an agent executing. That means a machine-readable reference kept in step with the docs, typed errors an agent can act on without parsing prose, and a quickstart with no step that depends on reading a screenshot or guessing a value. Test it the way you test with people: give the quickstart to a coding agent with a fresh sandbox key, and note where it stops.
API developer portal best practices: a first-session check
Run this on your own portal this week, with a new account.
- Time your first call yourself, from the start point you chose to the call that shows your API's value.
- Watch two developers who have never used your API attempt the same call, and note where each one stops.
- Find your API key without searching, and check that the quickstart's code already contains it.
- Tell a test key from a live key by reading the key alone.
- Paste the quickstart unchanged and run it.
- Make a first call in the sandbox and check that it returns something worth reading.
- Break a call on purpose and read the error: does it name the parameter, link to an explanation and show the request?
- Revoke a key and run the call again: does the message say what happened and where to get a new one?
- Go from a quickstart step to its reference entry and back.
- Give the quickstart to a coding agent with a sandbox key, and see how far it gets.
Where this work sits
The API itself, its infrastructure and its security stay with your engineers. What a product designer designs is the developer-facing product: sign-up and first steps, the layout of the documentation, consoles, usage views and the error messages developers read. That is the scope of our work on developer tools and AI platforms, and it sits within product design for the developer-facing product. A defined piece, such as a portal's first session, can be a project; for ongoing work, a senior product designer works in your team, alongside the engineers who own the API.
Questions teams ask
What is a good time to first call? We have found no independent benchmark we can stand behind; the published figures come from vendors measuring their own tools. Take your own baseline from your chosen start and end points, then cut it release by release.
Should API documentation sit inside the developer portal or apart from it? Inside the same product and navigation, so the key, the quickstart and the console stay one task. A developer who signs up in one place and reads the docs in another has to carry their key between them. The reference can still be its own section, linked from each guide.
Do we need a designer for API docs, or a technical writer? For an internal API with a few known consumers, a good technical writer and a reference generated from the API description may be enough. Design pays where strangers must reach a first call on their own, where the portal also holds a console, usage and billing, or where coding agents will be readers too.
About the author
Chirag Patel
Product Designer
Chirag Patel is a Product Designer at Tcules, the digital product design studio in Ahmedabad. At Tcules, Chirag works on AI product UX and AI agents, and writes about questions such as whether search and an AI assistant should share one input, how users should choose a model, and how AI usage should be billed and shown. The pieces below speak for the studio, and this page grows as Chirag writes.