WhatConverts

App · 6 actions

Work with your WhatConverts lead tracking: list, read, add and update leads from calls, forms, chats and emails, see your call tracking numbers and tracked web forms, and start a workflow when a new lead comes in.

Actions

ActionWhat it does
Create leadAdd a lead to your WhatConverts profile, such as a form submission or call from another system.
Get leadGet one lead with its contact details, marketing source, values, and call or form details.
List leadsList leads, newest first, with their contact, source, call or form details.
List tracked web formsList the web forms WhatConverts tracks in your profile.
List tracking phone numbersList the call tracking phone numbers in your profile, with the number they forward to, their trigger and whether calls are recorded.
Update leadChange a lead's quotable status, quote value, sales value, page address or additional fields.

Create lead

Add a lead to your WhatConverts profile, such as a form submission or call from another system. WhatConverts cannot delete a lead through its API, so it stays until you remove it in WhatConverts.

Inputs

Lead typelead_typetextRequired
What kind of lead this is.One of: web_form (Web form), phone_call (Phone call), chat, email, text_message (Text message), appointment, event, transaction, other.
Send email notificationsend_notificationtrue/false
Turn on to have WhatConverts email its usual new lead notification.
Date and timedate_createddate and time
When the lead happened. Leave empty for now.
Email addressemail_addresstext
The lead's email address.
Phone numberphone_numbertext
The lead's phone number, with the country code, like +15555550123.
Caller namecaller_nametext
The caller's name, for a phone call lead.
Caller numbercaller_numbertext
The caller's phone number, with the country code, for a phone call or text message lead.
Form nameform_nametext
The name of the form, for a web form lead.
Messagemessagetext
What the lead wrote or said.
Sourcelead_sourcetext
Where the lead came from, such as google.
Mediumlead_mediumtext
The marketing medium, such as cpc or organic.
Campaignlead_campaigntext
The campaign that brought the lead.
Contentlead_contenttext
The ad content that brought the lead.
Keywordlead_keywordtext
The keyword that brought the lead.
Page the lead happened onlead_urltext
The address of the page.
Landing pagelanding_urltext
The address of the page the visitor arrived on.
Quotablequotabletext
Whether the lead can be quoted.One of: yes, no, pending, not_set (Not set).
Quote valuequote_valuenumber
The value quoted to the lead, in your currency.
Sales valuesales_valuenumber
The sales value the lead brought in.
Call length (seconds)call_duration_secondsnumber
How long the call lasted, for a phone call lead.At least 0.
Answer statusanswer_statustext
Whether the call was answered, for a phone call lead.One of: Answered, No Answer, Busy.
Citycitytext
The lead's city.
Statestatetext
The lead's state or region.
Zip codezip_codetext
The lead's zip or postal code.
Countrycountrytext
The lead's country.
Additional fieldsadditional_fieldsobject
Your own names and values to keep on the lead, for example {"Company": "Acme"}.

Outputs

leadobject
The lead
Example output
{
  "lead": {
    "account": "Acme Co",
    "account_id": 124155,
    "additional_fields": {
      "Name": "Jo Bloggs"
    },
    "answer_status": "",
    "browser": "",
    "call_duration_seconds": 0,
    "caller_name": "",
    "caller_number": "",
    "city": "Austin",
    "contact_company_name": "",
    "contact_email_address": "jo@example.com",
    "contact_name": "Jo Bloggs",
    "contact_phone_number": "",
    "country": "US",
    "custom_fields": {},
    "date_created": "2026-11-18T19:57:03Z",
    "device_make": "",
    "device_type": "",
    "duplicate": false,
    "email_address": "jo@example.com",
    "form_name": "Contact us",
    "landing_url": "https://example.com/",
    "last_updated": "2026-11-18T19:57:03Z",
    "lead_campaign": "spring sale",
    "lead_content": "",
    "lead_id": 269910794,
    "lead_keyword": "plumber",
    "lead_medium": "cpc",
    "lead_score": 0,
    "lead_source": "google",
    "lead_state": "Completed",
    "lead_status": "Unique",
    "lead_type": "Web Form",
    "lead_url": "https://example.com/contact",
    "mapped_fields": {
      "Phone Number": null
    },
    "operating_system": "",
    "phone_number": "",
    "profile": "Acme Website",
    "profile_id": 180550,
    "quotable": "Not Set",
    "quote_value": 10,
    "sales_value": 0,
    "spam": false,
    "spotted_keywords": "",
    "state": "TX",
    "zip": "78701"
  }
}

Get lead

Get one lead with its contact details, marketing source, values, and call or form details.

Inputs

Lead IDlead_idtextRequired
The lead's id, from 'List leads', 'Create lead' or an earlier step.

Outputs

