Activity Management
The Activity resource represents all system and custom activities posted on leads and opportunities. System activities (email bounced, email link clicked, website page visited, etc.) are posted automatically but you have to post custom activities (home visit, meeting, or any activity you create) manually. These APIs let you manage activities through simple CRUD operations.
Create | Retrieve | Update | Delete |
Post an Activity on a Lead Post a custom activity to a lead. |
Get List of Activity Types Retrieve all activity types. |
Update an Activity Update an activity posted on a lead. |
Delete an Activity Type Delete a custom activity type. |
Post Activities on Leads in Bulk Post up to 25 activities at a go. |
Get Activity Details Retrieve details of a specific activity. |
Update Activities in Bulk Update multiple activities in one go. |
Delete Activities of a Lead Deletes activities (both system and custom) posted on a lead. |
Post Activities on Leads in Bulk (Using Unique Lead Fields) Lets you post activities to leads in bulk. |
Get Activity Type Details Retrieve a specific activity type. |
Lock an Activity Lets you lock an activity to prevent it from being modified. |
Delete a Custom Activity Delete a custom activity posted on a lead. |
Create a Lead and Activity Create a lead and post an activity simultaneously. |
Get Activities of a Lead Retrieve a lead’s activities. |
Unlock an Activity Lets you unlock a previously locked activity. |
|
Post an Activity on an Opportunity Lets you post a custom activity on an Opportunity. |
Get Activities of an Opportunity Returns the activities of an opportunity. |
Add Values to a Custom Activity Drop-down Field Add values to a drop-down custom field of a specific activity type. |
|
Post Bulk Activities on Opportunities Post up to 25 activities at a go. |
Activity Advanced Search Retrieve activities by defining your own search criteria |
Remove Values from a Custom Activity Drop-down Field Remove values from a drop-down custom field of a specific activity type. |
|
Create a Custom Activity Type Create a new custom activity type |
Get Activities by Date Range Retrieve activities posted between custom dates |
Add Values to a Dependent Dropdown Activity Field Add values to a dependent drop-down field of a custom activity. |
|
Post an Activity with a Lead’s Email Address Post a custom activity by passing a lead’s email address. |
Get Activities by Activity Event Retrieve multiple instances of an activity by activity. |
Remove Values from a Dependent Dropdown Activity Field Remove values from a dependent drop-down field of a custom activity. |
|
Attach a File to a Custom or Sales Activity Attaches a file to an activity based on activity Id. |
Get Custom Fields of an Activity Retrieve the custom fields of an activity. |
||
Upload a File
Let’s you upload a file to your LeadSquared account.
|
Get Attachments of an Activity Retrieve all attachments uploaded against an activity |
||
Get Details of a Lead Owner Associated with an Activity Pass an activity Id and retrieve the corresponding lead owner’s details. |
|||
Get Values of a Custom Activity Drop-down Field Retrieves values of any custom activity field of drop-down type. |
|||
Get Drop-down Values of a Dependent Custom Activity Field Retrieves the values of dependent drop-down fields associated with a particular custom activity field. |
|||
Get Activity Change History Retrieves history of changes made to activities. |
|||
Get Activities by Lead Reference Returns activities where leads have been referenced through custom field sets. |