POST Create accounts

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

POST /api/v1/public/accounts — Create accounts

Read/write token required

Create accounts from an input array. Every row requires a nonblank name and website. Domain remains derived from website and is not an input. Health/RMF are lifecycle-exclusive. Existing Customers use health, never RMF; others use RMF, never health. Health filter/facet scopes to status = "Existing Customers"; RMF filter/facet excludes that status. Query separately; never infer. Inapplicable health/RMF is omitted on create. Targeting is derived from memberships in In use Audiences. Use Audience mutations to include or exclude accounts and stakeholders or change an Audience status. Entity writes cannot set membership, targeting dates, or actors. API retains deprecated input declarations only; those inputs are ignored. Account inTargeting is true through active account Audience membership or linked targeted stakeholders. Actual account memberships and techniques remain independent. hasTargetedStakeholders is derived from linked stakeholders in In use Audiences and cannot be written. Account targeting techniques are configured on account Audiences (one or more LinkedIn, IP, GEO); the account projection is the union across active memberships. Stakeholder Audiences use Individual Targeting implicitly. Creation is not idempotent: after a timeout, check for the created account before retrying.

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
uuid (body, string, optional)

See the JSON schema for this field’s contract.

name (body, string, required)

See the JSON schema for this field’s contract.

  • Minimum length: 1
owners (body, string[], optional)

See the JSON schema for this field’s contract.

verified (body, boolean, optional)

See the JSON schema for this field’s contract.

status (body, Existing Customers | Previous Customers | Prospects | Suspects | Influencers | Partners | Existing Investors | Prospect Investors | Suspect Investors | Inactive | null, optional)

See the JSON schema for this field’s contract.

health (body, Expand | Stabilize | Rescue | null, optional)

See the JSON schema for this field’s contract.

rmf (body, High | Medium | Low | null, optional)

See the JSON schema for this field’s contract.

program (body, string, optional)

See the JSON schema for this field’s contract.

totalPotentialValue (body, number, optional)

See the JSON schema for this field’s contract.

subAccounts (body, string[], optional)

See the JSON schema for this field’s contract.

website (body, string, required)

See the JSON schema for this field’s contract.

  • Minimum length: 1
  • Pattern: \S
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.

hqCountry (body, string, optional)

See the JSON schema for this field’s contract.

