v1

latestOpenAPI 3.0.02026-07-26155147.1 KB
Contact Requests

Create a contact request

Creates a new lead in EasyBroker interested in the provided property.

post/contact_requests

Headers

Country-Code'MX' | 'CL' | 'DO' | 'AR' | 'CR' | 'PE' required
Example:MX

This header is mandatory and will be used to filter the resources

Request body

property_idstring required

Required. The EasyBroker property id related to the contact request

namestring

Optional. Requester's name.

emailstring

Required if phone is not present. Requester's email.

phonestring

Required if email is not present. Requester's phone number.

messagestring required

Required. Message of the contact request.

remote_idinteger required

Required. A unique numeric id of the contact request from your website

Example request

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

Response

A contact request was created

statusstring

Example response

{
  "status": "successful"
}