cURL
curl --request PATCH \ --url https://app.nex.ai/api/developers/v1/records/{record_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "attributes": { "job_title": "Senior Engineer", "location": { "city": "Boston", "region": "MA", "country": "US" }, "phone_number": { "country_code": 1, "number": "5551234567" } } } '
{ "id": "32414268188027655", "object_id": "32414268188027650", "type": "person", "workspace_id": "32414268188027645", "created_at": "2024-01-15T14:20:00Z", "updated_at": "2024-01-21T11:45:00Z", "attributes": { "name": { "first_name": "John", "last_name": "Doe" }, "email_addresses": [ "[email protected]" ], "job_title": "Senior Engineer", "phone_number": { "country_code": 1, "number": "5551234567" }, "location": { "city": "Boston", "region": "MA", "country": "US" } } }
Updates specific attributes of an existing record
API key for authentication (format: "Bearer YOUR_API_KEY")
Record ID
Attributes to update
Show child attributes
Updated record with all attributes