SDKs / CLI
passninja CLI
New Agentic-AI readyA single-binary command-line interface for PassNinja that mirrors the full /v1 surface — pass templates, passes, and webhooks. Designed to drop straight into agentic AI tools like Claude Code, Codex, and other terminal-driven workflows, so an LLM can create passes on command: “use passninja to create a pass”.
macOS / Linux
Windows (PowerShell)
Source: github.com/flomio/passninja-cli
We also maintain libraries in popular scripting languages to make it easy to build on top of PassNinja. You can find the source code for these here:
Installation
You can find the installation commands for each of these below.
macOS / Linux
Windows (PowerShell)
Authentication
Initialize the PassNinja client with your API credentials. You can find your API key and Account ID in your account dashboard.
List Pass Templates
Retrieve a list of all pass templates for your account. (for more information check the API Reference)
Get Pass Template
Retrieve a specific pass template by its ID. (for more information check the API Reference)
Create a Pass
Create a new pass for a given pass template with specified field values. (for more information check the API Reference)
List Passes
Retrieve a list of passes for a given pass template. (for more information check the API Reference)
Get a Pass
Retrieve a specific pass by its pass template and serial number. (for more information check the API Reference)
Decrypt a Pass
Decrypt a pass payload using its pass template and encrypted payload. (for more information check the API Reference)
Patch a Pass
Partially update a pass. Only the fields provided will be updated; other fields retain their existing values. (for more information check the API Reference)
Update a Pass
Fully update a pass with new field values. All fields must be provided. (for more information check the API Reference)
Delete a Pass
Delete a pass by its pass template and serial number. (for more information check the API Reference)