Documentation

Complete technical documentation, API guides, and integration resources

Technical Documentation

API Examples

GETGet Property Details

Retrieve detailed information about a specific property

GET /api/v1/properties/{property_id}
Authorization: Bearer {your_api_token}
Content-Type: application/json

{
  "id": "prop_123456",
  "address": {
    "line1": "123 Victoria Street",
    "city": "Manchester",
    "postcode": "M1 2AB",
    "country": "GB"
  },
  "type": "flat",
  "bedrooms": 2,
  "bathrooms": 1,
  "epc_rating": "C",
  "monthly_rent": 1200.00,
  "currency": "GBP",
  "status": "let"
}

POSTCreate New Tenant

Add a new tenant to your property portfolio

POST /api/v1/tenants
Authorization: Bearer {your_api_token}
Content-Type: application/json

{
  "first_name": "John",
  "last_name": "Smith",
  "email": "john.smith@email.com",
  "phone": "+44 7700 900123",
  "property_id": "prop_123456",
  "lease_start_date": "2024-01-01",
  "monthly_rent": 1200.00,
  "deposit_amount": 1400.00
}

PUTUpdate Maintenance Request

Update the status of a maintenance request

PUT /api/v1/maintenance/{request_id}
Authorization: Bearer {your_api_token}
Content-Type: application/json

{
  "status": "completed",
  "contractor_id": "contractor_789",
  "completion_date": "2024-01-15",
  "cost": 150.00,
  "notes": "Replaced faulty boiler thermostat"
}

SDK Libraries

JavaScript/Node.js

Official JavaScript SDK

npm install @redbrick/sdk

const RedBrick = require('@redbrick/sdk');
const client = new RedBrick({
  apiKey: 'your_api_key'
});

// Get all properties
const properties = await client.properties.list();

// Create a new tenant
const tenant = await client.tenants.create({
  name: 'John Smith',
  email: 'john@example.com'
});

Python

Official Python SDK

pip install redbrick-sdk

from redbrick import RedBrickClient

client = RedBrickClient(api_key='your_api_key')

# Get all properties
properties = client.properties.list()

# Create a new maintenance request
request = client.maintenance.create({
    'property_id': 'prop_123',
    'description': 'Leaky faucet',
    'priority': 'medium'
})

Developer Support

📧 Developer Support

Get technical help from our developer team

Contact Developers

💬 Developer Community

Join our developer Slack community

Join Slack

🎯 API Status

Check real-time API status and uptime

View Status