Skip to main content
Manage Events API integrations in your 1Password account. Requires a business account.

Subcommands

events-api create

Create an Events API integration token.
op events-api create <name> [flags]

Flags

--expires-in duration   Set how the long the events-api token is valid for in
                        (s)econds, (m)inutes, (h)ours, (d)ays, and/or (w)eeks.
--features features     Set the comma-separated list of features the integration
                        token can be used for. Options: `signinattempts`,
                        `itemusages`, `auditevents`.
1Password CLI prints the token when successful. Requires a business account.

Examples

Create an Events API integration to report sign-in attempts that expires in one hour:
op events-api create SigninEvents --features signinattempts --expires-in 1h
Create an Events API integration that reports all supported events that does not expire:
op events-api create AllEvents