Update Record Contacts
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool": "HUBSPOT_UPDATE_RECORD_CONTACTS",
"parameters": {
"recordId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"phone": "<string>",
"hubspot_owner_id": "<string>",
"hs_additional_emails": "<string>",
"annualrevenue": "<string>",
"hs_bing_ad_clicked": true,
"hs_bing_click_id": "<string>",
"hs_all_assigned_business_unit_ids": "<string>",
"hs_chat_assistant_iql_date": "<string>",
"hs_chat_assistant_summary": "<string>",
"hs_chatgpt_ad_clicked": true,
"hs_chatgpt_click_id": "<string>",
"city": "<string>",
"hs_facebook_ad_clicked": true,
"closedate": "<string>",
"company": "<string>",
"company_size": "<string>",
"country": "<string>",
"hs_country_region_code": "<string>",
"hs_cross_account_note": "<string>",
"hs_cross_sell_opportunity": true,
"date_of_birth": "<string>",
"degree": "<string>",
"hs_employment_change_detected_date": "<string>",
"hs_enforce_double_opt_in": true,
"hs_enriched_email_bounce_detected": true,
"hs_excluded_from_cross_account_data_mirroring": true,
"hs_facebook_click_id": "<string>",
"hs_facebookid": "<string>",
"fax": "<string>",
"field_of_study": "<string>",
"followercount": 123,
"gender": "<string>",
"hs_google_click_id": "<string>",
"graduation_date": "<string>",
"ownername": "<string>",
"industry": "<string>",
"jobtitle": "<string>",
"hs_job_change_detected_date": "<string>",
"job_function": "<string>",
"kloutscoregeneral": 123,
"hs_last_metered_enrichment_timestamp": "<string>",
"hs_latest_source_timestamp": "<string>",
"hs_gps_latitude": "<string>",
"linkedinbio": "<string>",
"linkedinconnections": 123,
"hs_linkedin_url": "<string>",
"hs_linkedin_click_id": "<string>",
"hs_linkedinid": "<string>",
"hs_live_enrichment_deadline": "<string>",
"hs_gps_longitude": "<string>",
"marital_status": "<string>",
"hs_content_membership_email": "<string>",
"hs_content_membership_notes": "<string>",
"message": "<string>",
"military_status": "<string>",
"mobilephone": "<string>",
"hs_owning_teams": "<string>",
"hs_persona": "<string>",
"photo": "<string>",
"hs_pinned_engagement_id": 123,
"hs_pipeline": "<string>",
"zip": "<string>",
"associatedcompanyid": 123,
"hs_prospecting_agent_last_enrolled": "<string>",
"hs_prospecting_agent_total_enrolled_count": 123,
"hs_prospecting_agent_activation_email_id": 123,
"hs_reddit_ad_clicked": true,
"hs_reddit_click_id": "<string>",
"relationship_status": "<string>",
"hs_returning_to_office_detected_date": "<string>",
"salutation": "<string>",
"school": "<string>",
"seniority": "<string>",
"hs_shared_team_ids": "<string>",
"hs_shared_user_ids": "<string>",
"hs_feedback_show_nps_web_survey": true,
"start_date": "<string>",
"state": "<string>",
"hs_state_code": "<string>",
"address": "<string>",
"hs_tiktok_ad_clicked": true,
"hs_tiktok_click_id": "<string>",
"hs_time_between_contact_creation_and_deal_close": 123,
"hs_time_between_contact_creation_and_deal_creation": 123,
"hs_time_to_move_from_lead_to_customer": 123,
"hs_time_to_move_from_marketingqualifiedlead_to_customer": 123,
"hs_time_to_move_from_opportunity_to_customer": 123,
"hs_time_to_move_from_salesqualifiedlead_to_customer": 123,
"hs_time_to_move_from_subscriber_to_customer": 123,
"twitterbio": "<string>",
"hs_twitterid": "<string>",
"twitterprofilephoto": "<string>",
"twitterhandle": "<string>",
"website": "<string>",
"hs_whatsapp_bsuids": "<string>",
"hs_whatsapp_phone_number": "<string>",
"work_email": "<string>",
"hs_googleplusid": "<string>"
}
}
'import requests
url = "https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS"
payload = {
"tool": "HUBSPOT_UPDATE_RECORD_CONTACTS",
"parameters": {
"recordId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"phone": "<string>",
"hubspot_owner_id": "<string>",
"hs_additional_emails": "<string>",
"annualrevenue": "<string>",
"hs_bing_ad_clicked": True,
"hs_bing_click_id": "<string>",
"hs_all_assigned_business_unit_ids": "<string>",
"hs_chat_assistant_iql_date": "<string>",
"hs_chat_assistant_summary": "<string>",
"hs_chatgpt_ad_clicked": True,
"hs_chatgpt_click_id": "<string>",
"city": "<string>",
"hs_facebook_ad_clicked": True,
"closedate": "<string>",
"company": "<string>",
"company_size": "<string>",
"country": "<string>",
"hs_country_region_code": "<string>",
"hs_cross_account_note": "<string>",
"hs_cross_sell_opportunity": True,
"date_of_birth": "<string>",
"degree": "<string>",
"hs_employment_change_detected_date": "<string>",
"hs_enforce_double_opt_in": True,
"hs_enriched_email_bounce_detected": True,
"hs_excluded_from_cross_account_data_mirroring": True,
"hs_facebook_click_id": "<string>",
"hs_facebookid": "<string>",
"fax": "<string>",
"field_of_study": "<string>",
"followercount": 123,
"gender": "<string>",
"hs_google_click_id": "<string>",
"graduation_date": "<string>",
"ownername": "<string>",
"industry": "<string>",
"jobtitle": "<string>",
"hs_job_change_detected_date": "<string>",
"job_function": "<string>",
"kloutscoregeneral": 123,
"hs_last_metered_enrichment_timestamp": "<string>",
"hs_latest_source_timestamp": "<string>",
"hs_gps_latitude": "<string>",
"linkedinbio": "<string>",
"linkedinconnections": 123,
"hs_linkedin_url": "<string>",
"hs_linkedin_click_id": "<string>",
"hs_linkedinid": "<string>",
"hs_live_enrichment_deadline": "<string>",
"hs_gps_longitude": "<string>",
"marital_status": "<string>",
"hs_content_membership_email": "<string>",
"hs_content_membership_notes": "<string>",
"message": "<string>",
"military_status": "<string>",
"mobilephone": "<string>",
"hs_owning_teams": "<string>",
"hs_persona": "<string>",
"photo": "<string>",
"hs_pinned_engagement_id": 123,
"hs_pipeline": "<string>",
"zip": "<string>",
"associatedcompanyid": 123,
"hs_prospecting_agent_last_enrolled": "<string>",
"hs_prospecting_agent_total_enrolled_count": 123,
"hs_prospecting_agent_activation_email_id": 123,
"hs_reddit_ad_clicked": True,
"hs_reddit_click_id": "<string>",
"relationship_status": "<string>",
"hs_returning_to_office_detected_date": "<string>",
"salutation": "<string>",
"school": "<string>",
"seniority": "<string>",
"hs_shared_team_ids": "<string>",
"hs_shared_user_ids": "<string>",
"hs_feedback_show_nps_web_survey": True,
"start_date": "<string>",
"state": "<string>",
"hs_state_code": "<string>",
"address": "<string>",
"hs_tiktok_ad_clicked": True,
"hs_tiktok_click_id": "<string>",
"hs_time_between_contact_creation_and_deal_close": 123,
"hs_time_between_contact_creation_and_deal_creation": 123,
"hs_time_to_move_from_lead_to_customer": 123,
"hs_time_to_move_from_marketingqualifiedlead_to_customer": 123,
"hs_time_to_move_from_opportunity_to_customer": 123,
"hs_time_to_move_from_salesqualifiedlead_to_customer": 123,
"hs_time_to_move_from_subscriber_to_customer": 123,
"twitterbio": "<string>",
"hs_twitterid": "<string>",
"twitterprofilephoto": "<string>",
"twitterhandle": "<string>",
"website": "<string>",
"hs_whatsapp_bsuids": "<string>",
"hs_whatsapp_phone_number": "<string>",
"work_email": "<string>",
"hs_googleplusid": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tool: 'HUBSPOT_UPDATE_RECORD_CONTACTS',
parameters: {
recordId: '<string>',
firstname: '<string>',
lastname: '<string>',
email: '<string>',
phone: '<string>',
hubspot_owner_id: '<string>',
hs_additional_emails: '<string>',
annualrevenue: '<string>',
hs_bing_ad_clicked: true,
hs_bing_click_id: '<string>',
hs_all_assigned_business_unit_ids: '<string>',
hs_chat_assistant_iql_date: '<string>',
hs_chat_assistant_summary: '<string>',
hs_chatgpt_ad_clicked: true,
hs_chatgpt_click_id: '<string>',
city: '<string>',
hs_facebook_ad_clicked: true,
closedate: '<string>',
company: '<string>',
company_size: '<string>',
country: '<string>',
hs_country_region_code: '<string>',
hs_cross_account_note: '<string>',
hs_cross_sell_opportunity: true,
date_of_birth: '<string>',
degree: '<string>',
hs_employment_change_detected_date: '<string>',
hs_enforce_double_opt_in: true,
hs_enriched_email_bounce_detected: true,
hs_excluded_from_cross_account_data_mirroring: true,
hs_facebook_click_id: '<string>',
hs_facebookid: '<string>',
fax: '<string>',
field_of_study: '<string>',
followercount: 123,
gender: '<string>',
hs_google_click_id: '<string>',
graduation_date: '<string>',
ownername: '<string>',
industry: '<string>',
jobtitle: '<string>',
hs_job_change_detected_date: '<string>',
job_function: '<string>',
kloutscoregeneral: 123,
hs_last_metered_enrichment_timestamp: '<string>',
hs_latest_source_timestamp: '<string>',
hs_gps_latitude: '<string>',
linkedinbio: '<string>',
linkedinconnections: 123,
hs_linkedin_url: '<string>',
hs_linkedin_click_id: '<string>',
hs_linkedinid: '<string>',
hs_live_enrichment_deadline: '<string>',
hs_gps_longitude: '<string>',
marital_status: '<string>',
hs_content_membership_email: '<string>',
hs_content_membership_notes: '<string>',
message: '<string>',
military_status: '<string>',
mobilephone: '<string>',
hs_owning_teams: '<string>',
hs_persona: '<string>',
photo: '<string>',
hs_pinned_engagement_id: 123,
hs_pipeline: '<string>',
zip: '<string>',
associatedcompanyid: 123,
hs_prospecting_agent_last_enrolled: '<string>',
hs_prospecting_agent_total_enrolled_count: 123,
hs_prospecting_agent_activation_email_id: 123,
hs_reddit_ad_clicked: true,
hs_reddit_click_id: '<string>',
relationship_status: '<string>',
hs_returning_to_office_detected_date: '<string>',
salutation: '<string>',
school: '<string>',
seniority: '<string>',
hs_shared_team_ids: '<string>',
hs_shared_user_ids: '<string>',
hs_feedback_show_nps_web_survey: true,
start_date: '<string>',
state: '<string>',
hs_state_code: '<string>',
address: '<string>',
hs_tiktok_ad_clicked: true,
hs_tiktok_click_id: '<string>',
hs_time_between_contact_creation_and_deal_close: 123,
hs_time_between_contact_creation_and_deal_creation: 123,
hs_time_to_move_from_lead_to_customer: 123,
hs_time_to_move_from_marketingqualifiedlead_to_customer: 123,
hs_time_to_move_from_opportunity_to_customer: 123,
hs_time_to_move_from_salesqualifiedlead_to_customer: 123,
hs_time_to_move_from_subscriber_to_customer: 123,
twitterbio: '<string>',
hs_twitterid: '<string>',
twitterprofilephoto: '<string>',
twitterhandle: '<string>',
website: '<string>',
hs_whatsapp_bsuids: '<string>',
hs_whatsapp_phone_number: '<string>',
work_email: '<string>',
hs_googleplusid: '<string>'
}
})
};
fetch('https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tool' => 'HUBSPOT_UPDATE_RECORD_CONTACTS',
'parameters' => [
'recordId' => '<string>',
'firstname' => '<string>',
'lastname' => '<string>',
'email' => '<string>',
'phone' => '<string>',
'hubspot_owner_id' => '<string>',
'hs_additional_emails' => '<string>',
'annualrevenue' => '<string>',
'hs_bing_ad_clicked' => true,
'hs_bing_click_id' => '<string>',
'hs_all_assigned_business_unit_ids' => '<string>',
'hs_chat_assistant_iql_date' => '<string>',
'hs_chat_assistant_summary' => '<string>',
'hs_chatgpt_ad_clicked' => true,
'hs_chatgpt_click_id' => '<string>',
'city' => '<string>',
'hs_facebook_ad_clicked' => true,
'closedate' => '<string>',
'company' => '<string>',
'company_size' => '<string>',
'country' => '<string>',
'hs_country_region_code' => '<string>',
'hs_cross_account_note' => '<string>',
'hs_cross_sell_opportunity' => true,
'date_of_birth' => '<string>',
'degree' => '<string>',
'hs_employment_change_detected_date' => '<string>',
'hs_enforce_double_opt_in' => true,
'hs_enriched_email_bounce_detected' => true,
'hs_excluded_from_cross_account_data_mirroring' => true,
'hs_facebook_click_id' => '<string>',
'hs_facebookid' => '<string>',
'fax' => '<string>',
'field_of_study' => '<string>',
'followercount' => 123,
'gender' => '<string>',
'hs_google_click_id' => '<string>',
'graduation_date' => '<string>',
'ownername' => '<string>',
'industry' => '<string>',
'jobtitle' => '<string>',
'hs_job_change_detected_date' => '<string>',
'job_function' => '<string>',
'kloutscoregeneral' => 123,
'hs_last_metered_enrichment_timestamp' => '<string>',
'hs_latest_source_timestamp' => '<string>',
'hs_gps_latitude' => '<string>',
'linkedinbio' => '<string>',
'linkedinconnections' => 123,
'hs_linkedin_url' => '<string>',
'hs_linkedin_click_id' => '<string>',
'hs_linkedinid' => '<string>',
'hs_live_enrichment_deadline' => '<string>',
'hs_gps_longitude' => '<string>',
'marital_status' => '<string>',
'hs_content_membership_email' => '<string>',
'hs_content_membership_notes' => '<string>',
'message' => '<string>',
'military_status' => '<string>',
'mobilephone' => '<string>',
'hs_owning_teams' => '<string>',
'hs_persona' => '<string>',
'photo' => '<string>',
'hs_pinned_engagement_id' => 123,
'hs_pipeline' => '<string>',
'zip' => '<string>',
'associatedcompanyid' => 123,
'hs_prospecting_agent_last_enrolled' => '<string>',
'hs_prospecting_agent_total_enrolled_count' => 123,
'hs_prospecting_agent_activation_email_id' => 123,
'hs_reddit_ad_clicked' => true,
'hs_reddit_click_id' => '<string>',
'relationship_status' => '<string>',
'hs_returning_to_office_detected_date' => '<string>',
'salutation' => '<string>',
'school' => '<string>',
'seniority' => '<string>',
'hs_shared_team_ids' => '<string>',
'hs_shared_user_ids' => '<string>',
'hs_feedback_show_nps_web_survey' => true,
'start_date' => '<string>',
'state' => '<string>',
'hs_state_code' => '<string>',
'address' => '<string>',
'hs_tiktok_ad_clicked' => true,
'hs_tiktok_click_id' => '<string>',
'hs_time_between_contact_creation_and_deal_close' => 123,
'hs_time_between_contact_creation_and_deal_creation' => 123,
'hs_time_to_move_from_lead_to_customer' => 123,
'hs_time_to_move_from_marketingqualifiedlead_to_customer' => 123,
'hs_time_to_move_from_opportunity_to_customer' => 123,
'hs_time_to_move_from_salesqualifiedlead_to_customer' => 123,
'hs_time_to_move_from_subscriber_to_customer' => 123,
'twitterbio' => '<string>',
'hs_twitterid' => '<string>',
'twitterprofilephoto' => '<string>',
'twitterhandle' => '<string>',
'website' => '<string>',
'hs_whatsapp_bsuids' => '<string>',
'hs_whatsapp_phone_number' => '<string>',
'work_email' => '<string>',
'hs_googleplusid' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS"
payload := strings.NewReader("{\n \"tool\": \"HUBSPOT_UPDATE_RECORD_CONTACTS\",\n \"parameters\": {\n \"recordId\": \"<string>\",\n \"firstname\": \"<string>\",\n \"lastname\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"hubspot_owner_id\": \"<string>\",\n \"hs_additional_emails\": \"<string>\",\n \"annualrevenue\": \"<string>\",\n \"hs_bing_ad_clicked\": true,\n \"hs_bing_click_id\": \"<string>\",\n \"hs_all_assigned_business_unit_ids\": \"<string>\",\n \"hs_chat_assistant_iql_date\": \"<string>\",\n \"hs_chat_assistant_summary\": \"<string>\",\n \"hs_chatgpt_ad_clicked\": true,\n \"hs_chatgpt_click_id\": \"<string>\",\n \"city\": \"<string>\",\n \"hs_facebook_ad_clicked\": true,\n \"closedate\": \"<string>\",\n \"company\": \"<string>\",\n \"company_size\": \"<string>\",\n \"country\": \"<string>\",\n \"hs_country_region_code\": \"<string>\",\n \"hs_cross_account_note\": \"<string>\",\n \"hs_cross_sell_opportunity\": true,\n \"date_of_birth\": \"<string>\",\n \"degree\": \"<string>\",\n \"hs_employment_change_detected_date\": \"<string>\",\n \"hs_enforce_double_opt_in\": true,\n \"hs_enriched_email_bounce_detected\": true,\n \"hs_excluded_from_cross_account_data_mirroring\": true,\n \"hs_facebook_click_id\": \"<string>\",\n \"hs_facebookid\": \"<string>\",\n \"fax\": \"<string>\",\n \"field_of_study\": \"<string>\",\n \"followercount\": 123,\n \"gender\": \"<string>\",\n \"hs_google_click_id\": \"<string>\",\n \"graduation_date\": \"<string>\",\n \"ownername\": \"<string>\",\n \"industry\": \"<string>\",\n \"jobtitle\": \"<string>\",\n \"hs_job_change_detected_date\": \"<string>\",\n \"job_function\": \"<string>\",\n \"kloutscoregeneral\": 123,\n \"hs_last_metered_enrichment_timestamp\": \"<string>\",\n \"hs_latest_source_timestamp\": \"<string>\",\n \"hs_gps_latitude\": \"<string>\",\n \"linkedinbio\": \"<string>\",\n \"linkedinconnections\": 123,\n \"hs_linkedin_url\": \"<string>\",\n \"hs_linkedin_click_id\": \"<string>\",\n \"hs_linkedinid\": \"<string>\",\n \"hs_live_enrichment_deadline\": \"<string>\",\n \"hs_gps_longitude\": \"<string>\",\n \"marital_status\": \"<string>\",\n \"hs_content_membership_email\": \"<string>\",\n \"hs_content_membership_notes\": \"<string>\",\n \"message\": \"<string>\",\n \"military_status\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"hs_owning_teams\": \"<string>\",\n \"hs_persona\": \"<string>\",\n \"photo\": \"<string>\",\n \"hs_pinned_engagement_id\": 123,\n \"hs_pipeline\": \"<string>\",\n \"zip\": \"<string>\",\n \"associatedcompanyid\": 123,\n \"hs_prospecting_agent_last_enrolled\": \"<string>\",\n \"hs_prospecting_agent_total_enrolled_count\": 123,\n \"hs_prospecting_agent_activation_email_id\": 123,\n \"hs_reddit_ad_clicked\": true,\n \"hs_reddit_click_id\": \"<string>\",\n \"relationship_status\": \"<string>\",\n \"hs_returning_to_office_detected_date\": \"<string>\",\n \"salutation\": \"<string>\",\n \"school\": \"<string>\",\n \"seniority\": \"<string>\",\n \"hs_shared_team_ids\": \"<string>\",\n \"hs_shared_user_ids\": \"<string>\",\n \"hs_feedback_show_nps_web_survey\": true,\n \"start_date\": \"<string>\",\n \"state\": \"<string>\",\n \"hs_state_code\": \"<string>\",\n \"address\": \"<string>\",\n \"hs_tiktok_ad_clicked\": true,\n \"hs_tiktok_click_id\": \"<string>\",\n \"hs_time_between_contact_creation_and_deal_close\": 123,\n \"hs_time_between_contact_creation_and_deal_creation\": 123,\n \"hs_time_to_move_from_lead_to_customer\": 123,\n \"hs_time_to_move_from_marketingqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_opportunity_to_customer\": 123,\n \"hs_time_to_move_from_salesqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_subscriber_to_customer\": 123,\n \"twitterbio\": \"<string>\",\n \"hs_twitterid\": \"<string>\",\n \"twitterprofilephoto\": \"<string>\",\n \"twitterhandle\": \"<string>\",\n \"website\": \"<string>\",\n \"hs_whatsapp_bsuids\": \"<string>\",\n \"hs_whatsapp_phone_number\": \"<string>\",\n \"work_email\": \"<string>\",\n \"hs_googleplusid\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"HUBSPOT_UPDATE_RECORD_CONTACTS\",\n \"parameters\": {\n \"recordId\": \"<string>\",\n \"firstname\": \"<string>\",\n \"lastname\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"hubspot_owner_id\": \"<string>\",\n \"hs_additional_emails\": \"<string>\",\n \"annualrevenue\": \"<string>\",\n \"hs_bing_ad_clicked\": true,\n \"hs_bing_click_id\": \"<string>\",\n \"hs_all_assigned_business_unit_ids\": \"<string>\",\n \"hs_chat_assistant_iql_date\": \"<string>\",\n \"hs_chat_assistant_summary\": \"<string>\",\n \"hs_chatgpt_ad_clicked\": true,\n \"hs_chatgpt_click_id\": \"<string>\",\n \"city\": \"<string>\",\n \"hs_facebook_ad_clicked\": true,\n \"closedate\": \"<string>\",\n \"company\": \"<string>\",\n \"company_size\": \"<string>\",\n \"country\": \"<string>\",\n \"hs_country_region_code\": \"<string>\",\n \"hs_cross_account_note\": \"<string>\",\n \"hs_cross_sell_opportunity\": true,\n \"date_of_birth\": \"<string>\",\n \"degree\": \"<string>\",\n \"hs_employment_change_detected_date\": \"<string>\",\n \"hs_enforce_double_opt_in\": true,\n \"hs_enriched_email_bounce_detected\": true,\n \"hs_excluded_from_cross_account_data_mirroring\": true,\n \"hs_facebook_click_id\": \"<string>\",\n \"hs_facebookid\": \"<string>\",\n \"fax\": \"<string>\",\n \"field_of_study\": \"<string>\",\n \"followercount\": 123,\n \"gender\": \"<string>\",\n \"hs_google_click_id\": \"<string>\",\n \"graduation_date\": \"<string>\",\n \"ownername\": \"<string>\",\n \"industry\": \"<string>\",\n \"jobtitle\": \"<string>\",\n \"hs_job_change_detected_date\": \"<string>\",\n \"job_function\": \"<string>\",\n \"kloutscoregeneral\": 123,\n \"hs_last_metered_enrichment_timestamp\": \"<string>\",\n \"hs_latest_source_timestamp\": \"<string>\",\n \"hs_gps_latitude\": \"<string>\",\n \"linkedinbio\": \"<string>\",\n \"linkedinconnections\": 123,\n \"hs_linkedin_url\": \"<string>\",\n \"hs_linkedin_click_id\": \"<string>\",\n \"hs_linkedinid\": \"<string>\",\n \"hs_live_enrichment_deadline\": \"<string>\",\n \"hs_gps_longitude\": \"<string>\",\n \"marital_status\": \"<string>\",\n \"hs_content_membership_email\": \"<string>\",\n \"hs_content_membership_notes\": \"<string>\",\n \"message\": \"<string>\",\n \"military_status\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"hs_owning_teams\": \"<string>\",\n \"hs_persona\": \"<string>\",\n \"photo\": \"<string>\",\n \"hs_pinned_engagement_id\": 123,\n \"hs_pipeline\": \"<string>\",\n \"zip\": \"<string>\",\n \"associatedcompanyid\": 123,\n \"hs_prospecting_agent_last_enrolled\": \"<string>\",\n \"hs_prospecting_agent_total_enrolled_count\": 123,\n \"hs_prospecting_agent_activation_email_id\": 123,\n \"hs_reddit_ad_clicked\": true,\n \"hs_reddit_click_id\": \"<string>\",\n \"relationship_status\": \"<string>\",\n \"hs_returning_to_office_detected_date\": \"<string>\",\n \"salutation\": \"<string>\",\n \"school\": \"<string>\",\n \"seniority\": \"<string>\",\n \"hs_shared_team_ids\": \"<string>\",\n \"hs_shared_user_ids\": \"<string>\",\n \"hs_feedback_show_nps_web_survey\": true,\n \"start_date\": \"<string>\",\n \"state\": \"<string>\",\n \"hs_state_code\": \"<string>\",\n \"address\": \"<string>\",\n \"hs_tiktok_ad_clicked\": true,\n \"hs_tiktok_click_id\": \"<string>\",\n \"hs_time_between_contact_creation_and_deal_close\": 123,\n \"hs_time_between_contact_creation_and_deal_creation\": 123,\n \"hs_time_to_move_from_lead_to_customer\": 123,\n \"hs_time_to_move_from_marketingqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_opportunity_to_customer\": 123,\n \"hs_time_to_move_from_salesqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_subscriber_to_customer\": 123,\n \"twitterbio\": \"<string>\",\n \"hs_twitterid\": \"<string>\",\n \"twitterprofilephoto\": \"<string>\",\n \"twitterhandle\": \"<string>\",\n \"website\": \"<string>\",\n \"hs_whatsapp_bsuids\": \"<string>\",\n \"hs_whatsapp_phone_number\": \"<string>\",\n \"work_email\": \"<string>\",\n \"hs_googleplusid\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tool\": \"HUBSPOT_UPDATE_RECORD_CONTACTS\",\n \"parameters\": {\n \"recordId\": \"<string>\",\n \"firstname\": \"<string>\",\n \"lastname\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"hubspot_owner_id\": \"<string>\",\n \"hs_additional_emails\": \"<string>\",\n \"annualrevenue\": \"<string>\",\n \"hs_bing_ad_clicked\": true,\n \"hs_bing_click_id\": \"<string>\",\n \"hs_all_assigned_business_unit_ids\": \"<string>\",\n \"hs_chat_assistant_iql_date\": \"<string>\",\n \"hs_chat_assistant_summary\": \"<string>\",\n \"hs_chatgpt_ad_clicked\": true,\n \"hs_chatgpt_click_id\": \"<string>\",\n \"city\": \"<string>\",\n \"hs_facebook_ad_clicked\": true,\n \"closedate\": \"<string>\",\n \"company\": \"<string>\",\n \"company_size\": \"<string>\",\n \"country\": \"<string>\",\n \"hs_country_region_code\": \"<string>\",\n \"hs_cross_account_note\": \"<string>\",\n \"hs_cross_sell_opportunity\": true,\n \"date_of_birth\": \"<string>\",\n \"degree\": \"<string>\",\n \"hs_employment_change_detected_date\": \"<string>\",\n \"hs_enforce_double_opt_in\": true,\n \"hs_enriched_email_bounce_detected\": true,\n \"hs_excluded_from_cross_account_data_mirroring\": true,\n \"hs_facebook_click_id\": \"<string>\",\n \"hs_facebookid\": \"<string>\",\n \"fax\": \"<string>\",\n \"field_of_study\": \"<string>\",\n \"followercount\": 123,\n \"gender\": \"<string>\",\n \"hs_google_click_id\": \"<string>\",\n \"graduation_date\": \"<string>\",\n \"ownername\": \"<string>\",\n \"industry\": \"<string>\",\n \"jobtitle\": \"<string>\",\n \"hs_job_change_detected_date\": \"<string>\",\n \"job_function\": \"<string>\",\n \"kloutscoregeneral\": 123,\n \"hs_last_metered_enrichment_timestamp\": \"<string>\",\n \"hs_latest_source_timestamp\": \"<string>\",\n \"hs_gps_latitude\": \"<string>\",\n \"linkedinbio\": \"<string>\",\n \"linkedinconnections\": 123,\n \"hs_linkedin_url\": \"<string>\",\n \"hs_linkedin_click_id\": \"<string>\",\n \"hs_linkedinid\": \"<string>\",\n \"hs_live_enrichment_deadline\": \"<string>\",\n \"hs_gps_longitude\": \"<string>\",\n \"marital_status\": \"<string>\",\n \"hs_content_membership_email\": \"<string>\",\n \"hs_content_membership_notes\": \"<string>\",\n \"message\": \"<string>\",\n \"military_status\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"hs_owning_teams\": \"<string>\",\n \"hs_persona\": \"<string>\",\n \"photo\": \"<string>\",\n \"hs_pinned_engagement_id\": 123,\n \"hs_pipeline\": \"<string>\",\n \"zip\": \"<string>\",\n \"associatedcompanyid\": 123,\n \"hs_prospecting_agent_last_enrolled\": \"<string>\",\n \"hs_prospecting_agent_total_enrolled_count\": 123,\n \"hs_prospecting_agent_activation_email_id\": 123,\n \"hs_reddit_ad_clicked\": true,\n \"hs_reddit_click_id\": \"<string>\",\n \"relationship_status\": \"<string>\",\n \"hs_returning_to_office_detected_date\": \"<string>\",\n \"salutation\": \"<string>\",\n \"school\": \"<string>\",\n \"seniority\": \"<string>\",\n \"hs_shared_team_ids\": \"<string>\",\n \"hs_shared_user_ids\": \"<string>\",\n \"hs_feedback_show_nps_web_survey\": true,\n \"start_date\": \"<string>\",\n \"state\": \"<string>\",\n \"hs_state_code\": \"<string>\",\n \"address\": \"<string>\",\n \"hs_tiktok_ad_clicked\": true,\n \"hs_tiktok_click_id\": \"<string>\",\n \"hs_time_between_contact_creation_and_deal_close\": 123,\n \"hs_time_between_contact_creation_and_deal_creation\": 123,\n \"hs_time_to_move_from_lead_to_customer\": 123,\n \"hs_time_to_move_from_marketingqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_opportunity_to_customer\": 123,\n \"hs_time_to_move_from_salesqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_subscriber_to_customer\": 123,\n \"twitterbio\": \"<string>\",\n \"hs_twitterid\": \"<string>\",\n \"twitterprofilephoto\": \"<string>\",\n \"twitterhandle\": \"<string>\",\n \"website\": \"<string>\",\n \"hs_whatsapp_bsuids\": \"<string>\",\n \"hs_whatsapp_phone_number\": \"<string>\",\n \"work_email\": \"<string>\",\n \"hs_googleplusid\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_bodyTools
Update Record Contacts
POST
/
projects
/
{project_id}
/
tools
/
#HUBSPOT_UPDATE_RECORD_CONTACTS
Update Record Contacts
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tool": "HUBSPOT_UPDATE_RECORD_CONTACTS",
"parameters": {
"recordId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"phone": "<string>",
"hubspot_owner_id": "<string>",
"hs_additional_emails": "<string>",
"annualrevenue": "<string>",
"hs_bing_ad_clicked": true,
"hs_bing_click_id": "<string>",
"hs_all_assigned_business_unit_ids": "<string>",
"hs_chat_assistant_iql_date": "<string>",
"hs_chat_assistant_summary": "<string>",
"hs_chatgpt_ad_clicked": true,
"hs_chatgpt_click_id": "<string>",
"city": "<string>",
"hs_facebook_ad_clicked": true,
"closedate": "<string>",
"company": "<string>",
"company_size": "<string>",
"country": "<string>",
"hs_country_region_code": "<string>",
"hs_cross_account_note": "<string>",
"hs_cross_sell_opportunity": true,
"date_of_birth": "<string>",
"degree": "<string>",
"hs_employment_change_detected_date": "<string>",
"hs_enforce_double_opt_in": true,
"hs_enriched_email_bounce_detected": true,
"hs_excluded_from_cross_account_data_mirroring": true,
"hs_facebook_click_id": "<string>",
"hs_facebookid": "<string>",
"fax": "<string>",
"field_of_study": "<string>",
"followercount": 123,
"gender": "<string>",
"hs_google_click_id": "<string>",
"graduation_date": "<string>",
"ownername": "<string>",
"industry": "<string>",
"jobtitle": "<string>",
"hs_job_change_detected_date": "<string>",
"job_function": "<string>",
"kloutscoregeneral": 123,
"hs_last_metered_enrichment_timestamp": "<string>",
"hs_latest_source_timestamp": "<string>",
"hs_gps_latitude": "<string>",
"linkedinbio": "<string>",
"linkedinconnections": 123,
"hs_linkedin_url": "<string>",
"hs_linkedin_click_id": "<string>",
"hs_linkedinid": "<string>",
"hs_live_enrichment_deadline": "<string>",
"hs_gps_longitude": "<string>",
"marital_status": "<string>",
"hs_content_membership_email": "<string>",
"hs_content_membership_notes": "<string>",
"message": "<string>",
"military_status": "<string>",
"mobilephone": "<string>",
"hs_owning_teams": "<string>",
"hs_persona": "<string>",
"photo": "<string>",
"hs_pinned_engagement_id": 123,
"hs_pipeline": "<string>",
"zip": "<string>",
"associatedcompanyid": 123,
"hs_prospecting_agent_last_enrolled": "<string>",
"hs_prospecting_agent_total_enrolled_count": 123,
"hs_prospecting_agent_activation_email_id": 123,
"hs_reddit_ad_clicked": true,
"hs_reddit_click_id": "<string>",
"relationship_status": "<string>",
"hs_returning_to_office_detected_date": "<string>",
"salutation": "<string>",
"school": "<string>",
"seniority": "<string>",
"hs_shared_team_ids": "<string>",
"hs_shared_user_ids": "<string>",
"hs_feedback_show_nps_web_survey": true,
"start_date": "<string>",
"state": "<string>",
"hs_state_code": "<string>",
"address": "<string>",
"hs_tiktok_ad_clicked": true,
"hs_tiktok_click_id": "<string>",
"hs_time_between_contact_creation_and_deal_close": 123,
"hs_time_between_contact_creation_and_deal_creation": 123,
"hs_time_to_move_from_lead_to_customer": 123,
"hs_time_to_move_from_marketingqualifiedlead_to_customer": 123,
"hs_time_to_move_from_opportunity_to_customer": 123,
"hs_time_to_move_from_salesqualifiedlead_to_customer": 123,
"hs_time_to_move_from_subscriber_to_customer": 123,
"twitterbio": "<string>",
"hs_twitterid": "<string>",
"twitterprofilephoto": "<string>",
"twitterhandle": "<string>",
"website": "<string>",
"hs_whatsapp_bsuids": "<string>",
"hs_whatsapp_phone_number": "<string>",
"work_email": "<string>",
"hs_googleplusid": "<string>"
}
}
'import requests
url = "https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS"
payload = {
"tool": "HUBSPOT_UPDATE_RECORD_CONTACTS",
"parameters": {
"recordId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"phone": "<string>",
"hubspot_owner_id": "<string>",
"hs_additional_emails": "<string>",
"annualrevenue": "<string>",
"hs_bing_ad_clicked": True,
"hs_bing_click_id": "<string>",
"hs_all_assigned_business_unit_ids": "<string>",
"hs_chat_assistant_iql_date": "<string>",
"hs_chat_assistant_summary": "<string>",
"hs_chatgpt_ad_clicked": True,
"hs_chatgpt_click_id": "<string>",
"city": "<string>",
"hs_facebook_ad_clicked": True,
"closedate": "<string>",
"company": "<string>",
"company_size": "<string>",
"country": "<string>",
"hs_country_region_code": "<string>",
"hs_cross_account_note": "<string>",
"hs_cross_sell_opportunity": True,
"date_of_birth": "<string>",
"degree": "<string>",
"hs_employment_change_detected_date": "<string>",
"hs_enforce_double_opt_in": True,
"hs_enriched_email_bounce_detected": True,
"hs_excluded_from_cross_account_data_mirroring": True,
"hs_facebook_click_id": "<string>",
"hs_facebookid": "<string>",
"fax": "<string>",
"field_of_study": "<string>",
"followercount": 123,
"gender": "<string>",
"hs_google_click_id": "<string>",
"graduation_date": "<string>",
"ownername": "<string>",
"industry": "<string>",
"jobtitle": "<string>",
"hs_job_change_detected_date": "<string>",
"job_function": "<string>",
"kloutscoregeneral": 123,
"hs_last_metered_enrichment_timestamp": "<string>",
"hs_latest_source_timestamp": "<string>",
"hs_gps_latitude": "<string>",
"linkedinbio": "<string>",
"linkedinconnections": 123,
"hs_linkedin_url": "<string>",
"hs_linkedin_click_id": "<string>",
"hs_linkedinid": "<string>",
"hs_live_enrichment_deadline": "<string>",
"hs_gps_longitude": "<string>",
"marital_status": "<string>",
"hs_content_membership_email": "<string>",
"hs_content_membership_notes": "<string>",
"message": "<string>",
"military_status": "<string>",
"mobilephone": "<string>",
"hs_owning_teams": "<string>",
"hs_persona": "<string>",
"photo": "<string>",
"hs_pinned_engagement_id": 123,
"hs_pipeline": "<string>",
"zip": "<string>",
"associatedcompanyid": 123,
"hs_prospecting_agent_last_enrolled": "<string>",
"hs_prospecting_agent_total_enrolled_count": 123,
"hs_prospecting_agent_activation_email_id": 123,
"hs_reddit_ad_clicked": True,
"hs_reddit_click_id": "<string>",
"relationship_status": "<string>",
"hs_returning_to_office_detected_date": "<string>",
"salutation": "<string>",
"school": "<string>",
"seniority": "<string>",
"hs_shared_team_ids": "<string>",
"hs_shared_user_ids": "<string>",
"hs_feedback_show_nps_web_survey": True,
"start_date": "<string>",
"state": "<string>",
"hs_state_code": "<string>",
"address": "<string>",
"hs_tiktok_ad_clicked": True,
"hs_tiktok_click_id": "<string>",
"hs_time_between_contact_creation_and_deal_close": 123,
"hs_time_between_contact_creation_and_deal_creation": 123,
"hs_time_to_move_from_lead_to_customer": 123,
"hs_time_to_move_from_marketingqualifiedlead_to_customer": 123,
"hs_time_to_move_from_opportunity_to_customer": 123,
"hs_time_to_move_from_salesqualifiedlead_to_customer": 123,
"hs_time_to_move_from_subscriber_to_customer": 123,
"twitterbio": "<string>",
"hs_twitterid": "<string>",
"twitterprofilephoto": "<string>",
"twitterhandle": "<string>",
"website": "<string>",
"hs_whatsapp_bsuids": "<string>",
"hs_whatsapp_phone_number": "<string>",
"work_email": "<string>",
"hs_googleplusid": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tool: 'HUBSPOT_UPDATE_RECORD_CONTACTS',
parameters: {
recordId: '<string>',
firstname: '<string>',
lastname: '<string>',
email: '<string>',
phone: '<string>',
hubspot_owner_id: '<string>',
hs_additional_emails: '<string>',
annualrevenue: '<string>',
hs_bing_ad_clicked: true,
hs_bing_click_id: '<string>',
hs_all_assigned_business_unit_ids: '<string>',
hs_chat_assistant_iql_date: '<string>',
hs_chat_assistant_summary: '<string>',
hs_chatgpt_ad_clicked: true,
hs_chatgpt_click_id: '<string>',
city: '<string>',
hs_facebook_ad_clicked: true,
closedate: '<string>',
company: '<string>',
company_size: '<string>',
country: '<string>',
hs_country_region_code: '<string>',
hs_cross_account_note: '<string>',
hs_cross_sell_opportunity: true,
date_of_birth: '<string>',
degree: '<string>',
hs_employment_change_detected_date: '<string>',
hs_enforce_double_opt_in: true,
hs_enriched_email_bounce_detected: true,
hs_excluded_from_cross_account_data_mirroring: true,
hs_facebook_click_id: '<string>',
hs_facebookid: '<string>',
fax: '<string>',
field_of_study: '<string>',
followercount: 123,
gender: '<string>',
hs_google_click_id: '<string>',
graduation_date: '<string>',
ownername: '<string>',
industry: '<string>',
jobtitle: '<string>',
hs_job_change_detected_date: '<string>',
job_function: '<string>',
kloutscoregeneral: 123,
hs_last_metered_enrichment_timestamp: '<string>',
hs_latest_source_timestamp: '<string>',
hs_gps_latitude: '<string>',
linkedinbio: '<string>',
linkedinconnections: 123,
hs_linkedin_url: '<string>',
hs_linkedin_click_id: '<string>',
hs_linkedinid: '<string>',
hs_live_enrichment_deadline: '<string>',
hs_gps_longitude: '<string>',
marital_status: '<string>',
hs_content_membership_email: '<string>',
hs_content_membership_notes: '<string>',
message: '<string>',
military_status: '<string>',
mobilephone: '<string>',
hs_owning_teams: '<string>',
hs_persona: '<string>',
photo: '<string>',
hs_pinned_engagement_id: 123,
hs_pipeline: '<string>',
zip: '<string>',
associatedcompanyid: 123,
hs_prospecting_agent_last_enrolled: '<string>',
hs_prospecting_agent_total_enrolled_count: 123,
hs_prospecting_agent_activation_email_id: 123,
hs_reddit_ad_clicked: true,
hs_reddit_click_id: '<string>',
relationship_status: '<string>',
hs_returning_to_office_detected_date: '<string>',
salutation: '<string>',
school: '<string>',
seniority: '<string>',
hs_shared_team_ids: '<string>',
hs_shared_user_ids: '<string>',
hs_feedback_show_nps_web_survey: true,
start_date: '<string>',
state: '<string>',
hs_state_code: '<string>',
address: '<string>',
hs_tiktok_ad_clicked: true,
hs_tiktok_click_id: '<string>',
hs_time_between_contact_creation_and_deal_close: 123,
hs_time_between_contact_creation_and_deal_creation: 123,
hs_time_to_move_from_lead_to_customer: 123,
hs_time_to_move_from_marketingqualifiedlead_to_customer: 123,
hs_time_to_move_from_opportunity_to_customer: 123,
hs_time_to_move_from_salesqualifiedlead_to_customer: 123,
hs_time_to_move_from_subscriber_to_customer: 123,
twitterbio: '<string>',
hs_twitterid: '<string>',
twitterprofilephoto: '<string>',
twitterhandle: '<string>',
website: '<string>',
hs_whatsapp_bsuids: '<string>',
hs_whatsapp_phone_number: '<string>',
work_email: '<string>',
hs_googleplusid: '<string>'
}
})
};
fetch('https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tool' => 'HUBSPOT_UPDATE_RECORD_CONTACTS',
'parameters' => [
'recordId' => '<string>',
'firstname' => '<string>',
'lastname' => '<string>',
'email' => '<string>',
'phone' => '<string>',
'hubspot_owner_id' => '<string>',
'hs_additional_emails' => '<string>',
'annualrevenue' => '<string>',
'hs_bing_ad_clicked' => true,
'hs_bing_click_id' => '<string>',
'hs_all_assigned_business_unit_ids' => '<string>',
'hs_chat_assistant_iql_date' => '<string>',
'hs_chat_assistant_summary' => '<string>',
'hs_chatgpt_ad_clicked' => true,
'hs_chatgpt_click_id' => '<string>',
'city' => '<string>',
'hs_facebook_ad_clicked' => true,
'closedate' => '<string>',
'company' => '<string>',
'company_size' => '<string>',
'country' => '<string>',
'hs_country_region_code' => '<string>',
'hs_cross_account_note' => '<string>',
'hs_cross_sell_opportunity' => true,
'date_of_birth' => '<string>',
'degree' => '<string>',
'hs_employment_change_detected_date' => '<string>',
'hs_enforce_double_opt_in' => true,
'hs_enriched_email_bounce_detected' => true,
'hs_excluded_from_cross_account_data_mirroring' => true,
'hs_facebook_click_id' => '<string>',
'hs_facebookid' => '<string>',
'fax' => '<string>',
'field_of_study' => '<string>',
'followercount' => 123,
'gender' => '<string>',
'hs_google_click_id' => '<string>',
'graduation_date' => '<string>',
'ownername' => '<string>',
'industry' => '<string>',
'jobtitle' => '<string>',
'hs_job_change_detected_date' => '<string>',
'job_function' => '<string>',
'kloutscoregeneral' => 123,
'hs_last_metered_enrichment_timestamp' => '<string>',
'hs_latest_source_timestamp' => '<string>',
'hs_gps_latitude' => '<string>',
'linkedinbio' => '<string>',
'linkedinconnections' => 123,
'hs_linkedin_url' => '<string>',
'hs_linkedin_click_id' => '<string>',
'hs_linkedinid' => '<string>',
'hs_live_enrichment_deadline' => '<string>',
'hs_gps_longitude' => '<string>',
'marital_status' => '<string>',
'hs_content_membership_email' => '<string>',
'hs_content_membership_notes' => '<string>',
'message' => '<string>',
'military_status' => '<string>',
'mobilephone' => '<string>',
'hs_owning_teams' => '<string>',
'hs_persona' => '<string>',
'photo' => '<string>',
'hs_pinned_engagement_id' => 123,
'hs_pipeline' => '<string>',
'zip' => '<string>',
'associatedcompanyid' => 123,
'hs_prospecting_agent_last_enrolled' => '<string>',
'hs_prospecting_agent_total_enrolled_count' => 123,
'hs_prospecting_agent_activation_email_id' => 123,
'hs_reddit_ad_clicked' => true,
'hs_reddit_click_id' => '<string>',
'relationship_status' => '<string>',
'hs_returning_to_office_detected_date' => '<string>',
'salutation' => '<string>',
'school' => '<string>',
'seniority' => '<string>',
'hs_shared_team_ids' => '<string>',
'hs_shared_user_ids' => '<string>',
'hs_feedback_show_nps_web_survey' => true,
'start_date' => '<string>',
'state' => '<string>',
'hs_state_code' => '<string>',
'address' => '<string>',
'hs_tiktok_ad_clicked' => true,
'hs_tiktok_click_id' => '<string>',
'hs_time_between_contact_creation_and_deal_close' => 123,
'hs_time_between_contact_creation_and_deal_creation' => 123,
'hs_time_to_move_from_lead_to_customer' => 123,
'hs_time_to_move_from_marketingqualifiedlead_to_customer' => 123,
'hs_time_to_move_from_opportunity_to_customer' => 123,
'hs_time_to_move_from_salesqualifiedlead_to_customer' => 123,
'hs_time_to_move_from_subscriber_to_customer' => 123,
'twitterbio' => '<string>',
'hs_twitterid' => '<string>',
'twitterprofilephoto' => '<string>',
'twitterhandle' => '<string>',
'website' => '<string>',
'hs_whatsapp_bsuids' => '<string>',
'hs_whatsapp_phone_number' => '<string>',
'work_email' => '<string>',
'hs_googleplusid' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS"
payload := strings.NewReader("{\n \"tool\": \"HUBSPOT_UPDATE_RECORD_CONTACTS\",\n \"parameters\": {\n \"recordId\": \"<string>\",\n \"firstname\": \"<string>\",\n \"lastname\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"hubspot_owner_id\": \"<string>\",\n \"hs_additional_emails\": \"<string>\",\n \"annualrevenue\": \"<string>\",\n \"hs_bing_ad_clicked\": true,\n \"hs_bing_click_id\": \"<string>\",\n \"hs_all_assigned_business_unit_ids\": \"<string>\",\n \"hs_chat_assistant_iql_date\": \"<string>\",\n \"hs_chat_assistant_summary\": \"<string>\",\n \"hs_chatgpt_ad_clicked\": true,\n \"hs_chatgpt_click_id\": \"<string>\",\n \"city\": \"<string>\",\n \"hs_facebook_ad_clicked\": true,\n \"closedate\": \"<string>\",\n \"company\": \"<string>\",\n \"company_size\": \"<string>\",\n \"country\": \"<string>\",\n \"hs_country_region_code\": \"<string>\",\n \"hs_cross_account_note\": \"<string>\",\n \"hs_cross_sell_opportunity\": true,\n \"date_of_birth\": \"<string>\",\n \"degree\": \"<string>\",\n \"hs_employment_change_detected_date\": \"<string>\",\n \"hs_enforce_double_opt_in\": true,\n \"hs_enriched_email_bounce_detected\": true,\n \"hs_excluded_from_cross_account_data_mirroring\": true,\n \"hs_facebook_click_id\": \"<string>\",\n \"hs_facebookid\": \"<string>\",\n \"fax\": \"<string>\",\n \"field_of_study\": \"<string>\",\n \"followercount\": 123,\n \"gender\": \"<string>\",\n \"hs_google_click_id\": \"<string>\",\n \"graduation_date\": \"<string>\",\n \"ownername\": \"<string>\",\n \"industry\": \"<string>\",\n \"jobtitle\": \"<string>\",\n \"hs_job_change_detected_date\": \"<string>\",\n \"job_function\": \"<string>\",\n \"kloutscoregeneral\": 123,\n \"hs_last_metered_enrichment_timestamp\": \"<string>\",\n \"hs_latest_source_timestamp\": \"<string>\",\n \"hs_gps_latitude\": \"<string>\",\n \"linkedinbio\": \"<string>\",\n \"linkedinconnections\": 123,\n \"hs_linkedin_url\": \"<string>\",\n \"hs_linkedin_click_id\": \"<string>\",\n \"hs_linkedinid\": \"<string>\",\n \"hs_live_enrichment_deadline\": \"<string>\",\n \"hs_gps_longitude\": \"<string>\",\n \"marital_status\": \"<string>\",\n \"hs_content_membership_email\": \"<string>\",\n \"hs_content_membership_notes\": \"<string>\",\n \"message\": \"<string>\",\n \"military_status\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"hs_owning_teams\": \"<string>\",\n \"hs_persona\": \"<string>\",\n \"photo\": \"<string>\",\n \"hs_pinned_engagement_id\": 123,\n \"hs_pipeline\": \"<string>\",\n \"zip\": \"<string>\",\n \"associatedcompanyid\": 123,\n \"hs_prospecting_agent_last_enrolled\": \"<string>\",\n \"hs_prospecting_agent_total_enrolled_count\": 123,\n \"hs_prospecting_agent_activation_email_id\": 123,\n \"hs_reddit_ad_clicked\": true,\n \"hs_reddit_click_id\": \"<string>\",\n \"relationship_status\": \"<string>\",\n \"hs_returning_to_office_detected_date\": \"<string>\",\n \"salutation\": \"<string>\",\n \"school\": \"<string>\",\n \"seniority\": \"<string>\",\n \"hs_shared_team_ids\": \"<string>\",\n \"hs_shared_user_ids\": \"<string>\",\n \"hs_feedback_show_nps_web_survey\": true,\n \"start_date\": \"<string>\",\n \"state\": \"<string>\",\n \"hs_state_code\": \"<string>\",\n \"address\": \"<string>\",\n \"hs_tiktok_ad_clicked\": true,\n \"hs_tiktok_click_id\": \"<string>\",\n \"hs_time_between_contact_creation_and_deal_close\": 123,\n \"hs_time_between_contact_creation_and_deal_creation\": 123,\n \"hs_time_to_move_from_lead_to_customer\": 123,\n \"hs_time_to_move_from_marketingqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_opportunity_to_customer\": 123,\n \"hs_time_to_move_from_salesqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_subscriber_to_customer\": 123,\n \"twitterbio\": \"<string>\",\n \"hs_twitterid\": \"<string>\",\n \"twitterprofilephoto\": \"<string>\",\n \"twitterhandle\": \"<string>\",\n \"website\": \"<string>\",\n \"hs_whatsapp_bsuids\": \"<string>\",\n \"hs_whatsapp_phone_number\": \"<string>\",\n \"work_email\": \"<string>\",\n \"hs_googleplusid\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"HUBSPOT_UPDATE_RECORD_CONTACTS\",\n \"parameters\": {\n \"recordId\": \"<string>\",\n \"firstname\": \"<string>\",\n \"lastname\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"hubspot_owner_id\": \"<string>\",\n \"hs_additional_emails\": \"<string>\",\n \"annualrevenue\": \"<string>\",\n \"hs_bing_ad_clicked\": true,\n \"hs_bing_click_id\": \"<string>\",\n \"hs_all_assigned_business_unit_ids\": \"<string>\",\n \"hs_chat_assistant_iql_date\": \"<string>\",\n \"hs_chat_assistant_summary\": \"<string>\",\n \"hs_chatgpt_ad_clicked\": true,\n \"hs_chatgpt_click_id\": \"<string>\",\n \"city\": \"<string>\",\n \"hs_facebook_ad_clicked\": true,\n \"closedate\": \"<string>\",\n \"company\": \"<string>\",\n \"company_size\": \"<string>\",\n \"country\": \"<string>\",\n \"hs_country_region_code\": \"<string>\",\n \"hs_cross_account_note\": \"<string>\",\n \"hs_cross_sell_opportunity\": true,\n \"date_of_birth\": \"<string>\",\n \"degree\": \"<string>\",\n \"hs_employment_change_detected_date\": \"<string>\",\n \"hs_enforce_double_opt_in\": true,\n \"hs_enriched_email_bounce_detected\": true,\n \"hs_excluded_from_cross_account_data_mirroring\": true,\n \"hs_facebook_click_id\": \"<string>\",\n \"hs_facebookid\": \"<string>\",\n \"fax\": \"<string>\",\n \"field_of_study\": \"<string>\",\n \"followercount\": 123,\n \"gender\": \"<string>\",\n \"hs_google_click_id\": \"<string>\",\n \"graduation_date\": \"<string>\",\n \"ownername\": \"<string>\",\n \"industry\": \"<string>\",\n \"jobtitle\": \"<string>\",\n \"hs_job_change_detected_date\": \"<string>\",\n \"job_function\": \"<string>\",\n \"kloutscoregeneral\": 123,\n \"hs_last_metered_enrichment_timestamp\": \"<string>\",\n \"hs_latest_source_timestamp\": \"<string>\",\n \"hs_gps_latitude\": \"<string>\",\n \"linkedinbio\": \"<string>\",\n \"linkedinconnections\": 123,\n \"hs_linkedin_url\": \"<string>\",\n \"hs_linkedin_click_id\": \"<string>\",\n \"hs_linkedinid\": \"<string>\",\n \"hs_live_enrichment_deadline\": \"<string>\",\n \"hs_gps_longitude\": \"<string>\",\n \"marital_status\": \"<string>\",\n \"hs_content_membership_email\": \"<string>\",\n \"hs_content_membership_notes\": \"<string>\",\n \"message\": \"<string>\",\n \"military_status\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"hs_owning_teams\": \"<string>\",\n \"hs_persona\": \"<string>\",\n \"photo\": \"<string>\",\n \"hs_pinned_engagement_id\": 123,\n \"hs_pipeline\": \"<string>\",\n \"zip\": \"<string>\",\n \"associatedcompanyid\": 123,\n \"hs_prospecting_agent_last_enrolled\": \"<string>\",\n \"hs_prospecting_agent_total_enrolled_count\": 123,\n \"hs_prospecting_agent_activation_email_id\": 123,\n \"hs_reddit_ad_clicked\": true,\n \"hs_reddit_click_id\": \"<string>\",\n \"relationship_status\": \"<string>\",\n \"hs_returning_to_office_detected_date\": \"<string>\",\n \"salutation\": \"<string>\",\n \"school\": \"<string>\",\n \"seniority\": \"<string>\",\n \"hs_shared_team_ids\": \"<string>\",\n \"hs_shared_user_ids\": \"<string>\",\n \"hs_feedback_show_nps_web_survey\": true,\n \"start_date\": \"<string>\",\n \"state\": \"<string>\",\n \"hs_state_code\": \"<string>\",\n \"address\": \"<string>\",\n \"hs_tiktok_ad_clicked\": true,\n \"hs_tiktok_click_id\": \"<string>\",\n \"hs_time_between_contact_creation_and_deal_close\": 123,\n \"hs_time_between_contact_creation_and_deal_creation\": 123,\n \"hs_time_to_move_from_lead_to_customer\": 123,\n \"hs_time_to_move_from_marketingqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_opportunity_to_customer\": 123,\n \"hs_time_to_move_from_salesqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_subscriber_to_customer\": 123,\n \"twitterbio\": \"<string>\",\n \"hs_twitterid\": \"<string>\",\n \"twitterprofilephoto\": \"<string>\",\n \"twitterhandle\": \"<string>\",\n \"website\": \"<string>\",\n \"hs_whatsapp_bsuids\": \"<string>\",\n \"hs_whatsapp_phone_number\": \"<string>\",\n \"work_email\": \"<string>\",\n \"hs_googleplusid\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://actionkit.useparagon.com/projects/{project_id}/tools/#HUBSPOT_UPDATE_RECORD_CONTACTS")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tool\": \"HUBSPOT_UPDATE_RECORD_CONTACTS\",\n \"parameters\": {\n \"recordId\": \"<string>\",\n \"firstname\": \"<string>\",\n \"lastname\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"hubspot_owner_id\": \"<string>\",\n \"hs_additional_emails\": \"<string>\",\n \"annualrevenue\": \"<string>\",\n \"hs_bing_ad_clicked\": true,\n \"hs_bing_click_id\": \"<string>\",\n \"hs_all_assigned_business_unit_ids\": \"<string>\",\n \"hs_chat_assistant_iql_date\": \"<string>\",\n \"hs_chat_assistant_summary\": \"<string>\",\n \"hs_chatgpt_ad_clicked\": true,\n \"hs_chatgpt_click_id\": \"<string>\",\n \"city\": \"<string>\",\n \"hs_facebook_ad_clicked\": true,\n \"closedate\": \"<string>\",\n \"company\": \"<string>\",\n \"company_size\": \"<string>\",\n \"country\": \"<string>\",\n \"hs_country_region_code\": \"<string>\",\n \"hs_cross_account_note\": \"<string>\",\n \"hs_cross_sell_opportunity\": true,\n \"date_of_birth\": \"<string>\",\n \"degree\": \"<string>\",\n \"hs_employment_change_detected_date\": \"<string>\",\n \"hs_enforce_double_opt_in\": true,\n \"hs_enriched_email_bounce_detected\": true,\n \"hs_excluded_from_cross_account_data_mirroring\": true,\n \"hs_facebook_click_id\": \"<string>\",\n \"hs_facebookid\": \"<string>\",\n \"fax\": \"<string>\",\n \"field_of_study\": \"<string>\",\n \"followercount\": 123,\n \"gender\": \"<string>\",\n \"hs_google_click_id\": \"<string>\",\n \"graduation_date\": \"<string>\",\n \"ownername\": \"<string>\",\n \"industry\": \"<string>\",\n \"jobtitle\": \"<string>\",\n \"hs_job_change_detected_date\": \"<string>\",\n \"job_function\": \"<string>\",\n \"kloutscoregeneral\": 123,\n \"hs_last_metered_enrichment_timestamp\": \"<string>\",\n \"hs_latest_source_timestamp\": \"<string>\",\n \"hs_gps_latitude\": \"<string>\",\n \"linkedinbio\": \"<string>\",\n \"linkedinconnections\": 123,\n \"hs_linkedin_url\": \"<string>\",\n \"hs_linkedin_click_id\": \"<string>\",\n \"hs_linkedinid\": \"<string>\",\n \"hs_live_enrichment_deadline\": \"<string>\",\n \"hs_gps_longitude\": \"<string>\",\n \"marital_status\": \"<string>\",\n \"hs_content_membership_email\": \"<string>\",\n \"hs_content_membership_notes\": \"<string>\",\n \"message\": \"<string>\",\n \"military_status\": \"<string>\",\n \"mobilephone\": \"<string>\",\n \"hs_owning_teams\": \"<string>\",\n \"hs_persona\": \"<string>\",\n \"photo\": \"<string>\",\n \"hs_pinned_engagement_id\": 123,\n \"hs_pipeline\": \"<string>\",\n \"zip\": \"<string>\",\n \"associatedcompanyid\": 123,\n \"hs_prospecting_agent_last_enrolled\": \"<string>\",\n \"hs_prospecting_agent_total_enrolled_count\": 123,\n \"hs_prospecting_agent_activation_email_id\": 123,\n \"hs_reddit_ad_clicked\": true,\n \"hs_reddit_click_id\": \"<string>\",\n \"relationship_status\": \"<string>\",\n \"hs_returning_to_office_detected_date\": \"<string>\",\n \"salutation\": \"<string>\",\n \"school\": \"<string>\",\n \"seniority\": \"<string>\",\n \"hs_shared_team_ids\": \"<string>\",\n \"hs_shared_user_ids\": \"<string>\",\n \"hs_feedback_show_nps_web_survey\": true,\n \"start_date\": \"<string>\",\n \"state\": \"<string>\",\n \"hs_state_code\": \"<string>\",\n \"address\": \"<string>\",\n \"hs_tiktok_ad_clicked\": true,\n \"hs_tiktok_click_id\": \"<string>\",\n \"hs_time_between_contact_creation_and_deal_close\": 123,\n \"hs_time_between_contact_creation_and_deal_creation\": 123,\n \"hs_time_to_move_from_lead_to_customer\": 123,\n \"hs_time_to_move_from_marketingqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_opportunity_to_customer\": 123,\n \"hs_time_to_move_from_salesqualifiedlead_to_customer\": 123,\n \"hs_time_to_move_from_subscriber_to_customer\": 123,\n \"twitterbio\": \"<string>\",\n \"hs_twitterid\": \"<string>\",\n \"twitterprofilephoto\": \"<string>\",\n \"twitterhandle\": \"<string>\",\n \"website\": \"<string>\",\n \"hs_whatsapp_bsuids\": \"<string>\",\n \"hs_whatsapp_phone_number\": \"<string>\",\n \"work_email\": \"<string>\",\n \"hs_googleplusid\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_bodyAuthorizations
Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Path Parameters
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Body
application/json
Response
200
Success
Was this page helpful?