cURL
curl --request PUT \ --url 'https://api.example.com/api/v1/contact/{contact_id}?api_key=' \ --header 'Content-Type: application/json' \ --data ' { "first_name": "<string>", "last_name": "<string>", "email": "<string>", "channels": {}, "user_attributes": {}, "last_seen": "2023-11-07T05:31:56Z", "last_sent": "2023-11-07T05:31:56Z", "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "last_assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "last_widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "custom_fields": {} } '
{ "message": "Data updated successfully", "meta": {}, "data": { "first_name": "<string>", "last_name": "<string>", "email": "<string>", "channels": {}, "user_attributes": {}, "last_seen": "2023-11-07T05:31:56Z", "last_sent": "2023-11-07T05:31:56Z", "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "last_assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "last_widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "custom_fields": {} } }
Update contact
Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.
in-
Successful Response
Show child attributes
Was this page helpful?