Skip to main content

NordPass Enterprise offers an Activity Logs API integration to help you manage member access and monitor activities in your organization. Below are instructions for Owners and Admins on how to view Activity Logs via the API.

This article describes Activity Logs API V2. The previous version, V1, is deprecated and will stop working on May 17, 2027. If you still use V1, see the "Migrating from V1 to V2" section and the "Deprecated: Activity Logs API V1" section at the end of this article.

Note: Before proceeding further, make sure that account authorizations are set up by following the NordPass Token Management guide.

 

API set-up

The Activity Logs API URLs are data center-specific — your organization must use the corresponding URL for the data center where your account is located:

 

Request header

When making a POST request to the Activity Logs API, make sure to include both of the headers below:

  • Authorization – The POST request to an activity logs API must be authorized using the token generated on the Business Admin Panel. 
  • Content-Type – When initiating a POST request, it is crucial to include a Content-Type header to explicitly indicate the media type of the data being transmitted in the request body. For the Activity Logs API, you must set the content type to application/json since the request is transmitted in JSON format.

Example:

Authorization: GENERATED_ACTIVE_TOKEN
Content-Type: application/json

 

Filtering & Pagination

All filters are optional and are sent in the JSON request body. Timestamps are UNIX timestamps in seconds.

This API allows filtering by inserted_at_from and inserted_at_to. These are the times when NordPass recorded the activity, not when the activity happened on the user's device. If the optional filter is not provided, the information is returned for the last 7 full days. Neither value can be in the future.

Activity log data is kept for 12 months. Activities older than 12 months are deleted and can no longer be retrieved through the API, so make sure you export them before that if you need a longer history. V2 activity log data is available starting from 12 November 2026; requests for an earlier period return no results.

The sort_order option controls the order of the results by the time they were recorded: asc(oldest first, the default) or desc (newest first).

The filter option is an optional object that narrows the results further. Every key in it is applied in addition to the time range, and all keys must match. The following keys are supported:

Filter Matches Single value example Multiple values example

category

Event category: admin, login or vault

"category": "vault"

"category": ["admin", "login"]

type

Event type (product area), see the list in the "Responses" section

"type": "item_share"

"type": ["item_actions", "item_share"]

action

A specific action; see the action types section of the activity log guide

"action": "items_deleted"

"action": ["items_created", "items_updated"]

mode

online or offline

"mode": "offline"

"mode": ["online", "offline"]

email

Email of the member who performed the action, or of a member affected by it (for example, a member who was invited, added to a group, or given access to an item)

"email": "jane.smith@example.com"

"email": ["jane.smith@example.com", "john.doe@example.com"]

user_uuid

UUID of the member who performed the action, or of a member affected by it. Member UUIDs are shown in the Members section of the Admin Panel; alternatively, use the email filter

"user_uuid": "USER_UUID"

"user_uuid": ["USER_UUID_1", "USER_UUID_2"]

item_uuid

The 36-character UUID of the item, folder, shared folder, or group the activity refers to. You can copy an item ID from the item view in the NordPass extension or from the Activity Log in the Business Admin Panel

"item_uuid": "ITEM_UUID"

"item_uuid": ["ITEM_UUID_1", "ITEM_UUID_2"]

location

Country resolved from the device IP address

"location": "Germany"

"location": ["Germany", "Canada"]

ip_address

The device IP address, as a full IPv4 or IPv6 address. IP ranges, CIDR notation, and partial addresses are not supported; list each address separately

"ip_address": "192.168.121.201"

"ip_address": ["192.168.121.201", "10.0.0.15"]

 

When a key has several values, an activity matches if it has any of them. To exclude activities instead, pass an object with value and "not":true, for example ip_ad "email": { "value":["service account@example.com"], "not":true } . A single key accepts up to 500 values. Unknown keys are ignored.

