POST Review research results

Base URL: https://server-url-from-token-page.endpoint. Version: 1.2.0.

POST /api/v1/public/research/jobs/{jobId}/reviews — Review research results

Read/write token required

Confirm one or up to 100 resultIds after fetching getResearchResult for each selected result, showing the full proposed changes and receiving user approval. action=create|enrich|skip. Create accepts optional creationEdits=[{resultId, values}] for supported proposed details; omitted fields keep the proposal, empty optional values remove it. For new accounts, omit accountAssignments to preserve the returned search Segment/Offering defaults; an explicit array replaces the full batch selection, and [] clears it. Multiple distinct pairs per result are allowed, up to 100 pairs per batch; every assignment and account save atomically. Required names/website and edited identities are validated; original account ownership and provider evidence cannot change. Missing enrichment attributes are filled by default. replacements=[{resultId, fields}] replaces only the selected supported fields for each result and requires expectedVersions from the latest getResearchResult detail. Existing remarks are preserved and curated professional context appends with newlines and section separators; provider metadata is excluded. Stakeholders always stay under the original account. Only an employer-domain mismatch may be manually reviewed; other rejected identities remain blocked. Temporary single-record enrichment accepts one enrich result and requires its latest expectedVersion, including fill-only changes. Never auto-confirm research.

Send the documented JSON object. Workspace scope comes exclusively from the bearer credential. Requires a read/write API credential. Check receipts before retrying a timed-out write.

Parameters

jobId (path, string, required)

path parameter

JSON body fields

input (body, object, required)

See the JSON schema for this field’s contract.

stakeholderAccounts (body, object[], optional)

See the JSON schema for this field’s contract.

resultId (body, string, required)

See the JSON schema for this field’s contract.

accountId (body, string, required)

See the JSON schema for this field’s contract.

resultIds (body, string[], required)

See the JSON schema for this field’s contract.

action (body, create | enrich | skip, required)

See the JSON schema for this field’s contract.

expectedVersions (body, object[], optional)

See the JSON schema for this field’s contract.

resultId (body, string, required)

See the JSON schema for this field’s contract.

version (body, string, required)

See the JSON schema for this field’s contract.

replacements (body, object[], optional)

See the JSON schema for this field’s contract.

resultId (body, string, required)

See the JSON schema for this field’s contract.

fields (body, (website | linkedIn | industry | employees | hqCountry | position | email | phone | location)[], required)

See the JSON schema for this field’s contract.

creationEdits (body, object[], optional)

See the JSON schema for this field’s contract.

resultId (body, string, required)

See the JSON schema for this field’s contract.

values (body, object, required)

See the JSON schema for this field’s contract.

name (body, string, optional)

See the JSON schema for this field’s contract.

firstName (body, string, optional)

See the JSON schema for this field’s contract.

lastName (body, string, optional)

See the JSON schema for this field’s contract.

website (body, string, optional)

See the JSON schema for this field’s contract.

linkedIn (body, string, optional)

See the JSON schema for this field’s contract.

industry (body, string, optional)

See the JSON schema for this field’s contract.

employees (body, string, optional)

See the JSON schema for this field’s contract.

hqCountry (body, string, optional)

See the JSON schema for this field’s contract.

position (body, string, optional)

See the JSON schema for this field’s contract.

email (body, string, optional)

See the JSON schema for this field’s contract.

phone (body, string, optional)

See the JSON schema for this field’s contract.

location (body, string, optional)

See the JSON schema for this field’s contract.

remarks (body, string, optional)

See the JSON schema for this field’s contract.

accountAssignments (body, object[], optional)

See the JSON schema for this field’s contract.

resultId (body, string, required)

See the JSON schema for this field’s contract.

offeringId (body, string, required)

See the JSON schema for this field’s contract.

segmentId (body, string, required)

See the JSON schema for this field’s contract.

avatarResultIds (body, string[], optional)

See the JSON schema for this field’s contract.

