Create New Enquiry

HTTP Request

POSThttps://staging.api-gw.propdata.net/contacts/api/v1/lead-submission/

Example Response

{
"source": "string",
"source_ref": "string",
"branch_id": 0,
"source_description": "string",
"user_types": [],
"full_name": "string",
"email": "user@example.com",
"legal_basis": "string",
"message": "string",
"listing_model": "string",
"cell_number": "string",
"agent_id": 0,
"listing_type": "string",
"areas": [],
"suburbs": [],
"property_type": "string",
"property_types": [],
"price_from": "0.00",
"price_to": "0.00",
"size_from": "0.00",
"size_to": "0.00",
"floor_size_from": "0.00",
"floor_size_to": "0.00",
"erf_size_from": "0.00",
"erf_size_to": "0.00",
"bedrooms": "0.00",
"bathrooms": "0.00",
"garages": "0.00",
"carports": "0.00",
"asking_price": "string",
"property_address": "string",
"property_description": "string",
"listing_id": "string",
"zoning": "string",
"add_to_mailing_list": false,
"add_to_profiles": false,
"add_to_leads": false,
"consent_messages": false,
"consent_messages_subscribe_date": "2024-03-28T13:31:10.527Z",
"consent_messages_unsubscribe_date": "2024-03-28T13:31:10.527Z",
"consent_emails": false,
"consent_emails_subscribe_date": "2024-03-28T13:31:10.527Z",
"consent_emails_unsubscribe_date": "2024-03-28T13:31:10.527Z",
"consent_calls": false,
"consent_calls_subscribe_date": "2024-03-28T13:31:10.527Z",
"consent_calls_unsubscribe_date": "2024-03-28T13:31:10.527Z",
"consent_information": false,
"subscribe_date": "2024-03-28T13:31:10.527Z",
"unsubscribe_date": "2024-03-28T13:31:10.527Z",
"page_url": "string",
"hubspotutk": "string"
}

NameDescription

source

required

stringnon-empty

Source

source_ref

stringnon-empty

Source ref

branch_id

required

integer

Branch id

source_description

required

string

Source description

user_types

required

array of strings

Choices: [ 1,2,3...2147483648 ]

full_name

required

stringnon-empty

Full name

email

required

stringnon-empty

Email

legal_basis

nullable

stringnon-empty

Legal basis

message

string

Message

listing_model

string

Listing model

cell_number

nullable

string

Cell number

agent_id

nullable

integer

Agent id

listing_type

nullable

string

Listing type

areas

nullable

array of integers

Choices: [ 1,2,3...2147483648 ]

suburbs

nullable

array of integers

Choices: [ 1,2,3...2147483648 ]

property_type

nullable

string

Property type

property_types

nullable

array of strings

Choices: [ 1,2,3...2147483648 ]

price_from

nullable

string

Price from

price_to

nullable

string

Price to

size_from

nullable

string

Size from

size_to

nullable

string

Size to

floor_size_from

nullable

string

Floor size from

floor_size_to

nullable

string

Floor size to

erf_size_from

nullable

string

Erf size from

erf_size_to

nullable

string

Erf size to

bedrooms

nullable

string

Bedrooms

bathrooms

nullable

string

Bathrooms

garages

nullable

string

Garages

carports

nullable

string

Carports

asking_price

nullable

string

Asking price

property_address

nullable

string

Property address

property_description

nullable

string

Property description

listing_id

nullable

string

Listing id

zoning

string

Zoning

add_to_mailing_list

boolean

Add to mailing list

add_to_profiles

boolean

Add to profiles

add_to_leads

boolean

Add to leads

consent_messages

boolean

Consent messages

consent_messages_subscribe_date

string

Consent messages subscribe date

consent_messages_unsubscribe_date

string

Consent messages unsubscribe date

consent_emails

boolean

Consent emails

consent_emails_subscribe_date

string

Consent emails subscribe date

consent_emails_unsubscribe_date

string

Consent emails unsubscribe date

consent_calls

boolean

Consent calls

consent_calls_subscribe_date

string

Consent calls subscribe date

consent_calls_unsubscribe_date

string

Consent calls unsubscribe date

consent_information

boolean

Consent information

subscribe_date

string

Subscribe date

unsubscribe_date

string

Unsubscribe date

page_url

nullable

string

Page url

hubspotutk

nullable

string

Hubspotutk

Responses

201
400 Bad request body
403 You do not have permission to perform this action
500 Internal server error
503 This website is not active