You can manage the number of records returned by utilizing the per_page option, which allows for a range of 1 to 100 records per request. If the per_page option is not specified, the default will be 5 records per page.

Pages are requested with a cursor instead of a page number. Send the first request without a cursor. If the response contains a next_cursor value, send the same request again (same filters, per_page and sort_order) with that value in the cursor option to get the next page. Repeat until the response no longer contains next_cursor. The cursor is opaque — store it and pass it back unchanged.

The API uses cursor-based pagination. Instead of requesting a page number, you move through results with a cursor that each response gives you:

  1. Send your first request without the cursor parameter.
  2. If the response includes next_cursor, repeat the request with the same filters, per_page, and sort_order, and set cursor to the next_cursor value
  3. Repeat until the response no longer includes next_cursor. You have then reached the last page.

 

Treat the cursor as an opaque value: pass it back exactly as you received it, and do not make any changes.

 

Example:

{
  "inserted_at_from": TIMESTAMP_FILTER_FROM,
  "inserted_at_to": TIMESTAMP_FILTER_TO,
  "sort_order": "asc",
  "filter": {
    "category": "vault",
    "action": ["items_created", "items_updated", "items_deleted"],
    "user_uuid": ["USER_UUID"],
    "email": { "value": ["service-account@example.com"], "not": true }
  },
  "per_page": 100,
  "cursor": "NEXT_CURSOR_FROM_PREVIOUS_RESPONSE"
}

 

Complete data retrieval

To maintain a complete record without gaps, we recommend our data retention approach, where events generated during interruptions are preserved and synced as soon as service is restored. Your implementation is responsible for ensuring complete data retrieval by maintaining a timestamp-based cursor. NordPass does not replay or push missed events. The integrating party is responsible for implementing this pattern to ensure a gapless audit trail.

In V2, use the inserted_at value of the activities for this purpose. iinserted_at is the time NordPass recorded the activity and only moves forward, while created_at can be much earlier for activities performed in offline mode (see the "Responses" section).

 

To ensure complete data retrieval, follow these steps:

  1. From the received activities, take the most recent one/last received and check its inserted_at value.

  2. On every following run, create a new API request with this filter and without a cursor:

    { 
       "inserted_at_from": INSERTED_AT_OF_LAST_RECEIVED_ACTIVITY + 1,
       "sort_order": "asc",
       "per_page": 100 
    }

     

  3. Follow next_cursor until the last page, then store the inserted_at of the last received activity for the next run.

    Note: This ensures you always receive the latest activities, even during brief service interruptions. Once service resumes, the filter stays in place so you receive the most up-to-date activity log information without any gaps.

 

Rate limits

The API is limited to 2000 requests per IP address every 5 minutes. Use "per_page": 100 to keep the number of requests low.

 

Responses

