curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#HUBSPOT_CREATE_RECORD_CONTACTS' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "HUBSPOT_CREATE_RECORD_CONTACTS",
"parameters": {
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"jobtitle": "<string>",
"company": "<string>",
"hubspot_owner_id": "<string>",
"lifecyclestage": "<string>",
"hs_lead_status": "<string>",
"additionalFieldsJSON": "<string>"
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#HUBSPOT_CREATE_RECORD_CONTACTS' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "HUBSPOT_CREATE_RECORD_CONTACTS",
"parameters": {
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"jobtitle": "<string>",
"company": "<string>",
"hubspot_owner_id": "<string>",
"lifecyclestage": "<string>",
"hs_lead_status": "<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
First Name
Last Name
Job Title
Company Name
Contact Owner : The HubSpot user who is assigned to this contact. 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}}")
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?