POST Create stakeholders
Base URL: https://server-url-from-token-page.endpoint. Version: 1.2.0.
POST /api/v1/public/stakeholders — Create stakeholders
Read/write token required
Create stakeholders from an input array. Each row requires an existing accountId, firstName and lastName. Source is assigned automatically as API; omit source on creation. Creation is not idempotent; check the result before retrying after a timeout.
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.
- Minimum items: 1
roles(body, (Consensus | Entry | Sign-off | Risk-bearing | Trojan Horse | Gatekeeper | Champion | Expert | Silent veto)[], optional)See the JSON schema for this field’s contract.
trafficLight(body, Cold | Neutral | Against | For | null, optional)See the JSON schema for this field’s contract.
isKeyStakeholder(body, boolean, optional)See the JSON schema for this field’s contract.
firstName(body, string, required)See the JSON schema for this field’s contract.
- Minimum length: 1
lastName(body, string, required)See the JSON schema for this field’s contract.
- Minimum length: 1
position(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.
avatar(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.
source(body, Research | Njord AI | Form | CRM | LinkedIn | File Import | API | MCP, optional)See the JSON schema for this field’s contract.
uuid(body, string, optional)See the JSON schema for this field’s contract.
accountId(body, string, required)Required existing account in the selected space.
JSON request body schema
{
"type": "object",
"properties": {
"input": {
"type": "array",
"items": {
"type": "object",
"properties": {
"roles": {
"nullable": true,
"type": "array",
"items": {
"type": "string",
"enum": [
"Consensus",
"Entry",
"Sign-off",
"Risk-bearing",
"Trojan Horse",
"Gatekeeper",
"Champion",
"Expert",
"Silent veto"
]
}
},
"trafficLight": {
"nullable": true,
"type": "string",
"enum": [
"Cold",
"Neutral",
"Against",
"For",
null
]
},
"isKeyStakeholder": {
"nullable": true,
"type": "boolean"
},
"firstName": {
"type": "string",
"minLength": 1
},
"lastName": {
"type": "string",
"minLength": 1
},
"position": {
"type": "string",
"nullable": true
},
"linkedIn": {
"type": "string",
"nullable": true
},
"avatar": {
"type": "string",
"nullable": true
},
"email": {
"type": "string",
"nullable": true
},
"phone": {
"type": "string",
"nullable": true
},
"location": {
"type": "string",
"nullable": true
},
"remarks": {
"type": "string",
"nullable": true
},
"source": {
"type": "string",
"enum": [
"Research",
"Njord AI",
"Form",
"CRM",
"LinkedIn",
"File Import",
"API",
"MCP"
]
},
"uuid": {
"type": "string",
"nullable": true
},
"accountId": {
"type": "string",
"description": "Required existing account in the selected space."
}
},
"required": [
"firstName",
"lastName",
"accountId"
],
"additionalProperties": false
},
"minItems": 1
}
},
"required": [
"input"
],
"additionalProperties": false
}JSON response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{}
],
"description": "Stakeholder/person id for follow-up row retrieval."
},
"account": {
"description": "Compact parent account/company reference for this stakeholder.",
"nullable": true
},
"firstName": {
"type": "string",
"description": "Stakeholder first name."
},
"lastName": {
"type": "string",
"description": "Stakeholder last name."
},
"inTargeting": {
"type": "boolean",
"description": "True when an IN_USE Audience enables stakeholder targeting."
},
"position": {
"type": "string",
"description": "Current stakeholder role/title."
},
"linkedIn": {
"type": "string",
"description": "LinkedIn profile URL when known."
},
"email": {
"type": "string",
"description": "Stakeholder email address when known."
},
"adClicks": {
"type": "number",
"description": "Latest cumulative stakeholder ad clicks. This is person-level media engagement, not account-level total clicks."
},
"adImpressions": {
"type": "number",
"description": "Latest cumulative stakeholder ad impressions. This is person-level media engagement, not account-level total impressions."
},
"lastDateAdClicked": {
"type": "string",
"format": "date-time",
"description": "Most recent known ad click time for this stakeholder."
},
"lastAdCTAClicked": {
"type": "string",
"description": "Most recent clicked ad CTA label for this stakeholder when captured."
},
"lastCampaignAdIdClicked": {
"description": "Most recent clicked ad id for this stakeholder.",
"nullable": true
},
"lastUrlClicked": {
"type": "string",
"description": "Most recent clicked URL for this stakeholder."
},
"deals": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{}
]
},
"name": {
"type": "string"
},
"stage": {
"type": "string"
},
"value": {
"type": "number"
},
"currency": {
"type": "string",
"enum": [
"USD",
"EUR",
"SEK",
"MYR",
"AED",
"SAR"
]
},
"program": {
"type": "integer",
"description": "Client-defined account program classification. Use program; type is a deprecated response alias."
},
"probabilityOfClosing": {
"type": "string",
"enum": [
"75% and above",
"50% to 74%",
"25% to 49%",
"0% to 24%",
"Unknown"
]
},
"estimateCloseDate": {
"type": "string",
"format": "date-time"
},
"type": {
"type": "integer",
"deprecated": true,
"description": "Deprecated response alias for program."
}
},
"additionalProperties": false,
"description": "Minimal deal identity for joins and correlation maps."
},
{
"anyOf": [
{
"type": "string"
},
{}
]
}
]
},
"description": "Compact deal references linked to this stakeholder."
},
"phone": {
"type": "string"
},
"remarks": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"roles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Consensus",
"Entry",
"Sign-off",
"Risk-bearing",
"Trojan Horse",
"Gatekeeper",
"Champion",
"Expert",
"Silent veto"
]
},
"description": "General buying roles saved on the stakeholder profile. Not specific to an Offering, Segment or Buying Logic."
},
"trafficLight": {
"type": "string",
"enum": [
"Cold",
"Neutral",
"Against",
"For"
],
"description": "Stakeholder traffic-light status when maintained in DOE."
},
"isKeyStakeholder": {
"type": "boolean",
"description": "Whether this stakeholder is marked as a key stakeholder."
},
"marketingImpact": {
"type": "string",
"enum": [
"Engaged",
"Aware",
"Reached",
"Not Verified"
],
"description": "marketingImpact is mutually exclusive: Engaged=clicked; Aware=10+ impressions without clicks; Reached=1-9 impressions without clicks; Not Verified=not reached. Total reached=Engaged+Aware+Reached; not reached=Not Verified. Never describe Aware or Engaged as not reached."
}
},
"additionalProperties": false
},
"description": "Created stakeholder records returned by the mutation."
}
},
"required": [
"items"
]
}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"
]
}Create stakeholders
curl -X POST "https://server-url-from-token-page.endpoint/api/v1/public/stakeholders" \
-H "Authorization: Bearer $DOE_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data-raw '{
"input": [
{
"firstName": "example",
"lastName": "example",
"accountId": "507f1f77bcf86cd799439011"
}
]
}'Response example
No response example is supplied. See the JSON response schema.