{
    "data": [
        {
            "category": string,
            "type": string,
            "action": string,
            "client_type": string,
            "created_at": integer,
            "inserted_at": integer,
            "organization_uuid": string($uuid),
            "initiator": {
                "type": string,
                "uuid": string($uuid),
                "email": string($email)
            },
            "mode": string,
            "device": {
                "ip_address": string,
                "geo_location": string,
                "name": string,
                "os_name": string,
                "os_version": string
            },
            "application": {
                "app_name": string,
                "app_version": string
            },
            "metadata": {}
        }
    ],
    "pagination": {
        "total": integer,
        "next_cursor": string
    }
}

 

  • category – admin, login or vault.

  • type – the event type

    • For admin: invites, roles, access, settings, global_settings, role_settings, user_settings, oauth_token_management, oauth_credentials, oauth_domain, scim_credentials, group_provisioning, groups, redeem, ip_rules, domain, organization, checkout, integrations, consents.

    • For login: login, password, biometric, recovery_code, totp, security_key, mfa_backup_codes. 

    • For vault: lock, item_actions, item_share, sharing_hub, breach, generated_password, email_mask, identity_mask.
       

  • action – the specific action within the type.

  • client_type – where the action was performed: panel, extension, desktop, cli, webvault, android, ios or server.

  • created_at – when the action happened on the user's device. Offline activities can be created long before they reach NordPass.

  • inserted_at – when NordPass recorded the activity. For activities performed in online mode it is within a few seconds of created_at. For activities performed in offline mode ("mode": "offline") inserted_at is later than created_at: the activity is created on the device while it has no connection and reaches NordPass only when the device reconnects, which can be hours or days later. An activity with an old created_at can therefore appear after you have already synced that period. inserted_at only moves forward, which is why filtering, sorting and the cursor all use it and why you should use it as your synchronization point.

  • initiator – who performed the action. type is user, external_user, msp_admin, system, integration or anonymous; uuid and email are present for members; msp_uuid is present for MSP administrators.

  • mode – online or offline.

  • device and application – device and NordPass application details, when known.

  • metadata – action-specific details, for example users (affected members with their acl or status), items, related_items, groups, acls, setting_changes, password_policy, invite, mfa, domains, owner, role, count, ip_rule. Encrypted item values and keys are never included.

  • pagination.total – the number of activities matching the filters.

  • pagination.next_cursor – the cursor for the next page; it is not present on the last page.

 

Error codes

Error code Error message Possible reason

400

Invalid request payload

inserted_at_from and/or inserted_at_to in wrong format;
inserted_at_from or inserted_at_to is in the future; 
sort_order is not asc or desc; 
per_page value is in the wrong format; 
per_page value is not between 1 and 100; 
cursor value is in the wrong format; a filter value is in the wrong format; 
a filter contains more than 500 values

401

Unauthorized

Missing token or Authorization header

403

[authorization error] invalid token

Invalid Authorization token

403

[authorization error] token introspection failed

Expired/Revoked Authorization token

403

[bad request] organization UUID exchange failed

Organization is no longer active in NordPass

 

Migrating from V1 to V2

Below are the main changes between the V1 and V2 APIs that will help identify what needs to change in existing V1 usage and how to update it to use the V2 API. The V2 API will include only data collected since November 12, 2026. Clients who have not migrated from V1 to V2 and still use V1 will still receive Activity Logs, but without the new feature actions released after November 12, 2026. Staying on V1 API after November 12, 2026 may mean that the scope of logged actions may decrease and some End User actions may not be logged. Additionally, make sure to check out the Complete data retrieval section for the V2 version.

 

URL

V1 V2
https://api-activities.us.nordpass.com/activities/query https://api-activities.us.nordpass.com/v2/activities/query
https://api-activities.eu.nordpass.com/activites/query https://api-activities.eu.nordpass.com/v2/activites/query

 

Filters

V1 V2 Notes

timestamp_from, timestamp_to

inserted_at_from, inserted_at_to

V1 returned an activity if either the time it happened or the time NordPass recorded it fell within the period, so offline-mode activities were still picked up by a later request. V2 uses only the time NordPass recorded the activity (inserted_at): offline-mode activities are still picked up, and each activity belongs to exactly one period. Use the inserted_at of the last received activity as your sync point.

user_uuids

filter.user_uuid

Also matches members affected by the action; filter.email is available as an alternative.

item_id

filter.item_uuid

filter.item_uuid is available as an alternative.

–

filter.category, 
filter.type, 
filter.action, 
filter.mode, 
filter.email, filter.location, filter.ip_address

New filters.

 

Pagination

V1 V2 Notes

item_id

filter.item_uuid

 

page

cursor

Follow next_cursor from the response instead of incrementing page.

per_page (default 30)

per_page (default 5)

Recommendation: set to 100.

–

sort_order

V1 always returned the newest activities first. V2 returns the oldest first by default (asc). Keep asc for regular syncing, as described in "Complete data retrieval". Use "sort_order": "desc" only for one-off lookups where you want the most recent activities first, as in V1.

 

Response

