Zum Inhalt

Reference

Prospects

GET/api/v1/prospectsList prospects

Lists target companies (Zielfirmen) the Scout found and the Rechercheur researched, best score first. Not customers: a target company becomes a company only by adoption. Filter by status, vertical, a minimum score or a search term.scope leads:read

Query

statusone of found, researched, failed, qualified, rejected, adopted[]Statuses to include. Default: found, researched, failed, qualified.
verticalone of it, agentur, beratung, ingenieur, sonstige[]Verticals to include. Default: all.
min_scoreintegerOnly firms with at least this score.
qstringSearch in name, domain, city and summary.
pageinteger1-based page of 50 rows. Omit for the first page.

Response 200

items[]object[]
items[].idstring
items[].namestring
items[].domainstring | null
items[].citystring | null
items[].verticalone of it, agentur, beratung, ingenieur, sonstige | null
items[].vertical_labelstring | null
items[].statusone of found, researched, failed, qualified, rejected, adopted
items[].scorenumber | null
items[].headcountstring | null
items[].summarystring | null
items[].researched_atstring | null
items[].company_idstring | null
pageinteger
totalinteger
has_moreboolean
Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "domain": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "vertical": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "it",
                  "agentur",
                  "beratung",
                  "ingenieur",
                  "sonstige"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "vertical_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "found",
              "researched",
              "failed",
              "qualified",
              "rejected",
              "adopted"
            ]
          },
          "score": {
            "type": [
              "number",
              "null"
            ]
          },
          "headcount": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "researched_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "domain",
          "city",
          "vertical",
          "vertical_label",
          "status",
          "score",
          "headcount",
          "summary",
          "researched_at",
          "company_id"
        ],
        "additionalProperties": false
      }
    },
    "page": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "total": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "has_more": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "page",
    "total",
    "has_more"
  ],
  "additionalProperties": false
}

Refusals are problems with a code — see Errors.

POST/api/v1/prospectsCreate prospect

Adds a target company by hand, for the Rechercheur to read at its next run. Needs a name; a website makes it researchable.scope leads:write

Body (JSON)

namerequiredstring
websitestring | null
citystring | null
verticalone of it, agentur, beratung, ingenieur, sonstige | null

Response 200

idstring
Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

Refusals are problems with a code — see Errors.

GET/api/v1/prospects/{id}Get prospect

One target company with its dossier: profile, decision makers, signals with evidence, the score and how it came about, the pages read.scope leads:read

Path

idrequiredstringThe target company's id.

Response 200

