Oktopost
Leads

Lead Activity

Lead activities are social interactions (reactions, shares, clicks, comments, mentions, etc.) that the platform was able to associate with a specific person. This endpoint can be used to list and delete lead activities.

List Lead Activities

Lead activities are social interactions that Oktopost was able to associate with a specific person. For a complete list of all the social activities see this article.

Example Request

curl -i https://api.oktopost.com/v2/lead-activity

Parameters

ParameterTypeRequiredDescription
leadIdStringNoGet all the activities for a particular lead.

Example Result

{
  "Result": true,
  "Items": [
    {
      "Id": "act000000000001",
      "ActivityDate": "2020-01-10 08:30:00",
      "AccountId": "001000000000001",
      "LeadId": "0ld000000000001",
      "Type": "click",
      "Network": "Twitter",
      "ProfileId": "003-001000000000001-123456",
      "Data": {}
    },
    {
      "Id": "act000000000001",
      "ActivityDate": "2020-01-10 08:30:00",
      "AccountId": "001000000000001",
      "LeadId": "0ld000000000002",
      "Type": "comment",
      "Network": "Facebook",
      "ProfileId": "003-001000000000001-123456",
      "Data": {}
    }
  ],
  "Total": 1
}

Delete Lead Activity

Example Request

curl -i https://api.oktopost.com/v2/lead-activity/act000000000001?leadId=0ld000000000001 -X DELETE