Generate SDKs in Postman

View as Markdown

You can generate SDKs using the Postman CLI or the Postman app. The generated SDKs are available for download and come with autogenerated documentation. You can connect your GitHub repo to sync your SDK and create a pull request with the generated code.

The Postman SDK Generator also enables you to generate SDKs locally without affecting your public collections in the cloud. This way, you can experiment with SDK generation and test different configurations in a safe, isolated environment. You can also pull SDKs from your cloud collections to your local workspace.

Generate CLIs

You can also generate command-line interfaces (CLIs) using Postman. CLIs provide terminal access to your API operations with built-in authentication and AI agent integration. To learn more, see CLI Generator.

Permissions required to generate SDKs

You must have Editor or higher access to the collection or specification to generate an SDK. Viewers can view and download existing SDKs, but they can’t generate new ones. Learn more about Postman roles and permissions.

Generate SDKs in Postman

Use the following topics to generate and manage SDKs:

Next steps

After generating your SDKs, explore these resources to get the most out of your generated code: