Contact Requests

Create a contact request

Changed on

Creates or updates a new lead in EasyBroker that is interested in the provided property.

post/contact_requests

Request

  • Base URL
    https://api.easybroker.com/v1
  • URL
    https://api.easybroker.com/v1/contact_requests
  • Auth
    API key in header X-Authorization

Request body

namestring

Required if the request does not provide a property_id

phonestring

Required if the request does not provide neither a property id nor an email

emailstring

Required if the request does not provide neither a property id nor a phone number

property_idstring

If the request provides this parameter, it should also provide a name, email or phone number

messagestring

Required if the request does not provide a property_id

sourcestring required

Example request

{
  "name": "John Smith",
  "phone": "5559090909",
  "email": "mail@example.com",
  "property_id": "EB-XXXX01",
  "message": "I'm interested in this property. Please contact me.",
  "source": "mydomain.com"
}

Response

A contact request was created

statusstring

Example response

{
  "status": "successful"
}

Changes

    • breaking

      added the new required request property

    • warning

      deleted the header request parameter Country-Code

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status