Companies API
Signup
Creates a new user and a seller company.
- URL:
/api/companies/signup/ - Method:
POST - Auth required: No
Request body:
{
"email": "user@example.com",
"password": "yourpassword",
"company_name": "My Real Estate Co",
"contact_person": "John Doe",
"phone": "1234567890",
"city": "New York"
}
Success response:
- Code:
201 CREATED - Content: The created user object.