# Sierra Interactive

> Work with your Sierra Interactive real estate site and CRM: add, update and find leads, add notes and tasks, record saved listings, property views, site visits and showing requests, manage saved searches, and look up agents, users and tags.

App · 27 actions. Web page: https://docs.lodol.com/docs/integrations/sierra-interactive

## Actions

### Add lead

Add a lead to your Sierra Interactive site, with their contact details, status, tags and a note, and give it to an agent or to the site's lead distribution.

**Inputs**

- Email (`email`, text, required): The lead's email address.
- First name (`first_name`, text): The lead's first name.
- Last name (`last_name`, text): The lead's last name.
- Phone (`phone`, text): The lead's phone number.
- Status (`lead_status`, text): The lead's status. Sierra uses New when empty. One of: `New`, `Qualify`, `Active`, `Prime`, `Pending`, `Closed`, `Archived`, `Junk`, `DoNotContact` (Do not contact), `Watch`, `Blocked`.
- Lead type (`lead_type`, text): Buyer, seller or both. Buyer when empty. One of: `buyer`, `seller`, `both` (Buyer and seller).
- Email status (`email_status`, text): What is known about the email address. One of: `Unknown`, `ValidAddress` (Valid address), `TwoWayEmailing` (Two-way emailing), `WrongAddress` (Wrong address), `ReportedAsSpam` (Reported as spam), `OptedOut` (Opted out).
- Phone status (`phone_status`, text): What is known about the phone number. One of: `Unknown`, `ValidNumber` (Valid number), `TalkingToProspect` (Talking to prospect), `WrongNumber` (Wrong number), `DoNotCall` (Do not call).
- Source (`source`, text): Where the lead came from, such as Zillow.com.
- Source type (`source_type`, text): How the lead arrived. Sierra API when empty. One of: `SierraApi` (Sierra API (default)), `Manual` (Added by hand), `IDX` (IDX site), `AgentSite` (Agent site), `AgentProfile` (Agent profile), `AgentListing` (Agent listing), `WorkingWithAgent` (Working with an agent), `QueryString` (Link with a query string).
- Birth date (`birth_date`, date): The lead's birth date.
- Street address (`street_address`, text): The lead's street address.
- City (`city`, text): The lead's city.
- State or province (`state`, text): The lead's US state or Canadian province. One of: `AL` (Alabama), `AK` (Alaska), `AZ` (Arizona), `AR` (Arkansas), `CA` (California), `CO` (Colorado), `CT` (Connecticut), `DE` (Delaware), `DC` (District of Columbia), `FL` (Florida), and 54 more.
- ZIP code (`zip_code`, text): The lead's ZIP or postal code.
- Summary (`short_summary`, text): A short summary of the lead, such as Just looking.
- Tags (`tags`, list): Tags to add to the lead. Pick from the site's tags or type new ones.
- Note (`note`, text): A note to add to the lead's history.
- Partner link (`partner_link`, text): A link to the lead in another system.
- Assign to agent (`assign_to_user_id`, text): The agent to give the lead to. Leave empty to let the site's lead distribution choose.
- Referral fee owed (`referral_fee`, true/false): Whether the agent owes the account owner a referral fee for this lead.
- Password (`password`, text): The password for the lead's account on your site. Leave empty to set a random one the lead can reset.
- Send welcome email (`send_registration_email`, true/false): Send the lead the site's welcome email.

**Outputs**

- `agentSiteId` (number): The agent's site ID, or -1 if none
- `agentUserEmail` (text): The assigned agent's email, empty if none
- `agentUserFirstName` (text): The assigned agent's first name
- `agentUserId` (number): The assigned agent's user ID, or -1 if not assigned yet
- `agentUserLastName` (text): The assigned agent's last name
- `agentUserPhone` (text): The assigned agent's phone, empty if none
- `leadId` (number): The lead's Sierra Interactive ID
- `updateDate` (text): When the lead was saved (ISO 8601, UTC)

**Example output**

```json
{
  "agentSiteId": 123456,
  "agentUserEmail": "agent@example.com",
  "agentUserFirstName": "Alex",
  "agentUserId": 234567,
  "agentUserLastName": "Agent",
  "agentUserPhone": "(123) 456-7890",
  "leadId": 345678,
  "updateDate": "2026-11-20T15:04:05.123Z"
}
```

### Add lead task

Add a task on a lead for one of your users, such as a call to make, with when it is due.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.
- Assign to (`assigned_to_user_id`, text, required): The user who should do the task.
- Due (`due_at`, date and time, required): When the task is due.
- Type (`task_type`, text): What kind of task it is. Defaults to Other. One of: `Other` (Other (default)), `Email`, `PhoneCall` (Phone call), `TextMessage` (Text message), `OnSiteMessage` (On-site message).
- Description (`contents`, text): What to do. Required for a task of type Other.
- Created by (`created_by_user_id`, text): The user the task is from. Leave empty to add it as the system, so only managers can change it in Sierra.
- Favorite (`is_favorite`, true/false): Mark the task as a favorite.