V1 V2 Notes

metadata.total, metadata.per_page, metadata.current_page, metadata.total_pages

pagination.total, pagination.next_cursor

next_cursor is absent on the last page.

timestamp

created_at, inserted_at

 

user.uuid, user.email, initiator (string)

initiator.type, initiator.uuid, initiator.email

 

type, action

category, type, action

category is new. The type values were regrouped; for example, the V1 types item_access and item_delete became the V2 type item_actions. Review any rules that match on type.

–

client_type, mode, device, application

New fields.

 

Behaviour

V1 V2

Returns at most the 10,000 most recent matching records

No limit

Period between timestamp_from and timestamp_to limited to 90 days

No limit on the period. Data is kept for 12 months and is available from 12 November 2026.

 

Deprecated: Activity Logs API V1

Deprecated. This version is kept for existing integrations only and will stop working on May 17, 2027. New integrations must use V2. Any new features released after the 12th of November 2026 will not add activity logs to the V1 version. V1 will continue to collect the logs that were collected before this date. V2 version only guarantees the full activity logs for previous and new features.

 

API set-up

 

Request header

The same Authorization and Content-Type headers as for V2.

 

Filtering & Pagination

This API allows filtering by timestamp_from and timestamp_to. If the optional filter is not provided, the information is returned for the last 7 full days. The period specified for filtering must not exceed a maximum of 90 days.

The user_uuids is an optional filter that accepts an array of up to 500 user UUID values; if not provided, information is returned for all users. You may also use the search by item_id function with the 36-character UUID of the item.

The per_page option allows for a range of 1 to 100 records per request (default 30). The page option requests a specific page; it must be at least 1 and cannot exceed the total number of available pages (default 1).

Example:

{ 
  "timestamp_from": TIMESTAMP_FILTER_FROM, 
  "timestamp_to": TIMESTAMP_FILTER_TO, 
  "user_uuids": ["USER_UUID"], 
  "item_id": "ITEM_UUID", 
  "per_page": 30, 
  "page": 1 
}

 

Complete data retrieval

Take the timestamp of the most recent activity received and use "timestamp_from": TIMESTAMP_OF_LAST_RECEIVED_ACTIVITY + 1 in the next request. The "timestamp_to": CURRENT_TIMESTAMP filter can optionally be used to limit the result count.

 

Rate limits

The API is limited to 2000 requests per 5 minutes per IP address.

 

Responses

{ 
   "data": [ 
       { 
        
           "type": string, 
           "action": string, 
           "timestamp": integer, 
           "organization_uuid": string($uuid), 
           "user": { 
               "uuid": string($uuid), 
               "email": string($email) 
           }, 
           "metadata": []
       } 
   ], 
   "metadata": { 
        "total": integer, 
        "per_page": integer, 
        "current_page": integer, 
        "total_pages": integer 
   }
} 

 

Limitation

The API can return up to 10,000 most recent activity log records (e.g., requesting logs 9980-10050 will not return results). If the filtering results exceed this limit, it will only return the most recent 10,000 results.

 

Error codes

Error code Error message Possible reason

400

Invalid request payload

The period between timestamp_from and timestamp_to is more than 90 days; timestamp_from and/or timestamp_to in wrong format; timestamp_from is later than timestamp_to; timestamp_to is in the future; user_uuids value(s) is in the wrong format, empty, non-existent, or more than 500 values; per_page value is in the wrong format or not between 1 and 100; page value is in the wrong format, not 1 or a higher integer, or exceeds the most recent 10,000 logs; the item_uuid does not exist, is in the incorrect format, or is empty

401

Unauthorized

Missing token or Authorization header

403

[authorization error] invalid token

Invalid Authorization token

403

[authorization error] token introspection failed

Expired/Revoked Authorization token

403

[bad request] organization UUID exchange failed

Organization is no longer active in NordPass

Was this article helpful?

Was this article helpful?