curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#SALESFORCE_CREATE_RECORD_TASK' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "SALESFORCE_CREATE_RECORD_TASK",
"parameters": {
"subject": "<string>",
"taskSubtype": "task",
"whatId": "<string>",
"whoId": "<string>",
"activityDate": "<string>",
"description": "<string>",
"Status": "Not Started",
"ownerId": "<string>",
"callDurationInSeconds": "<string>",
"isReminderSet": true,
"reminderDateTime": "<string>",
"additionalFields": {}
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#SALESFORCE_CREATE_RECORD_TASK' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "SALESFORCE_CREATE_RECORD_TASK",
"parameters": {
"subject": "<string>",
"taskSubtype": "task",
"whatId": "<string>",
"whoId": "<string>",
"activityDate": "<string>",
"description": "<string>",
"Status": "Not Started",
"ownerId": "<string>",
"callDurationInSeconds": "<string>",
"isReminderSet": true,
"reminderDateTime": "<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
Subject
Task Subtype
task, email, listEmail, call Related to ID : The ID of the Account or Opportunity this Task is related to.
Name ID : The ID of the Contact or Lead this Task is related to.
Activity Date (example: "YYYY-MM-DD")
Description : A description of the Task.
Status
Not Started, In Progress, Completed Assigned To ID : The Salesforce user assigned to this Task. Use Connect Portal Workflow Settings to allow users to select an Owner. (example: "{{settings.TaskAssignee}}")
Call Duration
Reminder Set
Reminder Date/Time (example: "2019-09-15T02:06:58.147Z")
Additional Fields : Specify any other fields that should be updated in JSON below. Use Connect Portal Workflow Settings to allow users to select which Task 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?