> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.getedulead.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.getedulead.com/_mcp/server.

# UpdateExportReviewRecord

PATCH https://api.getedulead.com/v4/exports/{export_id}/review_records/{id}
Content-Type: application/json

UpdateExportReviewRecord takes or skips one record of a reviewed export (update_mask
 decision). Skipping a record skips the records that hang off it; an ineligible record, and a
 record under a skipped one, cannot be taken.

Reference: https://docs.getedulead.com/api-reference/exports/update-review-record

## Authentication

- `Authorization` header (bearer token, required) — A team API key, sent as `Authorization: Bearer <key>`.
- `Authorization` header (bearer token, required) — The Cognito access token of a signed-in Edulead user (`edulead auth login`), sent as `Authorization: Bearer <token>`.

## Request

### Path parameters

- `export_id` (string, required) — The export the record belongs to.
- `id` (string, required) — Identifier of the resource, assigned by Edulead and opaque to callers.

### Query parameters

- `update_mask` (string, optional) — Which fields of the resource to change. Fields not listed keep their values.

### Body (application/json)

This endpoint expects an edulead.v4.ExportReviewRecord.

- `id` (string, optional) — Identifier of the resource, assigned by Edulead and opaque to callers.
- `export_id` (string, optional)
- `record_type` (enum, optional) — enum.defined_only = true
  - Allowed values: `EXPORT_RECORD_TYPE_UNSPECIFIED`, `EXPORT_RECORD_TYPE_CONTACT`, `EXPORT_RECORD_TYPE_INSTITUTION`, `EXPORT_RECORD_TYPE_CONTACT_INSTITUTION_ASSOCIATION`, `EXPORT_RECORD_TYPE_COMPANY_COMPANY_ASSOCIATION`
- `decision` (enum, optional) — enum.defined_only = true
  - Allowed values: `EXPORT_DECISION_UNSPECIFIED`, `EXPORT_DECISION_TAKE`, `EXPORT_DECISION_SKIP`, `EXPORT_DECISION_INELIGIBLE`
- `operation` (enum, optional) — The long-running operation. Poll it with WaitOperation.
  - Allowed values: `EXPORT_OPERATION_UNSPECIFIED`, `EXPORT_OPERATION_CREATE`, `EXPORT_OPERATION_UPDATE`, `EXPORT_OPERATION_REMOVE`, `EXPORT_OPERATION_SKIP`
- `crm_id` (string, optional) — The record's id in the CRM.
- `email_status` (string, optional) — The email verification's result, as the provider gave it.
- `export_status` (enum, optional) — enum.defined_only = true
  - Allowed values: `EXPORT_RECORD_STATUS_UNSPECIFIED`, `EXPORT_RECORD_STATUS_PENDING`, `EXPORT_RECORD_STATUS_SUCCESS`, `EXPORT_RECORD_STATUS_FAILED`, `EXPORT_RECORD_STATUS_SKIPPED`
