cURL
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>" }
Processes various types of input data to enrich contact information
The contact ID
Type of input data
text
json
pdf
image
The input data or file content
Enrichment prompt or instructions
Contact enriched successfully