Simply put, an API portal is a catalogue aimed at developers to provide information about APIs. That’s why it’s also known as developer portal. It provides a single point-of-access where developers can find all the information they need to start connecting with your APIs.
A good API Portal provides clear information in a concise manner and lets a developer get started as soon as possible. It’s a quick start guide to all documentation focusing on the essentials for development, like:
- The security mechanism that’s being used
- The policies that are active
- The expected data in the request
- The status codes and/or expected response
But it doesn’t stop there though, there are plenty of other enablers an API Portal provides to API developers:
A self-registration service which developers can use to register their apps, which means retrieving the required security credentials and indicating which APIs will be used by the apps. Imagine if Facebook would have to take a manual action for every website out there that says “connect with Facebook“. Likewise it makes sense that developers can self-create their account on the developer portal to reduce the overhead.
The API exploration service allows for browsing and searching for APIs. This is of course important for developers to select the right API for a specific integration (otherwise they might not know there’s a bulk service).
Other nice-to-haves for developers is when a playground environment is provided, quickly allowing calls to be made before actual code has to be written. This can help to create understanding of the API and what needs to be coded. Another way to get development time up-to-speed is to provide libraries which interact with your API, or by providing sample code. By providing these things developers don’t have to reinvent the wheel for every new integration.
Of course, the API provider is responsible for keeping everything up-to-date. But he also gets advantages from the API Portal. It provides a single point where the API provider can manage everything related to access: approving or rejecting new access requests to the API and revoking existing access. Access to public and private information can be given on an individual level or a role-based model. All of this depends on the needs of the provider and can be a combination of an automatic and a manual process.
You can see the API Portal is the one place where developer-provider interaction can be organized. There is even a possibility for literal communication by providing a forum for the developer to ask questions and make suggestions. For the provider it can be a place to notify the developers of changes, introduce new initiatives or communicate when an API is being phased out. To address the most common issues, a FAQ provides the developers with a quicker answer while alleviating the API provider from having to answer the same question over and over. External resources such as stackoverflow, google blogger etc can also be included when necessary. The developer portal is also the prime location to provide contact information or to make contact forms available.