Skip to main content
POST
/
public-api
/
contacts
/
{id}
/
enrich
Enrich contact data
curl --request POST \
  --url https://agents.nineteen58.co.za/public-api/contacts/{id}/enrich \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form type=text \
  --form 'data=<string>' \
  --form 'prompt=<string>'
{
  "id": "<string>",
  "identifier": "<string>",
  "name": "<string>",
  "email": "<string>",
  "channel": "<string>",
  "personal_context": "<string>",
  "notes": "<string>",
  "relevant_information": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The contact ID

Body

multipart/form-data
type
enum<string>

Type of input data

Available options:
text,
json,
pdf,
image
data
string

The input data or file content

prompt
string

Enrichment prompt or instructions

Response

Contact enriched successfully

id
string
identifier
string
name
string
email
string | null
channel
string
personal_context
string | null
notes
string | null
relevant_information
string | null