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:
- EU: https://api-activities.eu.nordpass.com/v2/activities/query
- U.S.: https://api-activities.us.nordpass.com/v2/activities/query
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/jsonsince 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 |
|
Event category: |
|
|
|
Event type (product area), see the list in the "Responses" section |
|
|
|
A specific action; see the action types section of the activity log guide |
|
|
|
|
|
|
|
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) |
|
|
|
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 |
|
|
|
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 |
|
|
|
Country resolved from the device 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 |
|
|
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:
- Send your first request without the cursor parameter.
- If the response includes
next_cursor, repeat the request with the same filters,per_page, andsort_order, and set cursor to thenext_cursorvalue - 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:
From the received activities, take the most recent one/last received and check its
inserted_atvalue.-
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 } Follow
next_cursoruntil the last page, then store theinserted_atof 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,loginorvault.-
type– the event typeFor
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,iosorserver.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 ofcreated_at. For activities performed in offline mode ("mode": "offline")inserted_atis later thancreated_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 oldcreated_atcan therefore appear after you have already synced that period.inserted_atonly 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.typeisuser,external_user,msp_admin,system,integrationoranonymous;uuidandemailare present for members;msp_uuidis present for MSP administrators.mode–onlineoroffline.deviceandapplication– device and NordPass application details, when known.metadata– action-specific details, for exampleusers(affected members with theiraclorstatus),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 |
|
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 |
|
|
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 ( |
|
|
Also matches members affected by the action; |
|
|
|
– |
|
New filters. |
Pagination
| V1 | V2 | Notes |
|
|
|
|
|
Follow |
|
|
Recommendation: set to 100. |
– |
|
V1 always returned the newest activities first. V2 returns the oldest first by default ( |
Response
| V1 | V2 | Notes |
|
|
|
|
|
|
|
|
|
|
|
|
– |
|
New fields. |
Behaviour
| V1 | V2 |
Returns at most the 10,000 most recent matching records |
No limit |
Period between |
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 |
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 |