Create a key
- API
- CLI
- Dashboard
plaintextKey. Copy it now. ZAM stores only the hash; the plaintext never appears again.Key format
All keys start withzam_ followed by 40 hex characters. The prefix zam_a1b2c3d4 (first 8 characters after zam_) appears in listings and logs so you can identify keys without exposing the full value.
Scopes
Grant the minimum scopes each key needs:| Use case | Scopes |
|---|---|
| Agent that only activates listings | order:create, order:read |
| Agent that also browses own listings | Add listing:read |
| Service that publishes listings | listing:create, listing:read, listing:update |
| Admin key | All scopes |
Revoke a key
- API
- CLI
- Dashboard
Environment variables
Both the CLI and API client accept theZAM_API_KEY environment variable, which takes precedence over any stored configuration: