curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#HUBSPOT_UPDATE_RECORD_COMPANIES' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "HUBSPOT_UPDATE_RECORD_COMPANIES",
"parameters": {
"recordId": "<string>",
"name": "<string>",
"domain": "<string>",
"hubspot_owner_id": "<string>",
"lifecyclestage": "<string>",
"hs_lead_status": "<string>",
"phone": "<string>",
"numberofemployees": "<string>",
"annualrevenue": "<string>",
"description": "<string>",
"additionalFieldsJSON": "<string>"
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#HUBSPOT_UPDATE_RECORD_COMPANIES' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "HUBSPOT_UPDATE_RECORD_COMPANIES",
"parameters": {
"recordId": "<string>",
"name": "<string>",
"domain": "<string>",
"hubspot_owner_id": "<string>",
"lifecyclestage": "<string>",
"hs_lead_status": "<string>",
"phone": "<string>",
"numberofemployees": "<string>",
"annualrevenue": "<string>",
"description": "<string>",
"additionalFieldsJSON": "<string>"
}
}
'Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Record ID
Name
Company Domain Name
Company Owner : The HubSpot user who is assigned to this Company. Use Connect Portal Workflow Settings to allow users to select an Owner. (example: "{{settings.owner}}")
Lifecycle Stage : Defaults to the user’s first Lifecycle Stage if not provided. Use Connect Portal Workflow Settings to allow users to select a Lifecycle Stage. (example: "{{settings.lifecycleStage}}")
Lead Status : Defaults to the user’s first Lead Status if not provided. Use Connect Portal Workflow Settings to allow users to select a Lead Status. (example: "{{settings.leadStatus}}")
Phone Number
Number of Employees
Annual Revenue
Description
Additional Fields : Specify any other fields that should be updated in JSON below. Use Connect Portal Workflow Settings to allow users to select which Contact fields to update. (example: "{ "property_number": "17", "property_dropdown": "choice_b", "property_radio": "option_1", "property_string": "value", "property_date": "1572480000000" }")
Success
Was this page helpful?