1. Home
  2. Integrations & API
  3. Webhook Data Reference

Webhook Data Reference

Understanding the data structure sent by Buying Buddy webhooks is crucial for proper configuration. Here's the complete reference based on actual webhook payloads:

Standard Webhook Payload Structure

Buying Buddy webhooks send data with an event wrapper containing event, timestamp, and a data object. The data object always contains a lead sub-array and, depending on the webhook event type, others: property, request and form (request and form events), search (saved searches), user (assignment and offer events) or reply (replies to an agent's email). Each payload is a single JSON object. Here's an example of the actual payload structure for a lead.request_contact event:

{
  "event": "lead.request_contact",
  "timestamp": "2025-07-26 22:05:51",
  "data": {
    "lead": {
      "lead_id": "1095307",
      "client_lead_id": "abc123",
      "mortgagestatus_id": "0",
      "buyerstatus_id": "0",
      "leadtype_id": "9",
      "leadtype_nm": "Prospect",
      "lead_score": "72",
      "lead_temperature": "warm",
      "previous_temperature": "cold",
      "score_last_calculated": "2025-07-26 21:45:00",
      "temperature_changed_at": "2025-07-20 10:30:00",
      "rating": "3",
      "status_id": "0",
      "leadsource_id": "1",
      "leadsource_nm": "IDX Registration",
      "leadsource_url": "https://www.youridxsite.com",
      "mbbsource": "Google",
      "lead_interest": "Buyer",
      "user_id": "0",
      "account_id": "1",
      "company_nm": "",
      "job_title": "",
      "first_nm": "Bob",
      "last_nm": "Builder",
      "email_txt": "bob@builder.com",
      "mail_valid": "ok",
      "photo": null,
      "linkedin_url": "",
      "twitter_handle": "",
      "number": "3031231234",
      "extension": "",
      "phone_type": "other",
      "mobile": "3031231234",
      "address_txt": "",
      "address2_txt": "",
      "city_nm": "",
      "state_id": "",
      "zip_cd": "",
      "notes_txt": "",
      "assignment_id": "2",
      "mls_idx_id": "0",
      "create_dt": "2025-03-16 16:03:47",
      "register_dt": "2025-03-16 16:03:47",
      "last_lead_action_dt": "2025-07-26 22:05:51",
      "num_hours": "3240",
      "login_no": "3",
      "login_dt": "2025-07-26 22:05:51",
      "optout_campaigns": "0",
      "optout_searchalerts": "0",
      "optout_propalerts": "0",
      "optout_global": "0",
      "optout_sms": "1",
      "optout_sms_dt": null,
      "agreement_flg": "0",
      "influencer": null,
      "website_url": null,
      "niche_focus": null,
      "buyer_forecast_amount": "0",
      "buyer_closing_dt": null,
      "buyer_sales_step": "New Lead",
      "seller_forecast_amount": "0",
      "seller_closing_dt": null,
      "seller_sales_step": null,
      "lead_url": "https://www.leadsandcontacts.com/lead-dashboard/home/id/1095307"
    },
    "request": {
      "type": null,
      "message": null,
      "subject": null,
      "contact_preference": null,
      "page_url": null,
      "interest_id": null
    },
    "property": {
      "property_id": "demo_G5091121",
      "property_uid": "MFR744503914",
      "listing_status": "active",
      "mls_status": "Active",
      "mls_id": "demo",
      "listing_num": "G5091121",
      "address_num": "2801",
      "street_name": "Eppinger",
      "street_type": "Boulevard",
      "city": "Thornton",
      "state": "CO",
      "zip_code": "80229",
      "price": "172500",
      "orig_price": "179000",
      "bedrooms_total": "2",
      "baths_total": "2.00",
      "sqft_total": "1144",
      "finished_sqft_total": "1144",
      "property_type": "Residential",
      "property_subtype": "Manufactured Home",
      "days_on_market": "117",
      "lat": "39.86667915",
      "lon": "-104.95291054",
      "photo_count": "2",
      "prop_img": "/listing/photos/demo/G5091121-1.jpeg",
      "listing_dt": "2025-01-08",
      "price_change_dt": "2025-04-30",
      "public_remarks": "I am a dream come true! Pack your bags and get ready to move! I have been owned by one family, that is correct one family and they have meticulously taken care of me...",
      "ListAgentFullName": "Lisa Skutt",
      "office_name": "DOWN HOME REALTY,  LLLP",
      "AssociationFee": "361.42",
      "AssociationFeeFrequency": "Monthly",
      "CommunityFeatures": "Buyer Approval Required, Clubhouse, Dog Park, Fitness Center, Gated Community - Guard, Golf Carts OK, Golf, Pool, Restaurant, Tennis Court(s)",
      "YearBuilt": "1985",
      "street": "2801 Eppinger Boulevard",
      "city_nm": "Thornton",
      "address": "2801 Eppinger Boulevard Thornton, CO 80229",
      "property_url": "https://www.youridxsite.com/property-details/demo_G5091121--2801-Eppinger-Boulevard-Thornton-CO-80229"
    },
    "form": {}
  }
}

Supported Webhook Event Types

The event field indicates what triggered the webhook. Currently implemented event types include:

Lead Activity Events

Events triggered by lead actions and interactions

  • lead.created: When a new lead registers or is imported into the system
    • Payload includes: Lead array only
    • lead.login: When a lead logs into their account
      • Payload includes: Lead array with login details
      • lead.listing_viewed_3: When a lead views the same property 3 times
        • Payload includes: Lead, Property arrays
        • lead.saved_listing: When a lead saves or favorites a property
          • Payload includes: Lead, Property arrays
          • lead.saved_search: When a lead saves search criteria
            • Payload includes: Lead and Search arrays - the search's name, alert frequency, end date and criteria (see the example below)
            • lead.send_friend: When a lead shares a property with someone
              • Payload includes: Lead, Property arrays
              Lead Request Events

              Events for various types of lead requests and inquiries

              • lead.request_info: When a lead requests additional property information
                • Payload includes: Lead, Request, Property, Form arrays
                • lead.schedule_showing: When a lead requests a property showing
                  • Payload includes: Lead, Request, Property, Form arrays (anything the lead entered on the form, such as a preferred time, is in the Form array)
                  • lead.request_contact: When a lead wants to speak with an agent
                    • Payload includes: Lead, Request, Property, Form arrays
                    • lead.form_submitted: When a lead submits any form on the site
                      • Payload includes: Lead, Request, Property, Form arrays - the Form array holds every field the lead submitted
                      Communication & Assignment Events

                      Events related to email communications and lead management

                      • lead.replied_email: When a lead replies to a newsletter or other bulk email. Replies to an agent's own emails send lead.replied_agent_email instead.
                        • Payload includes: Lead array only
                        • lead.replied_agent_email: When a lead replies to an email their agent sent them
                          • Payload includes: Lead, Reply arrays - reply.message is the text of the lead's reply, without the quoted earlier messages
                          • lead.optout: When a lead unsubscribes from all email themselves - by clicking the unsubscribe link in an email, or by marking an email as spam. Turning off individual email types on the email preferences page, SMS opt-outs, and opt-outs set by an agent or through the API do not send this event.
                            • Payload includes: Lead array only - optout_global is always 1, and optout_global_dt holds the date of the unsubscribe
                            • lead.lead_assigned: When a lead is reassigned between agents
                              • Payload includes: Lead, User arrays
                              • lead.offered: When Round Robin Offer and Accept offers a lead to an agent, and again each time it is offered to the next agent. When an agent accepts, lead.lead_assigned is sent.
                                • Payload includes: Lead, User arrays (the user is the agent the lead was offered to)
                                • lead.task_assigned: When a task is assigned to an agent
                                  • Payload includes: Lead, User arrays (task details are not included)

                                  When Each Event Is Sent

                                  Each event is sent only when its conditions are met. Knowing these rules saves time when you build and test your automation. The same rules apply to the matching email and SMS notifications.

                                  Rules that apply to several events

                                  • Events go to the agent's own integration. An event is delivered through the integration of the agent who receives the notification - normally the lead's assigned agent, or the user a lead or task is assigned to.
                                  • A brand-new visitor's form can arrive as New Lead. When someone who is not yet a lead submits a form, the event can be sent as lead.created instead of the form's own event.
                                  • Leads waiting to be accepted. While a lead is offered to an agent and not yet accepted, its request and form events are not sent.
                                  • Listing agent forwarding. If your account forwards property inquiries to the listing agent, showing, more information and Ask a Question requests go to the listing agent and do not send their events.
                                  • Send Test is a sample. Send Test posts a sample payload for the event type. It does not perform the action or confirm the real event will fire. See How to Test Each Webhook Event.

                                  Event by event

                                  EventSent whenLimits and conditions
                                  lead.created
                                  New Lead
                                  A new lead registers on your website or is added.Leads assigned at registration by round robin or territory are sent to your CRM as New Lead. Leads sent in through the API also send New Lead.
                                  lead.login
                                  Lead Login
                                  A lead signs in with email and password, or Google or Facebook.Only sent when Buying Buddy has seen no visit from that browser session or that lead in the previous 2 hours. Signing out and back in within 2 hours does not send it again. Opening the site from a link in a Buying Buddy email does not count as a login.
                                  lead.form_submitted
                                  Lead submits CTA form
                                  A lead submits a Buying Buddy lead capture form or a custom form connected to Buying Buddy.Processed shortly after submission. One submission sends one event - never a showing or contact request event, even for a showing form.
                                  lead.saved_search
                                  Lead saves search
                                  A lead saves a search.-
                                  lead.saved_listing
                                  Lead saves property
                                  A lead saves (favorites) a property.-
                                  lead.send_friend
                                  Lead sends property to friend
                                  A lead emails a property to a friend.-
                                  lead.schedule_showing
                                  Lead requests showing
                                  A lead submits Schedule a Showing on a property.See listing agent forwarding and leads waiting to be accepted, above.
                                  lead.request_info
                                  Lead requests more information
                                  A lead submits Request More Info on a property.See listing agent forwarding and leads waiting to be accepted, above.
                                  lead.request_contact
                                  Lead requests contact
                                  A lead submits Ask a Question, on a property or on its own.See listing agent forwarding and leads waiting to be accepted, above. Contact forms built as lead capture forms send lead.form_submitted instead.
                                  lead.listing_viewed_3
                                  Lead views same property 3 times
                                  A signed-in lead opens the same property details page for the third time.Counts views by an identified lead only.
                                  lead.optout
                                  Lead opts out of emails
                                  A lead unsubscribes from all email using the unsubscribe link, or marks a Buying Buddy email as spam.A global unsubscribe only. Changing individual email types, SMS opt-outs, and opt-outs made by an agent or through the API do not send it. Your CRM is sent every full unsubscribe, even when this trigger is switched off.
                                  lead.lead_assigned
                                  Lead has been assigned to you
                                  A lead is assigned to an agent.Sent through the integration of the agent who receives the lead. Leads assigned at registration by round robin or territory reach your CRM as New Lead.
                                  lead.task_assigned
                                  Task has been assigned to you
                                  A user assigns a task on a lead to another user.Not sent when you assign a task to yourself. Sent through the assignee's integration. Includes the lead and the user, not the task's title, description or due date. Keep the email notification for this event switched on as well.
                                  lead.offered
                                  New lead is offered to you
                                  A new lead is offered to an agent in an Offer-and-Accept round robin.Sent through the integration of the agent the lead is offered to.
                                  lead.replied_agent_email
                                  Lead replies to email
                                  A lead replies to an email sent to them individually from Buying Buddy.Includes the text of the reply.
                                  lead.replied_email
                                  Lead replies to newsletter
                                  A lead replies to a newsletter or bulk email.Includes the lead only, not the reply text.

                                  Note: Additional event types will be added in future updates. The payload structure for each event may vary based on the type of action and available data.

                                  Webhook Sub-Arrays

                                  Depending on the webhook event type, the data object will contain different combinations of these sub-arrays:

                                  • lead: Information about the lead who triggered the event (always present)
                                  • property: Property details when the event relates to a specific listing
                                  • request: Details about the specific request, form submission, or action
                                  • user: Information about the agent/user associated with the event
                                  • form: Every field the lead submitted on the form, as sent (field names depend on the form). Present on request and form events, and empty ({}) when there are no form fields
                                  • search: The saved search, on lead.saved_search events. Its criteria are a flat list of the search fields the lead used - the field names vary by MLS and search, and multiple values are comma-separated
                                  • reply: The lead's reply, on lead.replied_agent_email events. Its one field, message, is the plain text the lead wrote

                                  Example search array from a lead.saved_search event:

                                  {
                                    "search": {
                                      "lead_search_id": "3308550",
                                      "search_nm": "Thornton 3bd",
                                      "search_notes": null,
                                      "frequency": "daily",
                                      "end_dt": "2027-05-12",
                                      "saved": "1",
                                      "create_dt": "2026-11-12 18:05:00",
                                      "criteria": {
                                        "mls_id": "demo",
                                        "listing_status": "active",
                                        "price_min": "300000",
                                        "price_max": "500000",
                                        "city": "Thornton,Denver",
                                        "property_type": "Residential"
                                      }
                                    }
                                  }

                                  Field Reference Guide

                                  Lead Array Fields

                                  The lead array contains comprehensive information about the person who triggered the webhook:

                                  • lead_id: Unique identifier for this lead in Buying Buddy
                                  • account_id: Your Buying Buddy account ID
                                  • first_nm, last_nm: Lead's first and last name
                                  • email_txt: Lead's email address
                                  • number: Lead's primary phone number
                                  • phone_type: Type of phone number (business, mobile, other)
                                  • company_nm: Lead's company name (if provided)
                                  • job_title: Lead's job title (if provided)
                                  • address_txt, address2_txt, city_nm, state_id, zip_cd: Lead's contact address
                                  • create_dt: When this lead was first created (YYYY-MM-DD HH:MM:SS format)
                                  • register_dt: When this lead registered on your website
                                  • rating: Lead rating/score (1-5 scale)
                                  • status_id: Lead status ID in your CRM
                                  • assignment_id: ID of the agent assigned to this lead
                                  • leadsource_id: ID indicating how this lead was acquired
                                  • optout_campaigns, optout_searchalerts, optout_propalerts, optout_global: Email preference flags (0=subscribed, 1=opted out), each with a matching _dt field holding the date it last changed
                                  • optout_sms, optout_sms_dt: SMS consent. This flag reads the opposite way to consent: 0 means the lead ticked the SMS consent box, 1 means they did not, or opted out. (agreement_flg is unrelated - 1 means the lead has signed an agent agreement.)
                                  • mortgagestatus_id, buyerstatus_id, leadtype_id: Classification IDs for lead categorization

                                  Property Array Fields

                                  The property array contains comprehensive details about the property related to the webhook event:

                                  Basic Property Information
                                  • property_id: Unique property identifier
                                  • property_uid: MLS unique identifier
                                  • listing_num: MLS listing number
                                  • address_num, street_name, street_type: Street address components
                                  • city, state, zip_code: Property location details
                                  • property_type: Type of property (Residential, Commercial, etc.)
                                  • property_subtype: Specific property subtype (Single Family Residence, Manufactured Home, etc.)
                                  Pricing and Market Data
                                  • price: Current listing price
                                  • orig_price: Original listing price
                                  • listing_status: Current listing status (active, pending, sold)
                                  • mls_status: MLS status designation
                                  • days_on_market: Number of days property has been listed
                                  • listing_dt: Date property was listed (YYYY-MM-DD format)
                                  • price_change_dt: Date of last price change
                                  Property Features
                                  • bedrooms_total: Number of bedrooms
                                  • baths_total: Number of bathrooms (includes partial baths)
                                  • sqft_total: Total square footage
                                  • finished_sqft_total: Finished/livable square footage
                                  • YearBuilt: Year the property was built
                                  • public_remarks: Property description from MLS
                                  Community and HOA Information
                                  • AssociationFee: Monthly HOA or association fee
                                  • AssociationFeeFrequency: How often the fee is charged (Monthly, Quarterly, etc.)
                                  • CommunityFeatures: Amenities and features available in the community
                                  Photos and Location
                                  • lat, lon: Property latitude and longitude coordinates
                                  • photo_count: Number of photos available
                                  • prop_img: URL path to the main property image
                                  Agent and Office Information
                                  • ListAgentFullName: Name of the listing agent
                                  • office_name: Name of the listing office

                                  Request Array Fields

                                  The request array contains details about the specific action that triggered the webhook:

                                  • type: Type of request made by the lead
                                  • message: Any message or inquiry text provided by the lead
                                  • subject: Subject line of the request
                                  • contact_preference: How the lead prefers to be contacted
                                  • page_url: URL of the page where the action occurred
                                  • interest_id: What this submission is about: 1 = Buyer, 2 = Seller (null when the form does not say)

                                  User Array Fields

                                  The user array contains information about the agent/user associated with the webhook event:

                                  • user_id: Unique identifier for the user in Buying Buddy
                                  • account_id: Account ID the user belongs to
                                  • agent_id: MLS agent ID
                                  • first_nm, last_nm: Agent's first and last name
                                  • email: Agent's email address
                                  • phone: Agent's business phone number
                                  • mobile_no: Agent's mobile phone number
                                  • title_txt: Agent's professional title (REALTOR, etc.)
                                  • accreditation: Professional certifications (CRS, GRI, etc.)
                                  • company_nm: Agent's company name
                                  • website_url: Agent's website URL
                                  • license_no: Real estate license number
                                  • office_id: Office identifier
                                  • address, address2, city, state, zip: Agent's office address

                                  Working with Webhook Data

                                  When processing webhook data, keep these important points in mind:

                                  • Single Object: Each webhook payload is one JSON object for one event. It is not wrapped in an array.
                                  • Null Values: Many fields may contain null values, especially in the request array. Always check for null before processing.
                                  • Data Types: Numeric fields like prices and square footage are often sent as strings. Convert to numbers as needed.
                                  • Date Formats: Dates use different formats - some are "YYYY-MM-DD HH:MM:SS" while others are "YYYY-MM-DD". Times are UTC, with no time zone suffix. The timestamp field is the time the event happened, and it stays the same if a delivery is retried.
                                  • Boolean Flags: Opt-out preferences and status flags use "0" for false and "1" for true.
                                  • Event-Specific Arrays: Apart from lead, the sub-arrays (property, request, form, search, user, reply) are not present in every webhook. The combination depends on the event type.

                                  Testing Your Webhook

                                  To test your webhook integration:

                                  1. Navigate to MenuSettings > Integrations in your Buying Buddy dashboard and click "Get started" on the card for your platform
                                  2. For each event you want to receive, choose its trigger from the "Add a trigger..." list, paste your webhook URL, and click "Add"
                                  3. Click the Send Test button (the paper plane) on a trigger's row to send a sample lead to your endpoint
                                  4. Verify your system correctly processes the payload structure and all the fields shown in the examples above
                                  5. Test with different event types to see how the sub-arrays change

                                  For additional support with webhook configuration, contact our support team through your Buying Buddy dashboard.

                                  Updated on November 20, 2026
                                  Was this article helpful?

                                  Related Articles

                                  Buying Buddy Support