Skip to main content
Api

Enrichment

Research a lead with managed agents

POST
/enrichment/person
AuthorizationBearer <token>

API key issued to a Sonzai project. Format: Bearer sk_....

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://loading/api/v1/enrichment/person" \  -H "Content-Type: application/json" \  -d '{}'
{
  "$schema": "/api/v1/schemas/EnrichPersonOutputBody.json",
  "cache_hit": true,
  "contact": {
    "property1": null,
    "property2": null
  },
  "credits_used": 0,
  "providers_used": [
    "string"
  ],
  "research": {
    "property1": null,
    "property2": null
  },
  "steps": [
    {
      "outcome": "string",
      "step": "string"
    }
  ]
}
{
  "$schema": "/api/v1/schemas/ErrorModel.json",
  "detail": "Property foo is required but is missing.",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com/error-log/abc123",
  "status": 400,
  "title": "Bad Request",
  "type": "https://example.com/errors/example"
}