Update one or more fields on an existing contact. Only include the fields you want to change.
Important: this endpoint only accepts the standard contact fields listed below. Custom field values are silently ignored. To set custom fields use POST /leads/api/custom-field-values. Alternatively, the Upsert endpoint supports custom_fields in a single request.
Security
bearerAuth
PUT
curl -i -X PUT \
'https://leadgen.grinfi.io/leads/api/leads/{uuid}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"first_name": "John",
"last_name": "Doe",
"company_name": "Acme Inc",
"ln_id": "ACoAAAB6GuQBOXo75numqJfM9u08uHgjOSo4p9U",
"sn_id": "ACwAAAB6GuQBEz2TMHbG4sa7Nw5wSi7cJXMQkPI",
"linkedin": "john-doe-123456",
"email": "john.doe@example.com",
"about": "string",
"domain": "acme.com",
"headline": "VP of Sales at Acme Inc",
"position": "VP of Sales",
"raw_address": "San Francisco, CA, USA"
}'Updated contact.
Response
{ "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "team_id": 0, "user_id": 0, "sender_profile_uuid": "string", "list_uuid": "string", "data_source_uuid": "string", "pipeline_stage_uuid": "string", "company_uuid": "string", "name": "John Doe", "first_name": "John", "last_name": "Doe", "company_name": "Acme Inc", "company_ln_id": "string", "position": "VP of Sales", "headline": "VP of Sales at Acme Inc", "about": "string", "avatar_url": "string", "ln_id": "string", "sn_id": "string", "linkedin": "john-doe-123456", "facebook": "string", "twitter": "string", "work_email": "john@acme.com", "personal_email": "string", "work_phone_number": "string", "personal_phone_number": "string", "connections_number": 0, "followers_number": 0, "primary_language": "string", "supported_languages": [ "string" ], "has_open_profile": 0, "has_verified_profile": 0, "has_premium": 0, "experience": [ { … } ], "posts": [ { … } ], "educations": [ { … } ], "skills": [ "string" ], "raw_address": "San Francisco, CA, USA", "location": [ { … } ], "tags": [ "string" ], "status": "ok", "linkedin_status": "active", "email_status": "string", "unread_counts": [ { … } ], "last_automation_approve_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }