POST Start lookalike account research

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

POST /api/v1/public/research/accounts/lookalike-searches — Start lookalike account research

Read/write token required

Find look-alike accounts using selected existing accountIds or all=true as seed companies. Seed accountIds alone are sufficient: by default, the server snapshots each seed account’s active Segments and saved Industry separately. Assigned Segment criteria take priority over saved seed Industry: use the saved Industry only when it refines that Segment, otherwise use the Segment industries. Explicit industries override seed Industry and must fit within the Segment scope. To replace the inherited Segment scope, provide user-selected segmentIds directly, or one user-selected buyingLogicIds entry and optionally its offeringIds. Unassigned seeds still use identity and their Industry. Search Industry filters never overwrite a company’s researched Industry; users confirm or edit it during creation. Never infer a Buying Logic for a Segment-only company search. Company similarity uses the seed identity with inherited or explicitly selected GTM scope. Seed companies and all existing accounts in this workspace, including archived accounts, are excluded; proposals are new company matches. Existing matches do not consume result slots. Searches can advance past duplicate-only pages within a bounded credit estimate. maxResults (1-1000) caps total proposals; limitPerAccount (1-20) caps each seed. The server estimates and reserves lookup/search/profile credits including fallback and retries. Admission requires credits for the full estimate; admitted uncapped jobs may exceed their reservation. Optional maxCredits caps actual spending. Provide a unique requestId. Track with getResearchJob/listResearchJobs and share the returned internal url for review. Never auto-apply results.

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
offeringIds (body, string[], optional)

See the JSON schema for this field’s contract.

  • Default: []
  • Maximum items: 10
segmentIds (body, string[], optional)

See the JSON schema for this field’s contract.

  • Default: []
  • Maximum items: 100
buyingLogicIds (body, string[], optional)

See the JSON schema for this field’s contract.

  • Default: []
  • Maximum items: 10
countries (body, string[], optional)

See the JSON schema for this field’s contract.

  • Default: []
  • Maximum items: 249
industries (body, string[], optional)

See the JSON schema for this field’s contract.

  • Default: []
  • Maximum items: 20
keywords (body, string, optional)

See the JSON schema for this field’s contract.

  • Default: ""
  • Maximum length: 1000
limitPerAccount (body, integer, optional)

See the JSON schema for this field’s contract.

  • Default: 10
  • Minimum: 1
  • Maximum: 20
maxResults (body, integer, optional)

See the JSON schema for this field’s contract.

  • Minimum: 1
  • Maximum: 1000
accountIds (body, string[], optional)

See the JSON schema for this field’s contract.

  • Default: []
  • Maximum items: 5000
all (body, boolean, optional)

See the JSON schema for this field’s contract.

  • Default: false
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
        },
        "offeringIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[a-f\\d]{24}$"
          },
          "maxItems": 10,
          "default": []
        },
        "segmentIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[a-f\\d]{24}$"
          },
          "maxItems": 100,
          "default": []
        },
        "buyingLogicIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[a-f\\d]{24}$"
          },
          "maxItems": 10,
          "default": []
        },
        "countries": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300
          },
          "maxItems": 249,
          "default": []
        },
        "industries": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300
          },
          "maxItems": 20,
          "default": []
        },
        "keywords": {
          "type": "string",
          "maxLength": 1000,
          "default": ""
        },
        "limitPerAccount": {
          "type": "integer",
          "minimum": 1,
          "maximum": 20,
          "default": 10
        },
        "maxResults": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000
        },
        "accountIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[a-f\\d]{24}$"
          },
          "maxItems": 5000,
          "default": []
        },
        "all": {
          "type": "boolean",
          "default": false
        }
      },
      "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 lookalike account research

curl -X POST "https://server-url-from-token-page.endpoint/api/v1/public/research/accounts/lookalike-searches" \
  -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.