idstring
namestring
websitestring | null
domainstring | null
addressobject
address.streetstring | null
address.zipstring | null
address.citystring | null
address.countrystring
phonestring | null
emailstring | null
sourcestring
source_refstring | null
regionstring | null
verticalone of it, agentur, beratung, ingenieur, sonstige | null
statusone of found, researched, failed, qualified, rejected, adopted
scorenumber | null
score_parts[]object[]
score_parts[].keystring
score_parts[].labelstring
score_parts[].pointsnumber
score_parts[].maxnumber
score_parts[].notestring | null
summarystring | null
profileobject | null
profile.industrystring | null
profile.servicesstring[]
profile.headcountobject
profile.headcount.minnumber | null
profile.headcount.maxnumber | null
profile.headcount.evidencestring | null
profile.decisionMakers[]object[]
profile.decisionMakers[].namestring
profile.decisionMakers[].rolestring | null
profile.decisionMakers[].urlstring | null
profile.toolsstring[]
profile.signals[]object[]
profile.signals[].keystring
profile.signals[].labelstring
profile.signals[].evidencestring
profile.signals[].urlstring | null
profile.negatives[]object[]
profile.negatives[].keystring
profile.negatives[].labelstring
profile.negatives[].evidencestring
profile.negatives[].urlstring | null
profile.pitchAnglestring | null
profile.pagesReadstring[]
profile.perceptionobject | null
profile.perception.strengths[]object[]
profile.perception.weaknesses[]object[]
profile.perception.ratingobject | null
researched_atstring | null
research_errorstring | null
verdictobject | null
verdict.reasonstring | null
verdict.atstring
verdict.bystring | null
companyobject | null
company.idstring
company.namestring
created_atstring
Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "website": {
      "type": [
        "string",
        "null"
      ]
    },
    "domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "address": {
      "type": "object",
      "properties": {
        "street": {
          "type": [
            "string",
            "null"
          ]
        },
        "zip": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": "string"
        }
      },
      "required": [
        "street",
        "zip",
        "city",
        "country"
      ],
      "additionalProperties": false
    },
    "phone": {
      "type": [
        "string",
        "null"
      ]
    },
    "email": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": "string"
    },
    "source_ref": {
      "type": [
        "string",
        "null"
      ]
    },
    "region": {
      "type": [
        "string",
        "null"
      ]
    },
    "vertical": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "it",
            "agentur",
            "beratung",
            "ingenieur",
            "sonstige"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "found",
        "researched",
        "failed",
        "qualified",
        "rejected",
        "adopted"
      ]
    },
    "score": {
      "type": [
        "number",
        "null"
      ]
    },
    "score_parts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "points": {
            "type": "number"
          },
          "max": {
            "type": "number"
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "key",
          "label",
          "points",
          "max",
          "note"
        ],
        "additionalProperties": false
      }
    },
    "summary": {
      "type": [
        "string",
        "null"
      ]
    },
    "profile": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "industry": {
              "type": [
                "string",
                "null"
              ]
            },
            "services": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "headcount": {
              "type": "object",
              "properties": {
                "min": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "max": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "evidence": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "min",
                "max",
                "evidence"
              ],
              "additionalProperties": false
            },
            "decisionMakers": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "role": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "name",
                  "role",
                  "url"
                ],
                "additionalProperties": false
              }
            },
            "tools": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "signals": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "evidence": {
                    "type": "string"
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "key",
                  "label",
                  "evidence",
                  "url"
                ],
                "additionalProperties": false
              }
            },
            "negatives": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "evidence": {
                    "type": "string"
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "key",
                  "label",
                  "evidence",
                  "url"
                ],
                "additionalProperties": false
              }
            },
            "pitchAngle": {
              "type": [
                "string",
                "null"
              ]
            },
            "pagesRead": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "perception": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "strengths": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "text": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "text",
                          "source"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "weaknesses": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "text": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "text",
                          "source"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "rating": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number"
                            },
                            "count": {
                              "type": "number"
                            },
                            "source": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "value",
                            "count",
                            "source"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "strengths",
                    "weaknesses",
                    "rating"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "industry",
            "services",
            "headcount",
            "decisionMakers",
            "tools",
            "signals",
            "negatives",
            "pitchAngle",
            "pagesRead",
            "perception"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "researched_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "research_error": {
      "type": [
        "string",
        "null"
      ]
    },
    "verdict": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "reason": {
              "type": [
                "string",
                "null"
              ]
            },
            "at": {
              "type": "string"
            },
            "by": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "reason",
            "at",
            "by"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "company": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "name"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "website",
    "domain",
    "address",
    "phone",
    "email",
    "source",
    "source_ref",
    "region",
    "vertical",
    "status",
    "score",
    "score_parts",
    "summary",
    "profile",
    "researched_at",
    "research_error",
    "verdict",
    "company",
    "created_at"
  ],
  "additionalProperties": false
}

Refusals are problems with a code — see Errors.

PATCH/api/v1/prospects/{id}Update prospect

Decides a target company: `verdict` qualified or rejected with an optional reason; `research: true` sends it back to the Rechercheur; `adopt: true` creates a company in the master data from it (once). One of the three per call.scope leads:write

Path

idrequiredstringThe target company's id.

Body (JSON)

verdictone of qualified, rejected
reasonstring | null
researchboolean
adoptboolean

Response 200

statusone of qualified, rejected
Schema
{
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "qualified",
            "rejected"
          ]
        }
      },
      "required": [
        "status"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "const": "found"
        }
      },
      "required": [
        "status"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "const": "adopted"
        },
        "company_id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "status",
        "company_id",
        "url"
      ],
      "additionalProperties": false
    }
  ]
}

Refusals are problems with a code — see Errors.