Skip to main content
The Events API v3 is now generally available at a new endpoint that uses OAuth. The beta endpoint (events.1password.com/api/v3/auditevents) will stop working on December 31, 2026. To keep receiving audit events, move your integration to the new endpoint before that date.

Set up OAuth

The generally available endpoint uses OAuth 2.0 client credentials. You’ll need permission to manage integrations in your 1Password account to create an OAuth application with the View audit events scope (audit-events.view).
An OAuth application’s scopes are set when you create it. If your integration needs different scopes, create a new application.
  1. Sign in to your account on 1Password.com.
  2. Select Integrations in the sidebar. If you’ve set up other integrations in your account, select Directory on the Integrations page.
  3. Select Events reporting.
  4. Select Continue with OAuth.
  5. Configure your OAuth application:
    • Application Name: Enter a name to help you identify the integration.
    • Scopes: Check that View audit events is selected.
    • Description: (Optional) Add a description with additional information about your OAuth application.
    When you’re finished, select Next to generate your client ID and client secret.
    1Password shows the client secret once. Save it before you continue.
  6. Select Save in 1Password and choose a vault for the client ID and client secret. Then select View integration.
When you select Events reporting in the directory, 1Password chooses the Client credentials grant type for you and marks that step as complete. If you select Directory > OAuth Application, choose Client credentials as the grant type, then select the View audit events scope. Use your new client ID and client secret to request an OAuth access token from /v1/oauth/token. Replace api.1password.com with the host for your account’s region if needed.
Replace the beta bearer token with the access_token from the response. Request a new access token when the current one expires after 15 minutes.

Use the new host and path

Replace your beta host with the new host for your account’s region. Use this host to request access tokens and retrieve audit events. Update the request path from GET /api/v3/auditevents to GET /v3/accounts/{account}/audit-events. Replace {account} with your 1Password account ID or use - to select the account associated with your access token.

Update how you read the response

Read events from results

The audit events array has moved from audit_events to results.

Read target fields and IDs

Read each target’s fields from the key that matches its type with hyphens replaced by underscores. For example, vault-item fields are under vault_item. The payload key was removed. A target with no additional fields, such as settings or billing, has no nested key. Field names inside targets use snake case at every level. The field uuid becomes id, suffixes UUID and Uuid become _id, and other camel case keys become snake case. For example, sessionUUID becomes session_id, and tokenHash becomes token_hash. Field values stay the same. Read id alongside type on every target. Use the pair to identify a target. An integer ID is returned as a string, such as "42". A target with no identifier has an empty string for id. The following examples show selected fields from the same event before and after migration.
Beta response
Generally available response
The nested identifier keeps its normalized name. For example, on a delegated-session target, delegated_session.session_id has the same value as the target’s top-level id.

Read sign-in attempt outcomes

Sign-in attempt events now include outcome. Read outcome.result to see whether an attempt succeeded or failed.

Handle the new error and renamed field

If your integration reads type from a JSON error body, update it to read code. The message field contains a description of the error. The new endpoint can return 403 Forbidden with the code permission_denied if the access token lacks the audit-events.view scope or belongs to a different account. Check the application’s scope and the account in the request path. An expired access token can also return 403 Forbidden with an empty body. Request a new token and retry.

Test your integration

You can test both endpoints before you switch. Calls to both count toward the same limits of 600 requests per minute and 30,000 requests per hour for your account. If you get 429 Too Many Requests, wait the number of seconds in Retry-After before sending another request. Send a test request with the OAuth access token and the regional host you used to request it.
Confirm that you get 200 OK and your integration reads events from results. If the array is empty, use an earlier start_time to check a period with known activity. If the response has a next_page_token value, send it as page_token in the next request. Omit start_time and end_time when you send page_token. After you verify parsing and pagination, switch your integration to the new endpoint. If you poll continuously, finish processing the current beta query and use the last processed event’s insert_time as start_time in your first query on the new endpoint.

Download the OpenAPI specification

Download the new Events API v3 OpenAPI specification to update generated clients or import the API into your tools. The v3 documentation starts with Get started with the Events API. See the Events API reference for endpoint details.