curl --location --request POST 'https://api.travtus.com/communities/' \ --header 'Authorization: bearer <token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "Skyline Apartments", "community_external_ref": "SKY-APT-001", "description": "Modern apartment complex with panoramic city views", "timezone": "US/Eastern", "email_address": "contact@skylineapts.com", "phone_number": "555-123-4567", "property_type": "residential", "status": "active", "website_address": "https://skylineapartments.com", "latitude": 40.7128, "longitude": -74.0060 }'
{ "request_id": "7f5ce31c-39a1-42df-9182-4858b7d94c3d" }
This endpoint creates a new community (property or building portfolio).
{ "name": [ "This field is required." ], "timezone": [ "This field is required." ] }
{ "email_address": [ "Enter a valid email address." ] }
{ "error": { "type": "invalid_authorization", "message": "The bearer token you have provided in the 'Authorization' header is invalid." } }
{ "error": { "message": "An error occurred while creating the community." } }