leadobject
The lead
Example output
{
  "lead": {
    "account": "Acme Co",
    "account_id": 124155,
    "additional_fields": {
      "Name": "Jo Bloggs"
    },
    "answer_status": "",
    "browser": "",
    "call_duration_seconds": 0,
    "caller_name": "",
    "caller_number": "",
    "city": "Austin",
    "contact_company_name": "",
    "contact_email_address": "jo@example.com",
    "contact_name": "Jo Bloggs",
    "contact_phone_number": "",
    "country": "US",
    "custom_fields": {},
    "date_created": "2026-11-18T19:57:03Z",
    "device_make": "",
    "device_type": "",
    "duplicate": false,
    "email_address": "jo@example.com",
    "form_name": "Contact us",
    "landing_url": "https://example.com/",
    "last_updated": "2026-11-18T19:57:03Z",
    "lead_campaign": "spring sale",
    "lead_content": "",
    "lead_id": 269910794,
    "lead_keyword": "plumber",
    "lead_medium": "cpc",
    "lead_score": 0,
    "lead_source": "google",
    "lead_state": "Completed",
    "lead_status": "Unique",
    "lead_type": "Web Form",
    "lead_url": "https://example.com/contact",
    "mapped_fields": {
      "Phone Number": null
    },
    "operating_system": "",
    "phone_number": "",
    "profile": "Acme Website",
    "profile_id": 180550,
    "quotable": "Not Set",
    "quote_value": 10,
    "sales_value": 0,
    "spam": false,
    "spotted_keywords": "",
    "state": "TX",
    "zip": "78701"
  }
}

List leads

List leads, newest first, with their contact, source, call or form details. Looks back 30 days unless you give a From date (WhatConverts alone returns only today), and gets one page; to see more, run it again with the next page number.

Inputs

Lead typelead_typetext
Only this kind of lead. Leave empty for every type.One of: web_form (Web form), phone_call (Phone call), chat, email, text_message (Text message), appointment, event, transaction, other.
Lead statuslead_statustext
Only first-time (unique) or returning (repeat) leads.One of: unique (Unique (first time)), repeat.
From datestart_datedate
Only leads created on or after this date. Leave empty for the last 30 days.
To dateend_datedate
Only leads created on or before this date. At most 400 days after the start.
Orderordertext
Sort by the date created. Defaults to newest first.One of: desc (Newest first (default)), asc (Oldest first).
Quotablequotabletext
Only leads marked this way.One of: yes, no, pending, not_set (Not set).
Quote valuequote_valuetext
Only leads that do, or don't, have a quote value.One of: has_value (Has a value), no_value (Has no value).
Sales valuesales_valuetext
Only leads that do, or don't, have a sales value.One of: has_value (Has a value), no_value (Has no value).
Sourcelead_sourcetext
Only leads from this source, such as google.
Mediumlead_mediumtext
Only leads from this medium, such as cpc.
Campaignlead_campaigntext
Only leads from this campaign.
Keywordlead_keywordtext
Only leads from this keyword.
Email addressemail_addresstext
Only leads from this email address.
Phone numberphone_numbertext
Only leads from this phone number, with the country code, like +15555550123.
Spam onlyspamtrue/false
Turn on to list only leads marked as spam.
Duplicates onlyduplicatetrue/false
Turn on to list only leads marked as duplicates.
Page sizeleads_per_pagenumber
How many leads to return, 1 to 2500. The default is 25.From 1 to 2500.
Page numberpage_numbernumber
Which page to return, starting at 1. Check 'Has more' to see if another follows.At least 1.

Outputs

countnumber
How many are in this page
has_moretrue/false
True if a later page exists
leadslist
The leads in this page
page_numbernumber
This page's number
total_leadsnumber
How many leads match in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "has_more": false,
  "leads": [
    {
      "account": "Acme Co",
      "account_id": 124155,
      "additional_fields": {
        "Name": "Jo Bloggs"
      },
      "answer_status": "",
      "browser": "",
      "call_duration_seconds": 0,
      "caller_name": "",
      "caller_number": "",
      "city": "Austin",
      "contact_company_name": "",
      "contact_email_address": "jo@example.com",
      "contact_name": "Jo Bloggs",
      "contact_phone_number": "",
      "country": "US",
      "custom_fields": {},
      "date_created": "2026-11-18T19:57:03Z",
      "device_make": "",
      "device_type": "",
      "duplicate": false,
      "email_address": "jo@example.com",
      "form_name": "Contact us",
      "landing_url": "https://example.com/",
      "last_updated": "2026-11-18T19:57:03Z",
      "lead_campaign": "spring sale",
      "lead_content": "",
      "lead_id": 269910794,
      "lead_keyword": "plumber",
      "lead_medium": "cpc",
      "lead_score": 0,
      "lead_source": "google",
      "lead_state": "Completed",
      "lead_status": "Unique",
      "lead_type": "Web Form",
      "lead_url": "https://example.com/contact",
      "mapped_fields": {
        "Phone Number": null
      },
      "operating_system": "",
      "phone_number": "",
      "profile": "Acme Website",
      "profile_id": 180550,
      "quotable": "Not Set",
      "quote_value": 10,
      "sales_value": 0,
      "spam": false,
      "spotted_keywords": "",
      "state": "TX",
      "zip": "78701"
    }
  ],
  "page_number": 1,
  "total_leads": 1,
  "total_pages": 1
}

