Generate SDKs in Postman
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:
- Use SDKs generated in Postman - Learn how to integrate and use your generated SDKs in your projects.
- Configure SDK generation in Postman - Customize your SDK generation settings and options.
- Generate CLI from your collection or specification - Generate command-line interfaces with built-in authentication and AI agent integration.
- Troubleshoot SDK generation - Resolve common issues and get help with SDK generation problems.
- SDK CLI commands - Learn how to use the Postman SDK CLI for generating and managing your SDKs.