**Outputs**

- `task` (object): The task

**Example output**

```json
{
  "task": {
    "byUserId": 2897,
    "contents": "Call back about the showing",
    "dateCreated": "2026-11-20T15:04:05.123Z",
    "dateUpdated": "2026-11-20T15:04:05.123Z",
    "dueOn": "2026-11-27T15:00:00.000Z",
    "id": 123456,
    "isFavorite": false,
    "leadId": 345678,
    "taskType": "PhoneCall",
    "toUserId": 2897
  }
}
```

### Add note to lead

Add a note to a lead's history. The lead's agent is told unless Notify agent is turned off.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.
- Note (`message`, text, required): What the note says.
- Notify agent (`notify_agent`, true/false): Tell the lead's agent about the note. On by default.

**Outputs**

- `lead` (text): The lead's ID or email, as given
- `note_id` (number): The new note's ID

**Example output**

```json
{
  "lead": "345678",
  "note_id": 1686042
}
```

### Create saved search

Save a named search for a lead in one or more MLS regions. Set its price, beds and areas in Sierra Interactive.

**Inputs**

- Lead ID (`lead_id`, text, required): The lead's Sierra Interactive ID, from 'Find leads' or an earlier step.
- Name (`name`, text, required): The saved search's name.
- MLS regions (`mls_regions`, text, required): The abbreviations of the MLS regions to search, separated by commas, such as MIBOR.

**Outputs**

- `lead_id` (number): The lead's ID
- `name` (text): Its name
- `saved_search_id` (number): The new saved search's ID

**Example output**

```json
{
  "lead_id": 345678,
  "name": "Homes in Carmel",
  "saved_search_id": 218973
}
```

### Delete lead task

Delete a lead task.

**Inputs**

- Task ID (`task_id`, text, required): The task's ID, from 'Find lead tasks' or 'Add lead task'.

**Outputs**

- `deleted` (true/false): True once deleted
- `task` (object): The task
- `task_id` (number): The task deleted

**Example output**

```json
{
  "deleted": true,
  "task": {
    "byUserId": 2897,
    "contents": "Call back about the showing",
    "dateCreated": "2026-11-20T15:04:05.123Z",
    "dateUpdated": "2026-11-20T15:04:05.123Z",
    "dueOn": "2026-11-27T15:00:00.000Z",
    "id": 123456,
    "isFavorite": false,
    "leadId": 345678,
    "taskType": "PhoneCall",
    "toUserId": 2897
  },
  "task_id": 123456
}
```

### Delete saved search

Delete a saved search, which also stops its listing alerts.

**Inputs**

- Saved search ID (`saved_search_id`, text, required): The saved search's ID, from 'Find saved searches' or 'Create saved search'.

**Outputs**

- `deleted` (true/false): True once deleted
- `saved_search_id` (number): The saved search deleted

**Example output**

```json
{
  "deleted": true,
  "saved_search_id": 218973
}
```

### Find agents

Find agents by name, email, status or office, with their phones, office and team. Gets one page of up to 100.

**Inputs**

- Name (`name`, text): A full or partial first or last name.
- Email (`email`, text): A full or partial email address.
- Status (`status`, text): Only agents with this status. One of: `All`, `Active`, `OnHold` (On hold), `Delete` (Deleted).
- Office (`office_name`, text): A full or partial office name.
- Office type (`office_type`, text): Only agents of metro or franchise offices. Defaults to any. One of: `Ignore` (Any office (default)), `Metro`, `Franchise`.
- Sort by (`sort_by`, text): What to sort by. Defaults to the agent's name. One of: `AgentName` (Name (default)), `AgentStatus` (Status), `OfficeName` (Office), `TeamName` (Team).
- Order (`sort_order`, text): Ascending or descending. One of: `asc` (Ascending (default)), `desc` (Descending).
- Page size (`page_size`, number): How many to return, 1 to 100. Defaults to 100. From 1 to 100.
- Page (`page_number`, number): Which page to get, starting at 1. Defaults to the first. At least 1.

**Outputs**

- `agents` (list): The agents
- `count` (number): How many are on this page
- `page_size` (number): How many a page holds
- `total_pages` (number): How many pages there are
- `total_records` (number): How many match in all

**Example output**

