Overview

Creates new Leads.

Request Arguments

Name Type Description Required
last_name String The last name of the Lead True
lead_source String The source of the Lead True
<record field> <record field type> The value for any given field on the Lead record False

Request

{
   "first_name":"John",
   "last_name":"Smith",
   "lead_source":"Web Site"
}

Response Arguments

Name Type Description
<record field> <record field type> Returns the fields for the newly created record.

Response

{
   "id":"ecba9f86-4a4a-def6-359c-505a5b33f014",
   "name":"John Smith",
   "date_entered":"2012-09-19T23:54:54+0000",
   "date_modified":"2012-09-19T23:54:54+0000",
   "modified_user_id":"1",
   "created_by":"1",
   "deleted":0,
   "team_id":"1",
   "team_set_id":"1",
   "first_name":"John",
   "last_name":"Smith",
   "full_name":"John Smith",
   "do_not_call":false,
   "converted":false,
   "lead_source":"Support Portal User Registration",
   "status":"New",
   "preferred_language":"en_us",
   "email":[

   ],
   "my_favorite":false
}

Change Log

Version Change
v11_6 lead_source is a required field.
v10 Added /Leads/register POST endpoint.