*** title: Add API documentation in Postman approved: 2025-01-17T00:00:00.000Z slug: docs/publishing-your-api/documenting-your-api max-toc-depth: 2 ux: v12 ------- You can view, create, and manage your API's documentation with collections. You can add detailed API documentation to a collection with types. This enables you to add more details to request parameters, headers, and bodies in an HTTP collection. The API documentation includes complete API, path, and operation information, such as authentication methods, parameters, request bodies, response bodies and headers, and examples. The documentation also includes information for various data models, such as required attributes, default values, minimum and maximum values, and other constraints. ## Add API documentation with collections Postman automatically creates [documentation for a collection](/docs/publishing-your-api/document-a-collection/) you create. With [types in collections](/docs/design-apis/collections/overview/), you can build out this documentation by designing your API with the Postman Collection format. You can add more details to request parameters, headers, and bodies in the collection, such as data type and possible values. Details you add appear in your collection's documentation. To get started, [add types to parameters and headers](/docs/design-apis/collections/add-properties-to-parameters-and-headers/). You can also [add types to body data](/docs/design-apis/collections/add-properties-to-body-data/) in your requests. To view the documentation for a collection with types, do the following: 1. In the left sidebar, choose a collection with types. 2. Click the collection's **Overview** tab and click **View complete documentation**. ![View documentation for a collection with types](https://assets.postman.com/postman-docs/v11/type-definition-view-docs-v11-12.jpg) ## Next steps After adding documentation to an API in Postman, you can edit and format the docs. You can also publish your API, including the documentation. * To learn more about adding descriptions to a collection, including collections linked to an API, see [Document a collection in Postman](/docs/publishing-your-api/document-a-collection/). * To learn more about editing and formatting your documentation, see [Write documentation in Postman](/docs/publishing-your-api/authoring-your-documentation/). * To learn how users can access your documentation, see [View documentation in Postman](/docs/publishing-your-api/viewing-documentation/). By default, your documentation is private, so you must share an API with others before they can access it.