```json
{
  "agents": [
    {
      "companyName": "Example Realty",
      "dateAdded": "2025-10-20T03:50:07.333",
      "directPhone": "(234) 567-8901",
      "email": "agent@example.com",
      "firstName": "Alex",
      "id": "1234",
      "lastName": "Agent",
      "mlsId": "123456",
      "office": {
        "name": "Downtown",
        "phone": "(123) 456-7890",
        "type": "Metro"
      },
      "officePhone": "(123) 456-7890",
      "photo": "https://www.example.com/photos/alex.jpg",
      "role": "TeamMember",
      "status": "Active",
      "team": {
        "name": "Team Alex",
        "role": "TeamMember"
      },
      "userId": 2897,
      "userName": "alex_agent",
      "website": "https://www.example.com/alex"
    }
  ],
  "count": 1,
  "page_size": 100,
  "total_pages": 1,
  "total_records": 1
}
```

### Find lead tags

List the tags your site uses on leads, with their categories, or find the ones whose name contains some text.

**Inputs**

- Name contains (`name`, text): Only tags whose name contains this text.
- Sort by (`sort_by`, text): What to sort by. Defaults to name. One of: `Name` (Name (default)), `CategoryName` (Category).
- Order (`sort_order`, text): Ascending or descending. One of: `asc` (Ascending (default)), `desc` (Descending).
- Page size (`page_size`, number): How many to return, 1 to 100. Defaults to 100. From 1 to 100.
- Page (`page_number`, number): Which page to get, starting at 1. Defaults to the first. At least 1.

**Outputs**

- `count` (number): How many are on this page
- `page_size` (number): How many a page holds
- `tags` (list): The tags
- `total_pages` (number): How many pages there are
- `total_records` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "page_size": 100,
  "tags": [
    {
      "category": {
        "description": "How close they are",
        "id": 1,
        "name": "Buying stage"
      },
      "description": "Ready to buy",
      "id": 6843,
      "name": "Hot"
    }
  ],
  "total_pages": 1,
  "total_records": 1
}
```

### Find lead tasks

Find lead tasks by lead, user, type or due time, ordered by due time. Gets one page of up to 100.

**Inputs**

- Lead (`lead`, text): Only this lead's tasks: its ID or email. Leave empty for every lead.
- Assigned to (`assigned_to_user_id`, text): Only tasks for this user.
- Created by (`created_by_user_id`, text): Only tasks this user created.
- Types (`task_types`, list): Only tasks of these types. One or more of: `Other` (Other (default)), `Email`, `PhoneCall` (Phone call), `TextMessage` (Text message), `OnSiteMessage` (On-site message).
- Due from (`due_from`, date and time): Only tasks due at or after this time.
- Due before (`due_before`, date and time): Only tasks due before this time.
- Order (`sort_order`, text): Soonest due first (ascending, the default) or latest first. One of: `asc` (Ascending (default)), `desc` (Descending).
- Page size (`page_size`, number): How many to return, 1 to 100. Defaults to 100. From 1 to 100.
- Page (`page_number`, number): Which page to get, starting at 1. Defaults to the first. At least 1.

**Outputs**

- `count` (number): How many are on this page
- `page_size` (number): How many a page holds
- `tasks` (list): The tasks
- `total_pages` (number): How many pages there are
- `total_records` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "page_size": 100,
  "tasks": [
    {
      "byUserId": 2897,
      "contents": "Call back about the showing",
      "dateCreated": "2026-11-20T15:04:05.123Z",
      "dateUpdated": "2026-11-20T15:04:05.123Z",
      "dueOn": "2026-11-27T15:00:00.000Z",
      "id": 123456,
      "isFavorite": false,
      "leadId": 345678,
      "taskType": "PhoneCall",
      "toUserId": 2897
    }
  ],
  "total_pages": 1,
  "total_records": 1
}
```

### Find leads

Find leads by name, email, phone, status, agent, tags, source or when they registered or changed. Gets one page of up to 100; to see more, run it again with the next page.

**Inputs**

