About Postman SDK Generator
This feature is available on Postman Team and Enterprise plans. For more information, see the pricing page.
Postman SDK Generator transforms your Postman Collections into client SDKs for nine programming languages. Generate type-safe client libraries with automatic method generation, intelligent type inference, and comprehensive documentation directly from your API specifications.
The generator preserves custom code across regenerations using intelligent change tracking and three-way merge conflict resolution. Add validation logic, custom transformations, and business rules to your SDKs while maintaining those customizations when you update the underlying API specification. Configure language-specific settings, integrate with build tools, and distribute SDKs across your organization with consistent branding and authentication patterns.
Supported languages
Generate SDKs for these programming languages:
- TypeScript — Modern web and Node.js applications
- Python — Data science, automation, and backend services
- Java — Enterprise applications and Android development
- Kotlin — Android development and JVM applications
- C# — .NET applications and enterprise systems
- Go — Cloud services and microservices
- PHP — Web applications and APIs
- Ruby — Web development and scripting
- Rust — System programming and performance-critical applications
Common use cases
You can use the Postman SDK Generator for a wide range of scenarios, from internal team consumption to public API distribution. Here are some common use cases.
API client libraries
Generate type-safe client libraries that provide method calls for your API endpoints. They’re perfect for the following scenarios:
- Internal team consumption
- Partner integration
- Public API distribution
- Mobile app backends
Custom business logic
Add validation, transformation, and business rules to generated SDKs. They’re ideal for the following scenarios:
- Input validation and sanitization
- Response data transformation
- Custom authentication flows
- Audit logging and analytics
- Error handling and retry logic
Enterprise distribution
Package and distribute SDKs across your organization:
- Consistent API access patterns
- Centralized authentication
- Corporate branding and documentation
- Version management and updates
Key features
The SDK Generator automatically transforms your API specifications into working code with the following features:
- Automatic type inference from API schemas
- Method generation from collection requests
- Documentation generation from descriptions
- Example code from request samples
Your customizations stay safe when you regenerate SDKs because you’re able to do the following:
- Preserve custom code across regenerations
- Three-way merge conflict resolution
- File-level change detection
- Selective customization uploads
Adapt SDK generation to fit your development workflow using the following strategies:
- Language-specific settings and overrides
- Custom code integration options
- Build tool integration
- Package management configuration
Next steps
Get started with SDK generation:
- Learn the basics in Generate SDKs in Postman.
- See language-specific guides in Use SDKs generated in Postman.
- Start with generating an SDK with custom code.
Explore advanced features:
- See the complete SDK CLI reference.
- Learn about SDK customization options.
- Set up automated SDK generation in your deployment pipeline.
- Resolve common problems with SDK troubleshooting.