GET
/
api
/
2023-01
/
leads
curl --request GET \
  --url https://api.buildr.com/api/2023-01/leads \
  --header 'Authorization: <authorization>'
{
  "leads": [
    {
      "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

Authorization
string
required

Response

200 - application/json
leads
object[]
required