Installation¶
Add postman-go as a dependency to your Go project:
Import the top-level package plus any service packages whose input/result types or enums you reference directly:
import (
postman "github.com/grokify/postman-go"
"github.com/grokify/postman-go/secretscanner" // only if you use secretscanner types
)
You only need to import a service's subpackage when you construct its
*Input types or reference its enums directly — client.Collections(),
client.Workspaces(), and so on are all available straight off
*postman.Client without any additional imports.
Requirements¶
- Go 1.26 or later
- A Postman API key
See Authentication for how to configure the client, then Quick Start for a full working example.