- Name (`name`, text): First name, last name or both, such as John Doe.
- Email (`email`, text): A full or partial email address, such as server.com. Separate several with commas.
- Phone (`phone`, text): A phone number, such as +12345678901.
- Status (`lead_status`, text): Which statuses to include. Defaults to all active leads. One of: `AllActive` (All active: New, Qualify, Active, Prime and Pending (default)), `AllExceptDeleted` (Every status), `New`, `Qualify`, `Active`, `Prime`, `Pending`, `Closed`, `Archived`, `Junk`, and 3 more.
- Agent (`agent_email`, text): Only leads assigned to this agent.
- Has all of these tags (`tags`, list): Only leads with every one of these tags.
- Has any of these tags (`any_of_tags`, list): Only leads with at least one of these tags.
- Source (`lead_source`, text): Only leads from this source, such as Zillow.com.
- Registered on or after (`created_on_or_after`, date): Only leads that registered on or after this date.
- Changed since (`updated_since`, date and time): Only leads changed at or after this time.
- Notes changed since (`notes_updated_since`, date and time): Only leads with a note written or changed at or after this time (combined with Changed since, either one matches).
- Notes per lead (`notes_per_lead`, number): Include up to this many of each lead's notes, 1 to 100. Sierra includes 10 when Notes changed since is given. From 1 to 100.
- Include tags (`include_tags`, true/false): Include each lead's tags.
- Include saved searches (`include_saved_searches`, true/false): Include each lead's saved searches.
- Include action plans (`include_action_plans`, true/false): Include action plans in progress or paused.
- Sort by (`sort_by`, text): What to sort by. Defaults to the date registered. One of: `RegisteredDate` (Date registered (default)), `LeadName` (Name), `LeadStatus` (Status), `LastLogin` (Last sign-in), `NumberOfVisits` (Number of visits), `NumberOfPropertyViews` (Number of property views), `AveragePrice` (Average price viewed), `AgentName` (Agent's name).
- Order (`sort_order`, text): Ascending or descending. One of: `asc` (Ascending (default)), `desc` (Descending).
- Page size (`page_size`, number): How many to return, 1 to 100. Defaults to 100. From 1 to 100.
- Page (`page_number`, number): Which page to get, starting at 1. Defaults to the first. At least 1.

**Outputs**

- `count` (number): How many are on this page
- `leads` (list): The leads
- `page_size` (number): How many a page holds
- `total_pages` (number): How many pages there are
- `total_records` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "leads": [
    {
      "activeActionPlans": {},
      "assignedTo": {
        "agentSiteId": 123456,
        "agentUserEmail": "agent@example.com",
        "agentUserFirstName": "Alex",
        "agentUserId": 234567,
        "agentUserLastName": "Agent",
        "agentUserPhone": "(123) 456-7890"
      },
      "birthDate": "1990-01-21",
      "city": "Brownsburg",
      "creationDate": "2026-11-01T09:00:00",
      "ealertOptOut": false,
      "email": "jo@example.com",
      "emailStatus": "ValidAddress",
      "firstName": "Jo",
      "id": 345678,
      "lastName": "Bloggs",
      "leadStatus": "Active",
      "marketingEmailOptOut": false,
      "partnerLink": "https://partner.example.com/leads/123",
      "phone": "(123) 456-7890",
      "phoneStatus": "ValidNumber",
      "pondId": 14,
      "pondStatus": "Working",
      "referralFee": false,
      "savedSearchesModel": {},
      "searchPreference": {
        "city": "Brownsburg IN",
        "maxPrice": 450000,
        "minPrice": 300000
      },
      "shortSummary": "Just looking",
      "source": "Zillow.com",
      "state": "IN",
      "streetAddress": "N Grant St",
      "tags": [
        "Buyer",
        "Hot"
      ],
      "textOptOut": false,
      "updateDate": "2026-11-20T15:04:05.123Z",
      "visits": 3,
      "zip": "46112"
    }
  ],
  "page_size": 100,
  "total_pages": 1,
  "total_records": 1
}
```

### Find saved searches

List a lead's saved searches.

**Inputs**

- Lead ID (`lead_id`, text, required): The lead's Sierra Interactive ID, from 'Find leads' or an earlier step.

**Outputs**

- `count` (number): How many
- `saved_searches` (list): The saved searches
- `total_records` (number): How many the lead has

**Example output**

```json
{
  "count": 1,
  "saved_searches": [
    {
      "baths": 2,
      "beds": 3,
      "leadId": 345678,
      "location": {
        "city": "Louisville",
        "zipCode": ""
      },
      "mlsRegions": "GLAR",
      "price": {
        "max": 450000,
        "min": 300000
      },
      "propertyStatus": {
        "active": "On",
        "pending": "Off",
        "sold": "Off"
      },
      "propertyTypes": {
        "condo": "Off",
        "singleFamily": "On"
      },
      "searchId": 218973,
      "searchName": "3 beds in Louisville",
      "sendEmailAlert": "On"
    }
  ],
  "total_records": 1
}
```

### Find users

Find the people who use your Sierra site (agents, managers, lenders) by name or email. A user's ID is what assigns leads and tasks. Gets one page of up to 100.

**Inputs**

- Name (`name`, text): A first name, last name or both.
- Email (`email`, text): A full email address.
- Lead pond ID (`pond_id`, text): Only users in this lead pond.
- Sort by (`sort_by`, text): What to sort by. Defaults to name. One of: `Name` (Name (default)), `Id`, `Email`, `Created` (Date added).
- Order (`sort_order`, text): Ascending or descending. One of: `asc` (Ascending (default)), `desc` (Descending).
- Page size (`page_size`, number): How many to return, 1 to 100. Defaults to 100. From 1 to 100.
- Page (`page_number`, number): Which page to get, starting at 1. Defaults to the first. At least 1.

**Outputs**

- `count` (number): How many are on this page
- `page_size` (number): How many a page holds
- `total_pages` (number): How many pages there are
- `total_records` (number): How many match in all
- `users` (list): The users

**Example output**

```json
{
  "count": 1,
  "page_size": 100,
  "total_pages": 1,
  "total_records": 1,
  "users": [
    {
      "created": "2025-03-31T09:50:14Z",
      "email": "agent@example.com",
      "firstName": "Alex",
      "id": 2897,
      "lastName": "Agent",
      "name": "Alex Agent",
      "phone": "(123) 456-7890",
      "role": "Agent",
      "siteName": "example.com",
      "status": "Active"
    }
  ]
}
```

### Get lead

Get one lead by ID, email or phone number, with their status, agent, search preferences and, if asked, tags, saved searches and action plans.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID, email address or phone number.
- Include tags (`include_tags`, true/false): Include each lead's tags.
- Include saved searches (`include_saved_searches`, true/false): Include each lead's saved searches.
- Include action plans (`include_action_plans`, true/false): Include action plans in progress or paused.

**Outputs**

- `lead` (object): The lead

**Example output**

```json
{
  "lead": {
    "activeActionPlans": {},
    "assignedTo": {
      "agentSiteId": 123456,
      "agentUserEmail": "agent@example.com",
      "agentUserFirstName": "Alex",
      "agentUserId": 234567,
      "agentUserLastName": "Agent",
      "agentUserPhone": "(123) 456-7890"
    },
    "birthDate": "1990-01-21",
    "city": "Brownsburg",
    "creationDate": "2026-11-01T09:00:00",
    "ealertOptOut": false,
    "email": "jo@example.com",
    "emailStatus": "ValidAddress",
    "firstName": "Jo",
    "id": 345678,
    "lastName": "Bloggs",
    "leadStatus": "Active",
    "marketingEmailOptOut": false,
    "partnerLink": "https://partner.example.com/leads/123",
    "phone": "(123) 456-7890",
    "phoneStatus": "ValidNumber",
    "pondId": 14,
    "pondStatus": "Working",
    "referralFee": false,
    "savedSearchesModel": {},
    "searchPreference": {
      "city": "Brownsburg IN",
      "maxPrice": 450000,
      "minPrice": 300000
    },
    "shortSummary": "Just looking",
    "source": "Zillow.com",
    "state": "IN",
    "streetAddress": "N Grant St",
    "tags": [
      "Buyer",
      "Hot"
    ],
    "textOptOut": false,
    "updateDate": "2026-11-20T15:04:05.123Z",
    "visits": 3,
    "zip": "46112"
  }
}
```

### Get lead task

Get one lead task with its type, due time and who it is for.

**Inputs**

- Task ID (`task_id`, text, required): The task's ID, from 'Find lead tasks' or 'Add lead task'.

**Outputs**

- `task` (object): The task

**Example output**

```json
{
  "task": {
    "byUserId": 2897,
    "contents": "Call back about the showing",
    "dateCreated": "2026-11-20T15:04:05.123Z",
    "dateUpdated": "2026-11-20T15:04:05.123Z",
    "dueOn": "2026-11-27T15:00:00.000Z",
    "id": 123456,
    "isFavorite": false,
    "leadId": 345678,
    "taskType": "PhoneCall",
    "toUserId": 2897
  }
}
```

### Get listing price changes

Get a listing's price history: each change with the old and new price.

**Inputs**

- MLS number (`mls_number`, text, required): The listing's MLS number.
- MLS region (`mls_region`, text): The abbreviation of the MLS the listing is in, such as MIBOR or GLAR. Leave empty to let Sierra Interactive find it.

**Outputs**

- `count` (number): How many
- `mls_number` (text): The listing's MLS number
- `mls_region` (text): The MLS region, or None if found by Sierra
- `price_changes` (list): The price changes

**Example output**

```json
{
  "count": 1,
  "mls_number": "21280733",
  "mls_region": "MIBOR",
  "price_changes": [
    {
      "amountChange": -9800,
      "dateChanged": "03/06/2026",
      "newPrice": 334900,
      "oldPrice": 344700,
      "percentChange": "-2.8%"
    }
  ]
}
```

### Get saved search

Get a saved search with its regions, property types, price range, beds, baths and areas.

**Inputs**

- Saved search ID (`saved_search_id`, text, required): The saved search's ID, from 'Find saved searches' or 'Create saved search'.

**Outputs**

- `saved_search` (object): The saved search

**Example output**

```json
{
  "saved_search": {
    "baths": 2,
    "beds": 3,
    "leadId": 345678,
    "location": {
      "city": "Louisville",
      "zipCode": ""
    },
    "mlsRegions": "GLAR",
    "price": {
      "max": 450000,
      "min": 300000
    },
    "propertyStatus": {
      "active": "On",
      "pending": "Off",
      "sold": "Off"
    },
    "propertyTypes": {
      "condo": "Off",
      "singleFamily": "On"
    },
    "searchId": 218973,
    "searchName": "3 beds in Louisville",
    "sendEmailAlert": "On"
  }
}
```

### List lead notes

List a lead's notes, including the ones Sierra Interactive writes itself. Gets one page of up to 100.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.
- Order (`sort_order`, text): Oldest first (ascending, the default) or newest first. One of: `asc` (Ascending (default)), `desc` (Descending).
- Page size (`page_size`, number): How many to return, 1 to 100. Defaults to 100. From 1 to 100.
- Page (`page_number`, number): Which page to get, starting at 1. Defaults to the first. At least 1.

**Outputs**

- `count` (number): How many
- `lead` (text): The lead's ID or email, as given
- `notes` (list): The notes

**Example output**

```json
{
  "count": 1,
  "lead": "345678",
  "notes": [
    {
      "byUser": {
        "email": "agent@example.com",
        "firstName": "Alex",
        "id": 2897,
        "lastName": "Agent",
        "name": "Alex Agent"
      },
      "contents": "Called, wants a showing on Saturday.",
      "dateCreated": "2026-11-20T15:04:05.123",
      "id": 2301821,
      "isFavorite": false,
      "isSystemItem": false,
      "leadId": 345678
    }
  ]
}
```

### List saved listings

List the listings a lead has saved, by MLS number and region.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.

**Outputs**

- `count` (number): How many
- `lead` (text): The lead's ID or email, as given
- `listings` (list): The saved listings

**Example output**

```json
{
  "count": 1,
  "lead": "345678",
  "listings": [
    {
      "mlsNumber": "21280733",
      "mlsRegion": "MIBOR"
    }
  ]
}
```

### Record property view

Record that a lead looked at a listing, as if they had viewed it on your site.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.
- MLS number (`mls_number`, text, required): The listing's MLS number.
- MLS region (`mls_region`, text): The abbreviation of the MLS the listing is in, such as MIBOR or GLAR. Leave empty to let Sierra Interactive find it.
- Listing link (`partner_link`, text): A link to show for the listing instead of your site's page.

**Outputs**

- `added` (true/false): True once recorded
- `lead` (text): The lead's ID or email, as given
- `mls_number` (text): The listing's MLS number

**Example output**

```json
{
  "added": true,
  "lead": "345678",
  "mls_number": "21280733"
}
```

### Record site visit

Record that a lead visited a web page, such as a landing page outside your Sierra site.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.
- Page (`url`, text, required): The address of the page the lead visited.
- Visited at (`visited_at`, date and time): When the lead visited. Defaults to now.
- Came from (`referrer`, text): The address the lead came from.

**Outputs**

- `added` (true/false): True once recorded
- `lead` (text): The lead's ID or email, as given
- `visited_at` (text): When the visit happened (ISO 8601, UTC)

**Example output**

```json
{
  "added": true,
  "lead": "345678",
  "visited_at": "2026-11-20T15:04:05Z"
}
```

### Remove saved listing

Take a listing off a lead's saved listings.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.
- MLS number (`mls_number`, text, required): The listing's MLS number.
- MLS region (`mls_region`, text): The abbreviation of the MLS the listing is in, such as MIBOR or GLAR. Leave empty to let Sierra Interactive find it.

**Outputs**

- `lead` (text): The lead's ID or email, as given
- `mls_number` (text): The listing's MLS number
- `mls_region` (text): The MLS region, or None if found by Sierra
- `removed` (true/false): True once removed

**Example output**

```json
{
  "lead": "345678",
  "mls_number": "21280733",
  "mls_region": "MIBOR",
  "removed": true
}
```

### Reset lead password

Reset a lead's password on your site. Sierra Interactive emails the lead how to choose a new one.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.

**Outputs**

- `lead` (text): The lead's ID or email, as given
- `reset` (true/false): True once the reset email is on its way

**Example output**

```json
{
  "lead": "345678",
  "reset": true
}
```

### Save listing for lead

Save a listing to a lead's favorites, by its MLS number.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.
- MLS number (`mls_number`, text, required): The listing's MLS number.
- MLS region (`mls_region`, text): The abbreviation of the MLS the listing is in, such as MIBOR or GLAR. Leave empty to let Sierra Interactive find it.

**Outputs**

- `lead` (text): The lead's ID or email, as given
- `mls_number` (text): The listing's MLS number
- `mls_region` (text): The MLS region, empty if not given
- `saved` (true/false): True once saved

**Example output**

```json
{
  "lead": "345678",
  "mls_number": "21280733",
  "mls_region": "MIBOR",
  "saved": true
}
```

### Send more info request

Send a request for more information about a listing, for a lead or for someone new, whom Sierra Interactive then adds as a lead.

**Inputs**

- Lead ID (`lead_id`, text): The lead's Sierra Interactive ID. Leave empty and give a name, email and phone for someone new; Sierra adds them as a lead.
- Name (`name`, text): Full name, when no lead ID is given.
- Email (`email`, text): Email address, when no lead ID is given.
- Phone (`phone`, text): Phone number, when no lead ID is given.
- MLS number (`mls_number`, text, required): The listing's MLS number.
- MLS region (`mls_region`, text): The abbreviation of the MLS the listing is in, such as MIBOR or GLAR. Leave empty to let Sierra Interactive find it.
- Contact by (`contact_preference`, text): How the lead wants to be contacted. One of: `Any`, `Email`, `Phone`.
- Best time to contact (`preferred_contact_time`, text): When the lead prefers to be contacted. One of: `Any` (Any time), `Day`, `Evening`.
- Comments (`comments`, text): The lead's comments or questions.
- Send auto-reply (`send_auto_responder`, true/false): Send the lead the site's automatic reply for this kind of request, if one is set up. Off by default.
- Assign to agent (`assign_to_user_id`, text): For someone new: the agent to give the lead to. Leave empty to let the site's lead distribution choose.

**Outputs**

- `leadId` (number): The lead's ID (a new lead's, if one was added)
- `submitted` (true/false): True once Sierra has the request

**Example output**

```json
{
  "leadId": 345678,
  "submitted": true
}
```

### Send showing request

Ask to see a listing, with the preferred day and time, for a lead or for someone new, whom Sierra Interactive then adds as a lead.

**Inputs**

- Lead ID (`lead_id`, text): The lead's Sierra Interactive ID. Leave empty and give a name, email and phone for someone new; Sierra adds them as a lead.
- Name (`name`, text): Full name, when no lead ID is given.
- Email (`email`, text): Email address, when no lead ID is given.
- Phone (`phone`, text): Phone number, when no lead ID is given.
- MLS number (`mls_number`, text, required): The listing's MLS number.
- MLS region (`mls_region`, text): The abbreviation of the MLS the listing is in, such as MIBOR or GLAR. Leave empty to let Sierra Interactive find it.
- Contact by (`contact_preference`, text): How the lead wants to be contacted. One of: `Any`, `Email`, `Phone`.
- Best time to contact (`preferred_contact_time`, text): When the lead prefers to be contacted. One of: `Any` (Any time), `Day`, `Evening`.
- Preferred day (`preferred_appointment_day`, text): Which days suit the lead for the showing. One of: `Any` (Any day), `Weekday`, `Weekend`.
- Preferred time (`preferred_appointment_time`, text): Which time of day suits the lead for the showing. One of: `Any` (Any time), `Morning`, `Afternoon`, `Evening`.
- Comments (`comments`, text): The lead's comments or questions.
- Send auto-reply (`send_auto_responder`, true/false): Send the lead the site's automatic reply for this kind of request, if one is set up. Off by default.
- Assign to agent (`assign_to_user_id`, text): For someone new: the agent to give the lead to. Leave empty to let the site's lead distribution choose.

**Outputs**

- `leadId` (number): The lead's ID (a new lead's, if one was added)
- `submitted` (true/false): True once Sierra has the request

**Example output**

```json
{
  "leadId": 345678,
  "submitted": true
}
```

### Update lead

Change a lead's details, status, tags or agent. Only the fields given change.

**Inputs**

- Lead (`lead`, text, required): The lead's Sierra Interactive ID or email address, from 'Find leads' or an earlier step.
- Email (`email`, text): A new email address. Leave empty to keep it.
- First name (`first_name`, text): The lead's first name. Leave empty to keep it.
- Last name (`last_name`, text): The lead's last name. Leave empty to keep it.
- Phone (`phone`, text): The lead's phone number. Leave empty to keep it.
- Status (`lead_status`, text): The lead's status. Leave empty to keep it. One of: `New`, `Qualify`, `Active`, `Prime`, `Pending`, `Closed`, `Archived`, `Junk`, `DoNotContact` (Do not contact), `Watch`, `Blocked`.
- Lead type (`lead_type`, text): Buyer, seller or both. Leave empty to keep it. One of: `buyer`, `seller`, `both` (Buyer and seller).
- Email status (`email_status`, text): What is known about the email address. Leave empty to keep it. One of: `Unknown`, `ValidAddress` (Valid address), `TwoWayEmailing` (Two-way emailing), `WrongAddress` (Wrong address), `ReportedAsSpam` (Reported as spam), `OptedOut` (Opted out).
- Phone status (`phone_status`, text): What is known about the phone number. Leave empty to keep it. One of: `Unknown`, `ValidNumber` (Valid number), `TalkingToProspect` (Talking to prospect), `WrongNumber` (Wrong number), `DoNotCall` (Do not call).
- Source (`source`, text): Where the lead came from, such as Zillow.com. Leave empty to keep it.
- Source type (`source_type`, text): How the lead arrived. Leave empty to keep it. One of: `SierraApi` (Sierra API (default)), `Manual` (Added by hand), `IDX` (IDX site), `AgentSite` (Agent site), `AgentProfile` (Agent profile), `AgentListing` (Agent listing), `WorkingWithAgent` (Working with an agent), `QueryString` (Link with a query string).
- Birth date (`birth_date`, date): The lead's birth date. Leave empty to keep it.
- Street address (`street_address`, text): The lead's street address. Leave empty to keep it.
- City (`city`, text): The lead's city. Leave empty to keep it.
- State or province (`state`, text): The lead's US state or Canadian province. Leave empty to keep it. One of: `AL` (Alabama), `AK` (Alaska), `AZ` (Arizona), `AR` (Arkansas), `CA` (California), `CO` (Colorado), `CT` (Connecticut), `DE` (Delaware), `DC` (District of Columbia), `FL` (Florida), and 54 more.
- ZIP code (`zip_code`, text): The lead's ZIP or postal code. Leave empty to keep it.
- Summary (`short_summary`, text): A short summary of the lead, such as Just looking. Leave empty to keep it.
- Tags (`tags`, list): Tags to add to the lead. Pick from the site's tags or type new ones.
- Note (`note`, text): A note to add to the lead's history.
- Partner link (`partner_link`, text): A link to the lead in another system. Leave empty to keep it.
- Assign to agent (`assign_to_user_id`, text): The agent to give the lead to. Leave empty to let the site's lead distribution choose.
- Referral fee owed (`referral_fee`, true/false): Whether the agent owes the account owner a referral fee for this lead.
- Home anniversary (`home_anniversary_date`, date): When the lead bought their home. Leave empty to keep it.
- Tags to remove (`remove_tags`, list): Tags to take off the lead.

**Outputs**

- `agentSiteId` (number): The agent's site ID, or -1 if none
- `agentUserEmail` (text): The assigned agent's email, empty if none
- `agentUserFirstName` (text): The assigned agent's first name
- `agentUserId` (number): The assigned agent's user ID, or -1 if not assigned yet
- `agentUserLastName` (text): The assigned agent's last name
- `agentUserPhone` (text): The assigned agent's phone, empty if none
- `leadId` (number): The lead's Sierra Interactive ID
- `updateDate` (text): When the lead was saved (ISO 8601, UTC)

**Example output**

```json
{
  "agentSiteId": 123456,
  "agentUserEmail": "agent@example.com",
  "agentUserFirstName": "Alex",
  "agentUserId": 234567,
  "agentUserLastName": "Agent",
  "agentUserPhone": "(123) 456-7890",
  "leadId": 345678,
  "updateDate": "2026-11-20T15:04:05.123Z"
}
```

### Update lead task

Change a lead task's due time, type, description or who it is for. Only the fields given change.

**Inputs**

- Task ID (`task_id`, text, required): The task's ID, from 'Find lead tasks' or 'Add lead task'.
- Assign to (`assigned_to_user_id`, text): A new user to do the task. Leave empty to keep it.
- Due (`due_at`, date and time): A new due time. Leave empty to keep it.
- Type (`task_type`, text): What kind of task it is. Defaults to Other. One of: `Other` (Other (default)), `Email`, `PhoneCall` (Phone call), `TextMessage` (Text message), `OnSiteMessage` (On-site message).
- Description (`contents`, text): What to do. Required for a task of type Other.
- Favorite (`is_favorite`, true/false): Mark or unmark the task as a favorite.

**Outputs**

- `task` (object): The task

**Example output**

```json
{
  "task": {
    "byUserId": 2897,
    "contents": "Call back about the showing",
    "dateCreated": "2026-11-20T15:04:05.123Z",
    "dateUpdated": "2026-11-20T15:04:05.123Z",
    "dueOn": "2026-11-27T15:00:00.000Z",
    "id": 123456,
    "isFavorite": true,
    "leadId": 345678,
    "taskType": "PhoneCall",
    "toUserId": 2897
  }
}
```