JSON request body schema
{
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "stakeholderAccounts": {
          "nullable": true,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resultId": {
                "type": "string"
              },
              "accountId": {
                "type": "string"
              }
            },
            "required": [
              "resultId",
              "accountId"
            ],
            "additionalProperties": false
          }
        },
        "resultIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "action": {
          "type": "string",
          "enum": [
            "create",
            "enrich",
            "skip"
          ]
        },
        "expectedVersions": {
          "nullable": true,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resultId": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            },
            "required": [
              "resultId",
              "version"
            ],
            "additionalProperties": false
          }
        },
        "replacements": {
          "nullable": true,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resultId": {
                "type": "string"
              },
              "fields": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "website",
                    "linkedIn",
                    "industry",
                    "employees",
                    "hqCountry",
                    "position",
                    "email",
                    "phone",
                    "location"
                  ]
                }
              }
            },
            "required": [
              "resultId",
              "fields"
            ],
            "additionalProperties": false
          }
        },
        "creationEdits": {
          "nullable": true,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resultId": {
                "type": "string"
              },
              "values": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "nullable": true
                  },
                  "firstName": {
                    "type": "string",
                    "nullable": true
                  },
                  "lastName": {
                    "type": "string",
                    "nullable": true
                  },
                  "website": {
                    "type": "string",
                    "nullable": true
                  },
                  "linkedIn": {
                    "type": "string",
                    "nullable": true
                  },
                  "industry": {
                    "type": "string",
                    "nullable": true
                  },
                  "employees": {
                    "type": "string",
                    "nullable": true
                  },
                  "hqCountry": {
                    "type": "string",
                    "nullable": true
                  },
                  "position": {
                    "type": "string",
                    "nullable": true
                  },
                  "email": {
                    "type": "string",
                    "nullable": true
                  },
                  "phone": {
                    "type": "string",
                    "nullable": true
                  },
                  "location": {
                    "type": "string",
                    "nullable": true
                  },
                  "remarks": {
                    "type": "string",
                    "nullable": true
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "resultId",
              "values"
            ],
            "additionalProperties": false
          }
        },
        "accountAssignments": {
          "nullable": true,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resultId": {
                "type": "string"
              },
              "offeringId": {
                "type": "string"
              },
              "segmentId": {
                "type": "string"
              }
            },
            "required": [
              "resultId",
              "offeringId",
              "segmentId"
            ],
            "additionalProperties": false
          }
        },
        "avatarResultIds": {
          "nullable": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "resultIds",
        "action"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
JSON response schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "resultId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "entityId": {
            "type": "string"
          }
        },
        "required": [
          "resultId",
          "status"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "items"
  ],
  "additionalProperties": false
}

Responses

200: Operation receipt or read result. Arrays are returned under items; scalar and null results under value.
RateLimit-Policy (header, value, optional)

Response header

RateLimit-Limit (header, value, optional)

Response header

RateLimit-Remaining (header, value, optional)

Response header

RateLimit-Reset (header, value, optional)

Response header

400: Invalid operation input or record identifiers.
400 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
401: Bearer credential is missing, expired or invalid.
401 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
402: Insufficient research credits. Add credits before retrying.
402 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
403: Write access or resource permission is required.
403 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
404: Record is not available in the credential workspace.
404 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
405: Use the documented HTTP method.
405 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
409: Revision conflict or a record has dependencies. Refetch and reconcile links before retrying.
409 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
413: Request exceeds the permitted JSON body size.
413 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
429: Rate limit exceeded. Observe Retry-After.
RateLimit-Policy (header, value, optional)

Response header

RateLimit-Limit (header, value, optional)

Response header

RateLimit-Remaining (header, value, optional)

Response header

RateLimit-Reset (header, value, optional)

Response header

429 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
500: Internal server error.
500 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
503: Service temporarily unavailable. Observe Retry-After when present.
503 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
504: Execution timed out. A write may have committed; check receipts or progress before retrying.
504 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}

Review research results

curl -X POST "https://server-url-from-token-page.endpoint/api/v1/public/research/jobs/507f1f77bcf86cd799439011/reviews" \
  -H "Authorization: Bearer $DOE_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "input": {
    "resultIds": [
      "507f1f77bcf86cd799439011"
    ],
    "action": "create"
  }
}'
Response example
No response example is supplied. See the JSON response schema.