Call Outcome
Company Category
Contract Type
Custom Field
Industry
Lead Source
Loss Reason
Market Sector
Project Stages
Task List
Webhook Message
Create lead
curl --request POST \
--url https://api.buildr.com/api/2023-01/leads \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"lead": {
"archived_at": "2023-02-14T18:13:00Z",
"archived_by_id": "953",
"assigned_to_id": "953",
"company_id": "753",
"construction_duration": 4,
"construction_duration_unit": "days",
"contact_id": "144",
"contract_type_id": "721",
"delivery_method": "cmar",
"description": "We have to close this one!",
"division_id": "689",
"estimated_start_date": "2023-09-04",
"lead_source_id": "346",
"market_sector_id": "902",
"name": "Gateway Logistics Center",
"priority": true,
"snooze_until": "2023-02-14T18:13:00Z",
"square_feet": 1200,
"tender_type": "open",
"units": 24,
"value_in_cents": 2999,
"required": "<any>"
}
}'
{
"lead": {
"id": "966",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Gateway Logistics Center",
"description": "We have to close this one!",
"priority": true,
"value_in_cents": 2999,
"estimated_start_date": "2023-09-04",
"construction_duration": 4,
"construction_duration_unit": "days",
"tender_type": "open",
"delivery_method": "cmar",
"square_feet": 1200,
"units": 24,
"archived_at": "2023-02-14T18:13:00Z",
"snooze_until": "2023-02-14T18:13:00Z",
"address": {
"street_address": "123 Main St",
"street_address2": "Apt 1",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"country": "US"
},
"assigned_to": {
"id": "953",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"first_name": "Russell",
"last_name": "Westbrook",
"name": "Russell Westbrook",
"email": "russell.westbrook@example.com"
},
"archived_by": {
"id": "953",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"first_name": "Russell",
"last_name": "Westbrook",
"name": "Russell Westbrook",
"email": "russell.westbrook@example.com"
},
"company": {
"id": "101",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "<string>",
"website": "<string>"
},
"contact": {
"id": "418",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"first_name": "Austin",
"last_name": "Reaves",
"name": "Austin Reaves",
"email": "austin.reaves@example.com"
},
"contract_type": {
"id": "721",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Design/Build"
},
"created_by": {
"id": "953",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"first_name": "Russell",
"last_name": "Westbrook",
"name": "Russell Westbrook",
"email": "russell.westbrook@example.com"
},
"division": {
"id": "689",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "<string>"
},
"lead_source": {
"id": "346",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Website"
},
"market_sector": {
"id": "902",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Education"
}
}
}
Headers
Body
"2023-02-14T18:13:00Z"
"953"
"953"
"753"
4
days
, weeks
, months
"days"
"144"
"721"
design_bid_build
, design_build
, cmar
, design_assist
"cmar"
"We have to close this one!"
"689"
"2023-09-04"
"346"
"902"
"Gateway Logistics Center"
true
"2023-02-14T18:13:00Z"
1200
open
, selective
, negotiated
"open"
24
2999
Response
"966"
"2023-02-14T18:13:00Z"
"2023-04-03T20:16:30Z"
"Gateway Logistics Center"
"953"
"2023-02-14T18:13:00Z"
"2023-04-03T20:16:30Z"
"Russell"
"Westbrook"
"Russell Westbrook"
"russell.westbrook@example.com"
"418"
"2023-02-14T18:13:00Z"
"2023-04-03T20:16:30Z"
"Austin"
"Reaves"
"Austin Reaves"
"austin.reaves@example.com"
"953"
"2023-02-14T18:13:00Z"
"2023-04-03T20:16:30Z"
"Russell"
"Westbrook"
"Russell Westbrook"
"russell.westbrook@example.com"
"We have to close this one!"
true
2999
"2023-09-04"
4
, days
, weeks
, months
"days"
, open
, selective
, negotiated
"open"
, design_bid_build
, design_build
, cmar
, design_assist
"cmar"
1200
24
"2023-02-14T18:13:00Z"
"2023-02-14T18:13:00Z"
"123 Main St"
"Apt 1"
"Los Angeles"
"90001"
AU
, CA
, GB
, IS
, NZ
, UK
, US
"US"
"CA"
"953"
"2023-02-14T18:13:00Z"
"2023-04-03T20:16:30Z"
"Russell"
"Westbrook"
"Russell Westbrook"
"russell.westbrook@example.com"
curl --request POST \
--url https://api.buildr.com/api/2023-01/leads \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"lead": {
"archived_at": "2023-02-14T18:13:00Z",
"archived_by_id": "953",
"assigned_to_id": "953",
"company_id": "753",
"construction_duration": 4,
"construction_duration_unit": "days",
"contact_id": "144",
"contract_type_id": "721",
"delivery_method": "cmar",
"description": "We have to close this one!",
"division_id": "689",
"estimated_start_date": "2023-09-04",
"lead_source_id": "346",
"market_sector_id": "902",
"name": "Gateway Logistics Center",
"priority": true,
"snooze_until": "2023-02-14T18:13:00Z",
"square_feet": 1200,
"tender_type": "open",
"units": 24,
"value_in_cents": 2999,
"required": "<any>"
}
}'
{
"lead": {
"id": "966",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Gateway Logistics Center",
"description": "We have to close this one!",
"priority": true,
"value_in_cents": 2999,
"estimated_start_date": "2023-09-04",
"construction_duration": 4,
"construction_duration_unit": "days",
"tender_type": "open",
"delivery_method": "cmar",
"square_feet": 1200,
"units": 24,
"archived_at": "2023-02-14T18:13:00Z",
"snooze_until": "2023-02-14T18:13:00Z",
"address": {
"street_address": "123 Main St",
"street_address2": "Apt 1",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"country": "US"
},
"assigned_to": {
"id": "953",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"first_name": "Russell",
"last_name": "Westbrook",
"name": "Russell Westbrook",
"email": "russell.westbrook@example.com"
},
"archived_by": {
"id": "953",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"first_name": "Russell",
"last_name": "Westbrook",
"name": "Russell Westbrook",
"email": "russell.westbrook@example.com"
},
"company": {
"id": "101",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "<string>",
"website": "<string>"
},
"contact": {
"id": "418",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"first_name": "Austin",
"last_name": "Reaves",
"name": "Austin Reaves",
"email": "austin.reaves@example.com"
},
"contract_type": {
"id": "721",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Design/Build"
},
"created_by": {
"id": "953",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"first_name": "Russell",
"last_name": "Westbrook",
"name": "Russell Westbrook",
"email": "russell.westbrook@example.com"
},
"division": {
"id": "689",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "<string>"
},
"lead_source": {
"id": "346",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Website"
},
"market_sector": {
"id": "902",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Education"
}
}
}