curl --request PUT \
--url https://app.nex.ai/api/developers/v1/lists/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"parent_id": "32417546405832961",
"attributes": {
"source": "website",
"status": "new",
"score": 85,
"notes": "Qualified lead from demo request"
}
}
'{
"id": "32417546405832962",
"object_id": "32417546405832950",
"type": "person",
"workspace_id": "32417546405832945",
"created_at": "2024-01-20T16:45:00Z",
"updated_at": "2024-01-20T16:45:00Z",
"attributes": {
"name": {
"first_name": "Sarah",
"last_name": "Chen"
},
"email_addresses": [
"sarah@newstartup.com"
],
"job_title": "VP Engineering",
"source": "website",
"status": "new",
"score": 85,
"notes": "Qualified lead from demo request"
}
}Add record to a list or update its list-specific attributes if it already exists
curl --request PUT \
--url https://app.nex.ai/api/developers/v1/lists/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"parent_id": "32417546405832961",
"attributes": {
"source": "website",
"status": "new",
"score": 85,
"notes": "Qualified lead from demo request"
}
}
'{
"id": "32417546405832962",
"object_id": "32417546405832950",
"type": "person",
"workspace_id": "32417546405832945",
"created_at": "2024-01-20T16:45:00Z",
"updated_at": "2024-01-20T16:45:00Z",
"attributes": {
"name": {
"first_name": "Sarah",
"last_name": "Chen"
},
"email_addresses": [
"sarah@newstartup.com"
],
"job_title": "VP Engineering",
"source": "website",
"status": "new",
"score": 85,
"notes": "Qualified lead from demo request"
}
}API key for authentication (format: "Bearer YOUR_API_KEY")
List ID
List member upsert request