Types in collections is available with Postman Professional and Enterprise plans.
After you turn on types in a collection, you can add properties to parameters and headers. Properties can include data type, format, default value, and possible values. You can also specify if a component is required. Details you add will appear in the collection's documentation.
If you're on an Enterprise plan, you can also design your API in a specification in Spec Hub. Then you can generate a collection from your specification, turning on types for the collection. Properties are defined for your request parameters and headers in the generated collection based on your specification. If the collection was generated from an OpenAPI 3.0 specification, you can keep the collection in sync with your latest changes to the specification.
To add properties to a parameter or header, do the following:
Turn on types for your collection.
Open a request and select the Params or Headers tab. Add any parameters or headers as needed.
Hover over a query or path parameter or a header and select Add more properties.
Specify details for the parameter or header:
Specify optional details depending on the component type:
Type string
:
Type integer
or number
:
Select Save to save the changes to your request.
Last modified: 2025/03/05
Additional resources
Videos
Blog posts