Lodol Docs

Instantly

API actions for the Instantly integration.

Instantly

Automate cold email outreach with Instantly: manage campaigns, leads, sending accounts, and analytics.


Activate campaign

Activate (start sending) an Instantly campaign by ID.

Parameters

ParameterTypeRequiredDescription
campaign_idstringYesCampaign ID to activate.

Response

{
  "id": "01890000-0000-7000-a000-000000000001",
  "status": 1
}

Create campaign

Create a new cold email campaign with a default sending schedule.

Parameters

ParameterTypeRequiredDescription
namestringYesA name for the new campaign.
timing_fromstringNoTime of day to start sending each day, in 24-hour HH:MM format. Defaults to 09:00.
timing_tostringNoTime of day to stop sending each day, in 24-hour HH:MM format. Defaults to 17:00.
timezonestringNoTime zone the daily sending times are based on. Defaults to US Eastern time.
daysarrayNoDays of the week to send on, as numbers from 0 (Sunday) to 6 (Saturday). Defaults to Monday–Friday.

Response

{
  "id": "01890000-0000-7000-a000-000000000001",
  "name": "Q1 Outbound",
  "status": 0
}

Create lead

Add a lead to an Instantly campaign or lead list.

Parameters

ParameterTypeRequiredDescription
emailstringYesLead email address.
campaign_idstringNoID of the campaign to add the lead to.
list_idstringNoID of the lead list to add the lead to.
first_namestringNoLead first name.
last_namestringNoLead last name.
company_namestringNoLead company name.
phonestringNoLead phone number.
websitestringNoLead website URL.
personalizationstringNoPersonalization snippet used in the first email.
custom_variablesobjectNoExtra fields to save on the lead, as name and value pairs. Each value can be text, a number, true/false, or empty (no nested lists or groups).

Response

{
  "campaign": "01890000-0000-7000-a000-000000000001",
  "email": "jane@example.com",
  "id": "01890000-0000-7000-b000-000000000001"
}

Get campaign

Retrieve details for a single Instantly campaign by ID.

Parameters

ParameterTypeRequiredDescription
campaign_idstringYesCampaign ID.

Response

{
  "id": "01890000-0000-7000-a000-000000000001",
  "name": "Q1 Outbound",
  "status": 1
}

Get campaign analytics

Retrieve analytics for one or all campaigns over an optional date range.

Parameters

ParameterTypeRequiredDescription
campaign_idstringNoCampaign ID to get analytics for. Leave empty to include all campaigns.
start_datestringNoStart date (YYYY-MM-DD).
end_datestringNoEnd date (YYYY-MM-DD).

Response

{
  "result": [
    {
      "campaign_id": "01890000-0000-7000-a000-000000000001",
      "emails_sent_count": 480,
      "leads_count": 500,
      "open_count": 240,
      "reply_count": 32
    }
  ]
}

List sending accounts

List the email sending accounts connected to Instantly.

Parameters

ParameterTypeRequiredDescription
limitnumberNoMaximum number of accounts to return.
searchstringNoFilter accounts by email address.

Response

{
  "items": [
    {
      "email": "outreach@example.com",
      "status": 1
    }
  ],
  "next_starting_after": null
}

List campaigns

List cold email campaigns in your Instantly workspace.

Parameters

ParameterTypeRequiredDescription
limitnumberNoMaximum number of campaigns to return.
searchstringNoFilter campaigns by name.
statusnumberNoOnly show campaigns in this state.

Response

{
  "items": [
    {
      "id": "01890000-0000-7000-a000-000000000001",
      "name": "Q1 Outbound",
      "status": 1
    }
  ],
  "next_starting_after": null
}

List leads

List or search leads, optionally filtered by campaign.

Parameters

ParameterTypeRequiredDescription
campaign_idstringNoOnly show leads in this campaign.
limitnumberNoMaximum number of leads to return.
searchstringNoSearch leads by email, name, or company.

Response

{
  "items": [
    {
      "email": "jane@example.com",
      "id": "01890000-0000-7000-b000-000000000001"
    }
  ],
  "next_starting_after": null
}

On this page