- `export_error` (string, optional) — Why exporting the record failed.
- `decision_reason` (edulead.v4.ExportDecisionReason, optional) — Why the review recommended the decision.
- `data` (map from string to string, optional) — The record's fields; values that are not text are compact JSON.
- `target_data` (map from string to string, optional) — The values as they will be written to the CRM.
- `system_data` (map from string to string, optional) — Fields the CRM sets itself.
- `enrichment_type` (string, optional) — How the record was enriched.
- `parent_id` (string, optional) — The record it hangs off.
- `children` (list of edulead.v4.ExportReviewRecordChild, optional) — The records that hang off it (a contact's institution links); one level.
- `create_time` (datetime, optional) — When Edulead created the resource.

## Response

### 200

Success

- `export_review_record` (edulead.v4.ExportReviewRecord, optional) — ExportReviewRecord is one record of an export's review and its decision. Its id is the person's or institution's id, or a link's own id.

## Types

### edulead.v4.ExportDecisionReason

ExportDecisionReason is why the review recommended a decision.

- `code` (string, optional) — Such as COMPANY_NOT_IN_CRM.
- `context` (map from string to string, optional) — Values the reason names; values that are not text are compact JSON.

### edulead.v4.ExportReviewRecordChild

ExportReviewRecordChild is a record that hangs off another: an ExportReviewRecord without children of its own. Its id is the link's own id.

- `id` (string, optional) — Identifier of the resource, assigned by Edulead and opaque to callers.
- `record_type` (enum, optional) — enum.defined_only = true
  - Allowed values: `EXPORT_RECORD_TYPE_UNSPECIFIED`, `EXPORT_RECORD_TYPE_CONTACT`, `EXPORT_RECORD_TYPE_INSTITUTION`, `EXPORT_RECORD_TYPE_CONTACT_INSTITUTION_ASSOCIATION`, `EXPORT_RECORD_TYPE_COMPANY_COMPANY_ASSOCIATION`
- `decision` (enum, optional) — enum.defined_only = true
  - Allowed values: `EXPORT_DECISION_UNSPECIFIED`, `EXPORT_DECISION_TAKE`, `EXPORT_DECISION_SKIP`, `EXPORT_DECISION_INELIGIBLE`
- `operation` (enum, optional) — The long-running operation. Poll it with WaitOperation.
  - Allowed values: `EXPORT_OPERATION_UNSPECIFIED`, `EXPORT_OPERATION_CREATE`, `EXPORT_OPERATION_UPDATE`, `EXPORT_OPERATION_REMOVE`, `EXPORT_OPERATION_SKIP`
- `crm_id` (string, optional) — The record's id in the CRM.
- `export_status` (enum, optional) — enum.defined_only = true
  - Allowed values: `EXPORT_RECORD_STATUS_UNSPECIFIED`, `EXPORT_RECORD_STATUS_PENDING`, `EXPORT_RECORD_STATUS_SUCCESS`, `EXPORT_RECORD_STATUS_FAILED`, `EXPORT_RECORD_STATUS_SKIPPED`
- `export_error` (string, optional) — Why exporting the record failed.
- `decision_reason` (edulead.v4.ExportDecisionReason, optional) — Why the review recommended the decision.
- `data` (map from string to string, optional) — The record's fields; values that are not text are compact JSON.
- `target_data` (map from string to string, optional) — The values as they will be written to the CRM.
- `system_data` (map from string to string, optional) — Fields the CRM sets itself.
- `create_time` (datetime, optional) — When Edulead created the resource.

### edulead.v4.ExportReviewRecord

ExportReviewRecord is one record of an export's review and its decision. Its id is the person's or institution's id, or a link's own id.

- `id` (string, optional) — Identifier of the resource, assigned by Edulead and opaque to callers.
- `export_id` (string, optional)
- `record_type` (enum, optional) — enum.defined_only = true
  - Allowed values: `EXPORT_RECORD_TYPE_UNSPECIFIED`, `EXPORT_RECORD_TYPE_CONTACT`, `EXPORT_RECORD_TYPE_INSTITUTION`, `EXPORT_RECORD_TYPE_CONTACT_INSTITUTION_ASSOCIATION`, `EXPORT_RECORD_TYPE_COMPANY_COMPANY_ASSOCIATION`
- `decision` (enum, optional) — enum.defined_only = true
  - Allowed values: `EXPORT_DECISION_UNSPECIFIED`, `EXPORT_DECISION_TAKE`, `EXPORT_DECISION_SKIP`, `EXPORT_DECISION_INELIGIBLE`
- `operation` (enum, optional) — The long-running operation. Poll it with WaitOperation.
  - Allowed values: `EXPORT_OPERATION_UNSPECIFIED`, `EXPORT_OPERATION_CREATE`, `EXPORT_OPERATION_UPDATE`, `EXPORT_OPERATION_REMOVE`, `EXPORT_OPERATION_SKIP`
- `crm_id` (string, optional) — The record's id in the CRM.
- `email_status` (string, optional) — The email verification's result, as the provider gave it.
- `export_status` (enum, optional) — enum.defined_only = true
  - Allowed values: `EXPORT_RECORD_STATUS_UNSPECIFIED`, `EXPORT_RECORD_STATUS_PENDING`, `EXPORT_RECORD_STATUS_SUCCESS`, `EXPORT_RECORD_STATUS_FAILED`, `EXPORT_RECORD_STATUS_SKIPPED`
- `export_error` (string, optional) — Why exporting the record failed.
- `decision_reason` (edulead.v4.ExportDecisionReason, optional) — Why the review recommended the decision.
- `data` (map from string to string, optional) — The record's fields; values that are not text are compact JSON.
- `target_data` (map from string to string, optional) — The values as they will be written to the CRM.
- `system_data` (map from string to string, optional) — Fields the CRM sets itself.
- `enrichment_type` (string, optional) — How the record was enriched.
- `parent_id` (string, optional) — The record it hangs off.
- `children` (list of edulead.v4.ExportReviewRecordChild, optional) — The records that hang off it (a contact's institution links); one level.
- `create_time` (datetime, optional) — When Edulead created the resource.

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "export_review_record": {
    "id": "string",
    "export_id": "string",
    "record_type": "EXPORT_RECORD_TYPE_UNSPECIFIED",
    "decision": "EXPORT_DECISION_UNSPECIFIED",
    "operation": "EXPORT_OPERATION_UNSPECIFIED",
    "crm_id": "string",
    "email_status": "string",
    "export_status": "EXPORT_RECORD_STATUS_UNSPECIFIED",
    "export_error": "string",
    "decision_reason": {
      "code": "string",
      "context": {}
    },
    "data": {},
    "target_data": {},
    "system_data": {},
    "enrichment_type": "string",
    "parent_id": "string",
    "children": [
      {
        "id": "string",
        "record_type": "EXPORT_RECORD_TYPE_UNSPECIFIED",
        "decision": "EXPORT_DECISION_UNSPECIFIED",
        "operation": "EXPORT_OPERATION_UNSPECIFIED",
        "crm_id": "string",
        "export_status": "EXPORT_RECORD_STATUS_UNSPECIFIED",
        "export_error": "string",
        "decision_reason": {
          "code": "string",
          "context": {}
        },
        "data": {},
        "target_data": {},
        "system_data": {},
        "create_time": "2023-01-15T01:30:15.01Z"
      }
    ],
    "create_time": "2023-01-15T01:30:15.01Z"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.getedulead.com/v4/exports/export_id/review_records/id"

payload = {}
headers = {
    "Authorization": "Bearer <apiKey>",
    "Content-Type": "application/json"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.getedulead.com/v4/exports/export_id/review_records/id';
const options = {
  method: 'PATCH',
  headers: {Authorization: 'Bearer <apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.getedulead.com/v4/exports/export_id/review_records/id"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("Authorization", "Bearer <apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.getedulead.com/v4/exports/export_id/review_records/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.patch("https://api.getedulead.com/v4/exports/export_id/review_records/id")
  .header("Authorization", "Bearer <apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PATCH', 'https://api.getedulead.com/v4/exports/export_id/review_records/id', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.getedulead.com/v4/exports/export_id/review_records/id");
var request = new RestRequest(Method.PATCH);
request.AddHeader("Authorization", "Bearer <apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.getedulead.com/v4/exports/export_id/review_records/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```