parentCompany (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.

adTargetingCountries (body, string[], optional)

See the JSON schema for this field’s contract.

JSON request body schema
{
  "type": "object",
  "properties": {
    "input": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "uuid": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "owners": {
            "nullable": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "verified": {
            "nullable": true,
            "type": "boolean"
          },
          "status": {
            "nullable": true,
            "type": "string",
            "enum": [
              "Existing Customers",
              "Previous Customers",
              "Prospects",
              "Suspects",
              "Influencers",
              "Partners",
              "Existing Investors",
              "Prospect Investors",
              "Suspect Investors",
              "Inactive",
              null
            ]
          },
          "health": {
            "nullable": true,
            "type": "string",
            "enum": [
              "Expand",
              "Stabilize",
              "Rescue",
              null
            ]
          },
          "rmf": {
            "nullable": true,
            "type": "string",
            "enum": [
              "High",
              "Medium",
              "Low",
              null
            ]
          },
          "program": {
            "type": "string",
            "nullable": true
          },
          "totalPotentialValue": {
            "nullable": true,
            "type": "number"
          },
          "subAccounts": {
            "nullable": true,
            "type": "array",
            "items": {
              "type": "string",
              "nullable": true
            }
          },
          "website": {
            "type": "string",
            "minLength": 1,
            "pattern": "\\S"
          },
          "linkedIn": {
            "type": "string",
            "nullable": true
          },
          "industry": {
            "type": "string",
            "nullable": true
          },
          "hqCountry": {
            "type": "string",
            "nullable": true
          },
          "parentCompany": {
            "type": "string",
            "nullable": true
          },
          "employees": {
            "type": "string",
            "nullable": true
          },
          "adTargetingCountries": {
            "nullable": true,
            "type": "array",
            "items": {
              "type": "string",
              "nullable": true
            }
          }
        },
        "required": [
          "name",
          "website"
        ],
        "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": "Account/company id for follow-up retrieval or joins."
          },
          "name": {
            "type": "string",
            "description": "Account/company name."
          },
          "owners": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {}
                      ]
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {}
                  ]
                }
              ]
            },
            "description": "Workspace users assigned as account owners."
          },
          "status": {
            "type": "string",
            "enum": [
              "Existing Customers",
              "Previous Customers",
              "Prospects",
              "Suspects",
              "Influencers",
              "Partners",
              "Existing Investors",
              "Prospect Investors",
              "Suspect Investors",
              "Inactive"
            ],
            "description": "Account Status is exact. \"prospect\" or \"prospects\" means status = \"Prospects\". Preserve across calls; never infer it; never relabel mixed-status rows as Prospects."
          },
          "inTargeting": {
            "type": "boolean",
            "description": "True when an IN_USE Audience enables account targeting."
          },
          "hasTargetedStakeholders": {
            "type": "boolean",
            "description": "True when a linked stakeholder has active targeting through an IN_USE Audience."
          },
          "health": {
            "type": "string",
            "enum": [
              "Expand",
              "Stabilize",
              "Rescue"
            ],
            "description": "Health/RMF are lifecycle-exclusive. Existing Customers use health, never RMF; others use RMF, never health. Health filter/facet scopes to status = \"Existing Customers\"; RMF filter/facet excludes that status. Query separately; never infer."
          },
          "website": {
            "type": "string"
          },
          "linkedIn": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "employees": {
            "type": "string"
          },
          "pif": {
            "type": "object",
            "properties": {
              "score": {
                "type": "number",
                "description": "Product Interest Fit score only. This is media-intent scoring, not qualification, buying readiness, or sales readiness."
              },
              "engagementBand": {
                "type": "string",
                "description": "User-facing PIF engagement-band label with emoji. This AI output field must not expose the raw engagement-band enum."
              },
              "engagementBandDisplay": {
                "type": "string",
                "description": "User-facing PIF engagement-band label with emoji. Use this in final answers."
              },
              "engagementBandMeaning": {
                "type": "string",
                "description": "Human-readable explanation of what the current PIF engagement band means."
              },
              "trend": {
                "type": "string",
                "description": "User-facing PIF trend label with emoji. This AI output field must not expose the raw trend enum.",
                "nullable": true
              },
              "trendDisplay": {
                "type": "string",
                "description": "User-facing PIF trend label with emoji. Use this in final answers."
              },
              "momentum": {
                "type": "number",
                "description": "Net PIF movement for the same score basis/window. Positive means stronger recent media-intent movement; negative means weaker.",
                "nullable": true
              },
              "last30Days": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number",
                    "description": "Product Interest Fit score only. This is media-intent scoring, not qualification, buying readiness, or sales readiness. This specific field is the score for the fixed window shown by this object."
                  },
                  "engagementBand": {
                    "type": "string",
                    "description": "User-facing PIF engagement-band label with emoji. This AI output field must not expose the raw engagement-band enum."
                  },
                  "engagementBandDisplay": {
                    "type": "string",
                    "description": "User-facing PIF engagement-band label with emoji. Use this in final answers."
                  },
                  "engagementBandMeaning": {
                    "type": "string",
                    "description": "Human-readable explanation of what the current PIF engagement band means."
                  },
                  "trend": {
                    "type": "string",
                    "description": "User-facing PIF trend label with emoji. This AI output field must not expose the raw trend enum.",
                    "nullable": true
                  },
                  "trendDisplay": {
                    "type": "string",
                    "description": "User-facing PIF trend label with emoji. Use this in final answers."
                  },
                  "momentum": {
                    "type": "number",
                    "description": "Net PIF movement for the same score basis/window. Positive means stronger recent media-intent movement; negative means weaker.",
                    "nullable": true
                  },
                  "breakdown": {
                    "type": "object",
                    "properties": {
                      "total": {
                        "type": "number",
                        "description": "Total PIF points across all breakdown rows."
                      },
                      "baseTotal": {
                        "type": "number",
                        "description": "Base PIF points before bonus logic."
                      },
                      "bonusTotal": {
                        "type": "number",
                        "description": "Bonus PIF points added on top of the base score."
                      },
                      "rows": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "description": "Stable PIF breakdown row key for the contributing engagement category."
                            },
                            "label": {
                              "type": "string",
                              "description": "User-facing label for the PIF breakdown row."
                            },
                            "category": {
                              "type": "string",
                              "enum": [
                                "BASE",
                                "BONUS"
                              ],
                              "description": "PIF breakdown category for the contributing signal type."
                            },
                            "count": {
                              "type": "number",
                              "description": "Observed units for this PIF breakdown row, such as clicks, visits, or engaged stakeholders."
                            },
                            "pointsPerUnit": {
                              "type": "number",
                              "description": "PIF scoring weight for each observed unit in this breakdown row."
                            },
                            "points": {
                              "type": "number",
                              "description": "Total PIF points contributed by this breakdown row."
                            },
                            "durationThresholdSeconds": {
                              "type": "number",
                              "description": "Optional visit-duration threshold used for this breakdown contribution when the row is duration-sensitive."
                            }
                          },
                          "additionalProperties": false
                        },
                        "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                      }
                    },
                    "additionalProperties": false,
                    "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                  },
                  "scoreWindowDays": {
                    "type": "number",
                    "description": "Number of days in the fixed scoring window used for this PIF summary."
                  },
                  "windowStart": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Start of the fixed scoring window for this PIF summary."
                  },
                  "windowEnd": {
                    "type": "string",
                    "format": "date-time",
                    "description": "End of the fixed scoring window for this PIF summary."
                  },
                  "computedAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Timestamp when this PIF summary was computed."
                  }
                },
                "additionalProperties": false,
                "description": "Bounded PIF summary for a fixed window. Keep the window semantics distinct from the latest headline PIF score. This object is the fixed last-30-days window."
              },
              "last7Days": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number",
                    "description": "Product Interest Fit score only. This is media-intent scoring, not qualification, buying readiness, or sales readiness. This specific field is the score for the fixed window shown by this object."
                  },
                  "engagementBand": {
                    "type": "string",
                    "description": "User-facing PIF engagement-band label with emoji. This AI output field must not expose the raw engagement-band enum."
                  },
                  "engagementBandDisplay": {
                    "type": "string",
                    "description": "User-facing PIF engagement-band label with emoji. Use this in final answers."
                  },
                  "engagementBandMeaning": {
                    "type": "string",
                    "description": "Human-readable explanation of what the current PIF engagement band means."
                  },
                  "trend": {
                    "type": "string",
                    "description": "User-facing PIF trend label with emoji. This AI output field must not expose the raw trend enum.",
                    "nullable": true
                  },
                  "trendDisplay": {
                    "type": "string",
                    "description": "User-facing PIF trend label with emoji. Use this in final answers."
                  },
                  "momentum": {
                    "type": "number",
                    "description": "Net PIF movement for the same score basis/window. Positive means stronger recent media-intent movement; negative means weaker.",
                    "nullable": true
                  },
                  "breakdown": {
                    "type": "object",
                    "properties": {
                      "total": {
                        "type": "number",
                        "description": "Total PIF points across all breakdown rows."
                      },
                      "baseTotal": {
                        "type": "number",
                        "description": "Base PIF points before bonus logic."
                      },
                      "bonusTotal": {
                        "type": "number",
                        "description": "Bonus PIF points added on top of the base score."
                      },
                      "rows": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "description": "Stable PIF breakdown row key for the contributing engagement category."
                            },
                            "label": {
                              "type": "string",
                              "description": "User-facing label for the PIF breakdown row."
                            },
                            "category": {
                              "type": "string",
                              "enum": [
                                "BASE",
                                "BONUS"
                              ],
                              "description": "PIF breakdown category for the contributing signal type."
                            },
                            "count": {
                              "type": "number",
                              "description": "Observed units for this PIF breakdown row, such as clicks, visits, or engaged stakeholders."
                            },
                            "pointsPerUnit": {
                              "type": "number",
                              "description": "PIF scoring weight for each observed unit in this breakdown row."
                            },
                            "points": {
                              "type": "number",
                              "description": "Total PIF points contributed by this breakdown row."
                            },
                            "durationThresholdSeconds": {
                              "type": "number",
                              "description": "Optional visit-duration threshold used for this breakdown contribution when the row is duration-sensitive."
                            }
                          },
                          "additionalProperties": false
                        },
                        "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                      }
                    },
                    "additionalProperties": false,
                    "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                  },
                  "scoreWindowDays": {
                    "type": "number",
                    "description": "Number of days in the fixed scoring window used for this PIF summary."
                  },
                  "windowStart": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Start of the fixed scoring window for this PIF summary."
                  },
                  "windowEnd": {
                    "type": "string",
                    "format": "date-time",
                    "description": "End of the fixed scoring window for this PIF summary."
                  },
                  "computedAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Timestamp when this PIF summary was computed."
                  }
                },
                "additionalProperties": false,
                "description": "Bounded PIF summary for a fixed window. Keep the window semantics distinct from the latest headline PIF score. This object is the fixed last-7-days window."
              }
            },
            "additionalProperties": false
          },
          "adClicks": {
            "type": "number",
            "description": "Latest cumulative account-level media clicks."
          },
          "adImpressions": {
            "type": "number",
            "description": "Latest cumulative account-level media impressions."
          },
          "subAccounts": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {}
              ]
            }
          },
          "domain": {
            "type": "string"
          },
          "parentCompany": {
            "type": "string"
          },
          "adTargetingCountries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "targetingTechniques": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "LINKEDIN",
                "IP",
                "GEO",
                "RETARGETING"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "rmf": {
            "description": "Reference Market Fit for statuses other than Existing Customers. Existing Customers return no RMF and use health instead. Null/absent means no RMF is set.",
            "nullable": true,
            "type": "string",
            "enum": [
              "High",
              "Medium",
              "Low",
              null
            ]
          },
          "referenceMarketFit": {
            "type": "string",
            "description": "Alias of rmf for statuses other than Existing Customers. Existing Customers return no Reference Market Fit and use health instead.",
            "nullable": true
          },
          "program": {
            "type": "string",
            "description": "Client-defined account program classification. Use program; type is a deprecated response alias."
          },
          "hqCountry": {
            "type": "string"
          },
          "archived": {
            "type": "boolean",
            "description": "Present with true only when the account is Archived. Active accounts omit this field.",
            "enum": [
              true
            ]
          },
          "type": {
            "type": "string",
            "description": "Deprecated response alias for program.",
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "description": "Created account 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 accounts

curl -X POST "https://server-url-from-token-page.endpoint/api/v1/public/accounts" \
  -H "Authorization: Bearer $DOE_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "input": [
    {
      "name": "Example Company",
      "website": "https://example.com"
    }
  ]
}'
Response example
No response example is supplied. See the JSON response schema.