curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#SALESFORCE_CREATE_RECORD_LEAD' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "SALESFORCE_CREATE_RECORD_LEAD",
"parameters": {
"LastName": "<string>",
"Company": "<string>",
"FirstName": "<string>",
"Email": "<string>",
"Phone": "<string>",
"Website": "<string>",
"Title": "<string>",
"Status": "<string>",
"Description": "<string>",
"additionalFields": {}
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#SALESFORCE_CREATE_RECORD_LEAD' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "SALESFORCE_CREATE_RECORD_LEAD",
"parameters": {
"LastName": "<string>",
"Company": "<string>",
"FirstName": "<string>",
"Email": "<string>",
"Phone": "<string>",
"Website": "<string>",
"Title": "<string>",
"Status": "<string>",
"Description": "<string>",
"additionalFields": {}
}
}
'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
Last Name : This field is required.
Company : This field is required.
First Name
Phone
Website
Title : Title of the contact, such as CEO or Vice President.
Status : Defaults to the user’s first Lead Status if not provided. Use Connect Portal Workflow Settings to allow users to select an Lead Status.
Description : A description of the Lead.
Additional Fields : Specify any other fields that should be updated in JSON below. Use Connect Portal Workflow Settings to allow users to select which Lead 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?