POST Start stakeholder enrichment
Base URL: https://server-url-from-token-page.endpoint. Version: 1.2.0.
POST /api/v1/public/research/stakeholders/enrichments — Start stakeholder enrichment
Read/write token required
Enrich stakeholderIds, stakeholders under accountIds, or all=true, up to 5000 eligible records. Use listResearchEntityChoices to browse incomplete records before pagination. Only records missing supported attributes are researched by default; set includeComplete=true to also verify complete profiles against provider data. Existing email, LinkedIn or name+company are lookup seeds; identifiers may add better hints per entityId. Missing email/location/phone/profile details become review proposals. Extra facts append to remarks on confirmation. A successful supported match starts or restarts job-change monitoring for the same person/account, even without saving field changes. Research started before a stop cannot restart it. Set synchronous=true for exactly one explicit stakeholderId to run without a queue or saved research operation/results. To fill an unsaved stakeholder form, instead supply profileLinkedIn or profileEmail with synchronous=true, no stakeholderIds and at most one accountId. This lookup does not create/update a stakeholder or enroll monitoring; its results are for the Add Stakeholder form and cannot be applied through research review. Draft lookups return an empty url; existing-stakeholder enrichment returns the original entity page for review. Synchronous review data expires after one hour, but per-result credit usage is retained. Reuse the returned id for status/result reads within that hour; a new explicit enrichment is required after expiry. The server estimates and reserves credits for eligible records, optional phone, fallback and retries; optional maxCredits caps actual spending. Admission requires credits for the full estimate; admitted uncapped jobs may exceed their reservation.
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.
JSON body fields
input(body, object, required)See the JSON schema for this field’s contract.
requestId(body, string, required)See the JSON schema for this field’s contract.
- Minimum length: 1
- Maximum length: 100
name(body, string, optional)See the JSON schema for this field’s contract.
- Minimum length: 1
- Maximum length: 120
maxCredits(body, integer, optional)See the JSON schema for this field’s contract.
- Minimum: 1
- Maximum: 50000
all(body, boolean, optional)See the JSON schema for this field’s contract.
- Default: false
identifiers(body, object[], optional)See the JSON schema for this field’s contract.
- Default: []
- Maximum items: 100
entityId(body, string, required)See the JSON schema for this field’s contract.
- Pattern: ^[a-f\d]{24}$
email(body, string:email, optional)See the JSON schema for this field’s contract.
- Maximum length: 320
linkedIn(body, string:uri, optional)See the JSON schema for this field’s contract.
- Maximum length: 2000
firstName(body, string, optional)See the JSON schema for this field’s contract.
- Minimum length: 1
- Maximum length: 300
lastName(body, string, optional)See the JSON schema for this field’s contract.
- Minimum length: 1
- Maximum length: 300
website(body, string:uri, optional)See the JSON schema for this field’s contract.
- Maximum length: 2000
synchronous(body, boolean, optional)See the JSON schema for this field’s contract.
includeComplete(body, boolean, optional)See the JSON schema for this field’s contract.
- Default: false
includePhone(body, boolean, optional)See the JSON schema for this field’s contract.
- Default: false
accountIds(body, string[], optional)See the JSON schema for this field’s contract.
- Default: []
- Maximum items: 5000
stakeholderIds(body, string[], optional)See the JSON schema for this field’s contract.
- Default: []
- Maximum items: 5000
profileLinkedIn(body, string:uri, optional)See the JSON schema for this field’s contract.
- Maximum length: 2000
profileEmail(body, string | string:email, optional)See the JSON schema for this field’s contract.
JSON request body schema
{
"type": "object",
"properties": {
"input": {
"type": "object",
"properties": {
"requestId": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"maxCredits": {
"type": "integer",
"minimum": 1,
"maximum": 50000
},
"all": {
"type": "boolean",
"default": false
},
"identifiers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"entityId": {
"type": "string",
"pattern": "^[a-f\\d]{24}$"
},
"email": {
"type": "string",
"format": "email",
"maxLength": 320
},
"linkedIn": {
"type": "string",
"format": "uri",
"maxLength": 2000
},
"firstName": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"lastName": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"website": {
"type": "string",
"format": "uri",
"maxLength": 2000
}
},
"required": [
"entityId"
],
"additionalProperties": false
},
"maxItems": 100,
"default": []
},
"synchronous": {
"type": "boolean"
},
"includeComplete": {
"type": "boolean",
"default": false
},
"includePhone": {
"type": "boolean",
"default": false
},
"accountIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-f\\d]{24}$"
},
"maxItems": 5000,
"default": []
},
"stakeholderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-f\\d]{24}$"
},
"maxItems": 5000,
"default": []
},
"profileLinkedIn": {
"type": "string",
"format": "uri",
"maxLength": 2000
},
"profileEmail": {
"allOf": [
{
"type": "string"
},
{
"type": "string",
"format": "email",
"maxLength": 320
}
]
}
},
"required": [
"requestId"
],
"additionalProperties": false
}
},
"required": [
"input"
],
"additionalProperties": false
}JSON response schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"kind": {
"type": "string"
},
"url": {
"type": "string"
},
"status": {
"type": "string"
},
"maxResults": {
"type": "number",
"nullable": true
},
"cancelRequested": {
"type": "boolean"
},
"failureCode": {
"type": "string",
"nullable": true
}
},
"required": [
"id",
"name",
"kind",
"url",
"status",
"maxResults",
"cancelRequested",
"failureCode"
],
"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"
]
}Start stakeholder enrichment
curl -X POST "https://server-url-from-token-page.endpoint/api/v1/public/research/stakeholders/enrichments" \
-H "Authorization: Bearer $DOE_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data-raw '{
"input": {
"requestId": "507f1f77bcf86cd799439011"
}
}'Response example
No response example is supplied. See the JSON response schema.