List tracked web forms

List the web forms WhatConverts tracks in your profile. Gets one page; to see more, run it again with the next page number.

Inputs

Page sizeforms_per_pagenumber
How many web forms to return, 1 to 250. The default is 25.From 1 to 250.
Page numberpage_numbernumber
Which page to return, starting at 1.At least 1.

Outputs

countnumber
How many are in this page
formslist
The web forms in this page
has_moretrue/false
True if a later page exists
page_numbernumber
This page's number
total_formsnumber
How many web forms match in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "forms": [
    {
      "account_id": 124155,
      "attribute_type": "ID",
      "attribute_type_value": "contact_us",
      "form_id": 148099,
      "form_name": "Contact us",
      "profile": "Acme Website",
      "profile_id": 180550,
      "submit_attribute_type": "Class",
      "submit_attribute_type_value": "submit_button"
    }
  ],
  "has_more": false,
  "page_number": 1,
  "total_forms": 1,
  "total_pages": 1
}

List tracking phone numbers

List the call tracking phone numbers in your profile, with the number they forward to, their trigger and whether calls are recorded. Gets one page; to see more, run it again with the next page number.

Inputs

Page sizenumbers_per_pagenumber
How many phone numbers to return, 1 to 250. The default is 25.From 1 to 250.
Page numberpage_numbernumber
Which page to return, starting at 1.At least 1.

Outputs

countnumber
How many are in this page
has_moretrue/false
True if a later page exists
numberslist
The phone numbers in this page
page_numbernumber
This page's number
total_numbersnumber
How many phone numbers match in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "has_more": false,
  "numbers": [
    {
      "account_id": 124155,
      "call_flow": "",
      "call_recording": true,
      "destination_number": 18112556580,
      "destination_number_iso_country": "US",
      "last_used": "2026-11-16T23:37:02Z",
      "medium": "",
      "messaging": true,
      "pending_activation": false,
      "phone_name": "Search Paid",
      "phone_number_id": 148099,
      "profile": "Acme Website",
      "profile_id": 180550,
      "source": "",
      "swap_number": 8112556580,
      "tracking_number": 16863152111,
      "tracking_number_iso_country": "US",
      "trigger": "Pool: All Traffic",
      "voice": true
    }
  ],
  "page_number": 1,
  "total_numbers": 1,
  "total_pages": 1
}

Update lead

Change a lead's quotable status, quote value, sales value, page address or additional fields. Fields left empty are kept.

Inputs

Lead IDlead_idtextRequired
The lead's id, from 'List leads', 'Create lead' or an earlier step.
Quotablequotabletext
A new quotable status. Leave empty to keep it.One of: yes, no, pending, not_set (Not set).
Quote valuequote_valuenumber
A new quote value. Leave empty to keep it.
Sales valuesales_valuenumber
A new sales value. Leave empty to keep it.
Page the lead happened onlead_urltext
A new address for the page. Leave empty to keep it.
Additional fieldsadditional_fieldsobject
Names and values to add or change on the lead, for example {"Company": "Acme"}. Other fields are kept.

Outputs

leadobject
The lead
Example output
{
  "lead": {
    "account": "Acme Co",
    "account_id": 124155,
    "additional_fields": {
      "Name": "Jo Bloggs"
    },
    "answer_status": "",
    "browser": "",
    "call_duration_seconds": 0,
    "caller_name": "",
    "caller_number": "",
    "city": "Austin",
    "contact_company_name": "",
    "contact_email_address": "jo@example.com",
    "contact_name": "Jo Bloggs",
    "contact_phone_number": "",
    "country": "US",
    "custom_fields": {},
    "date_created": "2026-11-18T19:57:03Z",
    "device_make": "",
    "device_type": "",
    "duplicate": false,
    "email_address": "jo@example.com",
    "form_name": "Contact us",
    "landing_url": "https://example.com/",
    "last_updated": "2026-11-18T19:57:03Z",
    "lead_campaign": "spring sale",
    "lead_content": "",
    "lead_id": 269910794,
    "lead_keyword": "plumber",
    "lead_medium": "cpc",
    "lead_score": 0,
    "lead_source": "google",
    "lead_state": "Completed",
    "lead_status": "Unique",
    "lead_type": "Web Form",
    "lead_url": "https://example.com/contact",
    "mapped_fields": {
      "Phone Number": null
    },
    "operating_system": "",
    "phone_number": "",
    "profile": "Acme Website",
    "profile_id": 180550,
    "quotable": "Yes",
    "quote_value": 10,
    "sales_value": 99.5,
    "spam": false,
    "spotted_keywords": "",
    "state": "TX",
    "zip": "78701"
  }
}

On this page