Oktopost
Leads

Leads

Leads are individuals that interact with your social content. Oktopost collects and stores leads' publicly available information. This endpoint can be used to list, get and delete leads.

List Leads

Example Request

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

Parameters

ParamDefaultDescription
search-Optional
_page0Optional
_count25Optional

Example Result

{
  "Result": true,
  "Items": [
    {
      "Id": "0ld000000000001",
      "ParentId": null,      
      "AccountId": "00100000000001",
      "Type": "person",
      "Email": "john@example.com",
      "Name": "John Doe",
      "FirstName": "John",
      "LastName": "Doe",
      "Photo": null,
      "Phone": null,
      "IsTracked": true,
      "Profiles": [
        {
          "Network": "Instagram",
          "Url": "https:\/\/instagram.com\/..."
        },
        {
          "Network": "Twitter",
          "Url": "https:\/\/twitter.com\/..."
        }
      ]
    }
  ]
}

Get Lead

Example Request

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

Example Result

{
  "Result": true,
  "Lead": {
      "Id": "0ld000000000001",
      "ParentId": null,      
      "AccountId": "00100000000001",
      "Type": "person",
      "Email": "john@example.com",
      "Name": "John Doe",
      "FirstName": "John",
      "LastName": "Doe",
      "Photo": null,
      "Phone": null,
      "IsTracked": true,
      "Profiles": [
        {
          "Network": "Instagram",
          "Url": "https:\/\/instagram.com\/..."
        },
        {
          "Network": "Twitter",
          "Url": "https:\/\/twitter.com\/..."
        }
      ]
    }
}

Delete Lead

Example Request

curl -i https://api.oktopost.com/v2/lead/0ld000000000001 -X DELETE