---
title: "API Endpoints"
description: "Review Netwrix Auditor API endpoints for retrieving, searching, and writing Activity Records, plus supported authentication methods and required account roles."
sidebar_position: 30
---

# API Endpoints

| Method | Endpoint                                | POST Data                                         | Description                                                                                                                    |
| ------ | --------------------------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| GET    | /netwrix/api/v1/activity_records/enum   | —                                                 | Returns Activity Records. [Retrieve Activity Records](/docs/auditor/10.9/integrations/api/retrieveactivityrecords.md)                                              |
| POST   | /netwrix/api/v1/activity_records/enum   | [Continuation Mark](/docs/auditor/10.9/integrations/api/postdata/continuationmark.md) | Returns next 1,000 Activity Records. [Continuation Mark](/docs/auditor/10.9/integrations/api/postdata/continuationmark.md)                                         |
| POST   | /netwrix/api/v1/activity_records/search | [Search Parameters](/docs/auditor/10.9/integrations/api/postdata/searchparameters.md) | Returns Activity Records matching a criteria defined in search parameters. [Search Activity Records](/docs/auditor/10.9/integrations/api/searchactivityrecords.md) |
| POST   | /netwrix/api/v1/activity_records/       | [Activity Records](/docs/auditor/10.9/integrations/api/postdata/activityrecords.md)   | Writes data to the Audit Database. [Write Activity Records](/docs/auditor/10.9/integrations/api/writeactivityrecords.md)                                           |

### Authentication

All endpoints require authentication. The following authentication methods are supported:

- NTLM—recommended

    If a group policy disables NTLM authentication, you can't address Netwrix Auditor Server by
    its IP address.

- Negotiate
- Digest
- Basic

### Account Permissions

Netwrix Auditor restricts control to its configuration and data collected by the product. Role-based
access system ensures that only relevant employees and services can access the exact amount of data
they need. To retrieve activity records or supply data to the Audit Database, assign a role in the
product to the account.
[Role-Based Access and Delegation](/docs/auditor/10.9/configuration/monitoring-plans/delegation.md)

| To...                                            | Required role                                                                                                                                                                                                                                                                                   |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Retrieve all activity records and write data     | The user must have the Global administrator role in the product, or be a member of the Netwrix Auditor Administrators group on the computer that hosts Netwrix Auditor Server.                                                                                                           |
| Retrieve all activity records                    | The user must have the Global reviewer role in the product or be a member of the Netwrix Auditor Client Users group on the computer that hosts Netwrix Auditor Server.                                                                                                                   |
| Retrieve activity records within a limited scope | The user must have the Reviewer role on a monitoring plan or folder with plans. In this case, Netwrix Auditor Server will retrieve only activity records the user is allowed to review according to the scope delegated (e.g., a scope can be limited to a single domain or file share). |
| Write activity records                           | The user must have the Contributor role in the product.                                                                                                                                                                                                                                  |

Review the following example to see how to authenticate in cURL:

- `curl https://172.28.6.15:9699/netwrix/api/v1/activity_records/enum -u Enterprise\NetwrixUser:NetwrixIsCool`
