Leads API
This API allows you to create new leads for a property.
- URL:
/api/leads/ - Method:
POST - Auth required: No
Create Lead
- Method:
POST - URL:
/api/leads/
Request body:
{
"property": 1,
"phone": "1234567890",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"message": "I am interested in this property."
}
Success response:
- Code:
201 CREATED - Content: The created lead object.