Shadow Docs
[The API Documentation Checklist | Archbee Blog](https://www.archbee.com/blog/api-documentation-checklist)
28 min
https //www archbee com/blog https //www archbee com/blog documentationupdated november 4, 2025 dragos dragos founder, robot with feelings from planet aiur http //twitter com/happydragos https //www linkedin com/in/dragos bulugean/ api documentation is created for developers, so it needs to contain descriptive and practical code based elements to be valuable to its users our api documentation checklist covers both elements and some handy optimization and sharing practices the api documentation checklist the intended audience of api documentation are developers who need to simultaneously learn about the api and understand how to use it in their work as such, it needs to contain both descriptive and practical code based elements to really be valuable to its users this checklist covers both elements, as well as some handy optimization and sharing practices for https //www archbee com/blog/api documentation by ticking some, or most, of the boxes on this list, you should be left with a well rounded api knowledge base developers will love coming back to let’s start at the very beginning \#general overview starting an api document with a general overview section is always a good idea, so make sure you’ve included one in every article here's a few https //www archbee com/blog/types of api documentation ! we’ve seen a lot of documentation that dives straight into the code, preferring not to waste the user’s time with introductions and overviews but this could have the opposite effect it’s quite possible for users to waste enormous amounts of time exploring the wrong documentation because there isn’t an introductory section to tell them what lies ahead thankyouprism tweet source twitter to avoid the frustrating situation in our above example, try to do a good job providing a general overview of the document you’re writing here’s how stripe does it how stripe does api source stripe stripe’s documents always start with a short introduction explaining exactly what the action, object, or resource in the documentation does it provides an explanation of the topic of the document and tells the reader what they will be able to achieve once they follow the guide after reading this section, the user knows if this is the information they were looking for or if they need to keep searching this section should take you just a few minutes to write but it’s incredibly useful to users, so make sure each document has a general overview right at the top \#getting started guide every activity has a starting point or a way to begin and working with apis is no different to show your users how the api works, you need to give them the first steps in the form of a getting started guide here’s a quick example graphql’s api guide example of graphql’s api guide source graphql this is a very typical, developer friendly way to help users get started there’s a quick introduction followed by a description of the way to install or launch the product or feature or action (depending on the document) in this case, the user can get started by copying and using a piece of code that will launch a graphql server the guide then continues with the other steps the user should take to successfully install and use the product you can see what those steps are in the menu on the left hand side graphql getting started source graphql providing this kind of fast launch option allows the user to quickly and easily immerse themself in the api and keeps them engaged because they’re doing much more than just reading documentation they’re actually using the product in parallel to learning how it works the point here is that providing a getting started guide makes your documentation more engaging and interactive for users that means users are much more likely to keep reading the documentation and, by extension, find success using your api \#developer fundamentals in addition to an overview and a starting guide, another introductory element to include in your api documentation are the developer fundamentals these are the basic functioning parameters of the api and they need to be described thoroughly in order for the api to be used correctly and without problems here are some developer fundamentals you might consider including in your documentation error codes authentication rate limits terms of use changelog uri (endpoint) having these elements included in the documentation makes it extremely valuable to developers and works as a sort of reference to help them work faster and more efficiently take error codes, for example developers working with the api are likely to encounter errors along the way example of error codes in api source github in that case, if error codes are available in the documentation, the developer can simply look up the error to find out what’s happening we’re using twiilio’s api and documentation for this example example of twiilio’s api and documentation source twilio and if the api documentation is really exhaustive, it will also propose some possible causes and steps to fix the error in the shortest time possible twilio error 20003 source twilio remember, api documentation is all about providing users with https //www archbee com/blog/api documentation tools and actionable advice to make working with your api a breeze a developer fundamentals section is a must if you want to provide a quick and practical reference developers will keep coming back to \#description section it’s true that developers prefer to dive straight into the code and try everything out for themselves, which means api documentation is a https //www archbee com/blog/types of technical documentation that isn’t very text rich and relies more on code to get its point across plaid docs link web sdk source plaid nevertheless, api documentation is used by actual people, meaning it needs to provide guidance in textual form, as well as code therefore, while you’re checking your documentation, don’t forget to confirm that things like parameters, endpoints, calls, and authentication methods are described in detail authentication is a great case in point here there’s a variety of ways to authenticate api requests, so it’s crucial to be very specific in explaining your methodology to users for example, github has a very detailed explanation of the basics of authentication that users can read through in order to understand the ins and outs of the authentication process for their rest api authenticating to the rest api with an oauth app source github as for other elements, such as parameters, don’t hesitate to repeat yourself even when very similar calls are concerned, the full description needs to be present every time because your users won’t be reading the entire documentation, but rather specific articles that interest them to make a long story short, your api documentation isn’t ready for publishing until each document and article is supplemented with a proper description \#code samples now we’re coming to the fun part, at least as far as your developer users are concerned code samples are the element of your api documentation that shows developers how to accomplish different things and respond to a variety of scenarios that’s why, as a rule of thumb, you should provide code samples at every possible opportunity, especially in documents guiding users through the more complex and sophisticated workflows trust us, your users will love you for it even better, trust the data twilio has studied their own documentation to see what kinds of documents their users prefer as it turns out, developers stay on the page for longer when code samples are introduced sooner rather than later signal london 2016 how twilio writes documentation source twilio youtube shopify’s api documentation implements this lesson well their documentation is full of code samples that allow developers to do almost anything within the scope of the api, like retrieving a customer’s information shopify’s api documentation source shopify as you can see, the documentation wastes little time providing the user with the code they can use right away that last point is very important if you’re going to provide code samples, you want users to be able to implement them without delay the best way to do this is to enable users to copy and paste the sample straight into their own application if you’re writing your documentation in https //www archbee com/blog/software documentation , such as https //www archbee com/ , this should be easy to do as this kind of software enables you to input code and make it readily available multi language code editor source archbee com code samples make api documentation interactive and actionable, so don’t forget to include as many as you can while you’re guiding users through the api \#examples in different programming languages as long as we’re on the topic of samples and examples, it’s worth noting that developers can use practically any programming language when working with apis to create requests that means you should do your best to provide examples in multiple programming languages that way, you’ll be sure your documentation helps the largest possible number of developers who turn to your api documentation in search of guidance and quick solutions for instance, mailchimp’s api documentation provides code samples in five languages users are free to hand select which language they want the code to be presented in mailchimp’s api documentation source mailchimp once again, this kind of support is only possible if you’re creating your documentation in modern documentation software archbee has a multi language editor that allows https //www archbee com/blog/api writer to input code in different languages and organize the same example according to programming language using handy tabs multi language code editor php source archbee com by doing this, the user instantly sees which languages are available for this example and can switch between them effortlessly, should they need a comparison, or different versions of the sample code for their work keep in mind that your api users will be working with different applications and don’t forget to check that every piece of code you’re providing is available in all the languages you want to offer in your documentation \#http methods http request methods are an integral part of working with apis they are used to structure requests and responses when a client communicates with a server there are multiple http request methods that do different things, so it’s a good idea to provide a quick reference to them in your documentation and explain how they work with your api let’s revisit shopify’s api documentation to see how they handled http methods in their documentation shopify’s api documentation source shopify there are a couple of great practices to note here first, every type of request is quickly described, providing clarity to the user on what it is that the request does for example, a post request is used to create a new product secondly, and this ties in nicely with our previous section on code samples, each request method is supplemented with an example that allows the user to see the request in action http request methods are standard stuff, but no api documentation should skip explaining their methods as they are applied to their specific product \#tutorials for common use cases when https //www archbee com/blog/technical documentation review , take the opportunity to check if you’ve included enough educational content for your users in most cases, this means step by step tutorials that cover common use cases for your api tutorials are a great way to show users everything that can be achieved using the product and help developers go above and beyond with your api, so it’s definitely worth the effort to provide them as a part of your api documentation twitter’s api is actually quite famous for providing tutorials for any use case developers can think of instructions and examples to help you get started on twitter developer platform source twitter providing this wealth of resources, twitter’s api documentation helps developers learn about the api through practice and use, while at the same time giving them new ideas on how to implement the api into their own work here’s an interesting tutorial on how to analyze the overall sentiment on individual tweets how to analyze the sentiment of your own tweets source twitter if you don’t know where to begin, just brainstorm the common uses of your api and then provide a tutorial for each one don’t forget, the key to a successful tutorial is providing enough details break the process you’re trying to present into as many steps as possible and put them into sequential order if possible, provide visual aids and screenshots to show the user how every step of the process works and before you know it, you’ll have a helpful, easy to follow tutorial for even the most complex use cases for your api \#api explorer another developer friendly resource to have in your documentation is the api explorer this interactive feature allows developers to run simulations of various actions that can be done using the api before they implement them into their own products the value of this should be obvious an api explorer presents developers with a way to test out the api, without consequences for their product they can simulate all of the responses from the api and see exactly how it will integrate with their application google’s api explorer has one of the most exhaustive directories of apis developers can try out to see what kind of responses they can get google’s api explorer source https //developers google com/apis explorer all a developer needs to do is search for the api they want to explore within the documentation and then select the method to try out for example, here’s google’s api for abusive experience reports for pages the method selected is get google’s api for abusive experience reports for pages source google the user can then read about the action and, once they’re ready, they can try it out through a window that pops up on the right hand side steps on how to try the method source google the environment where an api is tested within the documentation in this way is sometimes called a sandbox, emphasizing the fact that this is a place for developers to play and build with the api, without having to integrate the api into the application they’re working on so if your documentation doesn’t have this feature, consider if you have the resources and time to add it as it will definitely be appreciated \#documentation optimization the last item on this checklist addresses usability, user experience, and shareability in these matters, api documentation is similar to a lot of other types of online content, meaning you can improve your documentation by applying some good old fashioned seo seo practices in documentation mostly have to do with urls, as well as using titles and subtitles to make your documents shareable and easily searchable as far as urls are concerned, all you need to do is make them descriptive so that the user can discern what the document is about, just by looking at their address bar creating your charthop org source charthop this has the added benefit that it makes the online document easy to bookmark and share because the title of the page will be instantly recognizable to the user online document easy to bookmark source archbee com even more importantly, you should check how your api documents are structured are the articles properly titled and divided into subsections, each starting with the correct subtitle? navigating charthop source charthop this kind of organization helps users navigate the page it makes all the information easily scannable, so users can find what they’re looking for faster than they would on a disorganized page plus, dividing your content into sections and subsections allows you to build navigational menus, like the one on the left hand side in our example above that makes jumping between pages in the documentation almost effortless and provides everything the developer needs at their fingertips seo practices have been around for a long time it’s true that their primary goal is to help search engines recognize and rank your content, but that’s only half of the benefits the other half has to do with providing an excellent user experience for content consumers, meaning that these principles are definitely applicable to all sorts of https //www archbee com/blog/what is technical documentation , including api documents \#conclusion having gone through this https //www archbee com/blog/api documentation checklist , you should now have all the elements needed for a highly usable and extremely helpful api knowledge base remember, api documentation is created for developers, so make sure your documentation contains both textual and interactive, code based elements to help users learn about your api and use it successfully and don’t forget to confirm that every article in your documentation can be accessed by the right people exactly when they need it \#faq frequently asked questions who is api documentation written for? primarily, api documentation is written for developers who need to learn how the api works and integrate it into their applications they rely on both conceptual explanations and practical, copy‑pasteable examples to move quickly from understanding to implementation secondary audiences can include technical writers, qa engineers, support engineers, and product managers—people who need to understand capabilities, constraints, and expected behaviors—but developers are the core users why does every api doc need a quick overview? what’s the value of a getting started guide? what should go in the developer fundamentals section? why include examples in multiple programming languages? documentation, technical writing tips and trends blog join 5000+ people from around the world that receive a monthly edition of the archbee blog newsletter mailto\ enter your email subscribe continue reading discover more insights and expand your knowledge https //www archbee com/blog/why teams are abandoning madcap flare a modern documentation alternative https //www archbee com/blog/why teams are abandoning madcap flare a modern documentation alternative https //www archbee com/blog/why teams are abandoning madcap flare a modern documentation alternative https //www archbee com/blog/why teams are abandoning madcap flare a modern documentation alternative https //www archbee com/blog/multi product documentation strategy https //www archbee com/blog/multi product documentation strategy https //www archbee com/blog/multi product documentation strategy https //www archbee com/blog/multi product documentation strategy https //www archbee com/blog/invisible roadblock poor documentation and how to break through https //www archbee com/blog/invisible roadblock poor documentation and how to break through https //www archbee com/blog/invisible roadblock poor documentation and how to break through https //www archbee com/blog/invisible roadblock poor documentation and how to break through