Customer Appointments API
Base URL: http://localhost:8000/api/v1
Prefix: /customers
Auth: Customer JWT required
Headers: Content-Type: application/json
1. List Customer Appointments
List appointments owned by the authenticated customer.
/customers/appointments/Auth: Required
Headers
Authorization: Bearer {{access_token}}Success Example
{
"success": true,
"message": "Appointments retrieved successfully.",
"data": {
"appointments": {
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "8d2f6019-2330-4561-b86b-91a24bca1282",
"property": {
"id": "6c504034-9134-4a8f-93b3-19d5a9d11b22",
"title": "Modern Apartment in Downtown",
"slug": "modern-apartment-in-downtown",
"city": "Austin",
"area_name": "Downtown",
"address": "110 Example Lane, Austin, TX 78701"
},
"seller": {
"id": "ea9778c1-77c8-47e9-873e-9b74f2a58cf0",
"full_name": "Property Seller",
"email": "seller@example.com",
"phone": "+15125550107"
},
"agent": null,
"scheduled_at": "2026-08-08T10:00:00Z",
"type": "property_tour",
"meeting_type": "in_person",
"status": "requested",
"notes": "I want to visit with my family.",
"cancel_reason": "",
"created_at": "2026-08-04T08:00:00Z",
"updated_at": "2026-08-04T08:00:00Z"
}
]
}
}
}2. View Appointment Details
View details for one appointment owned by the authenticated customer.
/customers/appointments/{appointment_id}/Auth: Required
Headers
Authorization: Bearer {{access_token}}Success Example
{
"success": true,
"message": "Appointment details retrieved successfully.",
"data": {
"appointment": {
"id": "8d2f6019-2330-4561-b86b-91a24bca1282",
"property": {
"id": "6c504034-9134-4a8f-93b3-19d5a9d11b22",
"title": "Modern Apartment in Downtown",
"slug": "modern-apartment-in-downtown",
"city": "Austin",
"area_name": "Downtown",
"address": "110 Example Lane, Austin, TX 78701"
},
"seller": {
"id": "ea9778c1-77c8-47e9-873e-9b74f2a58cf0",
"full_name": "Property Seller",
"email": "seller@example.com",
"phone": "+15125550107"
},
"agent": null,
"scheduled_at": "2026-08-08T10:00:00Z",
"type": "property_tour",
"meeting_type": "in_person",
"status": "requested",
"notes": "I want to visit with my family.",
"cancel_reason": "",
"created_at": "2026-08-04T08:00:00Z",
"updated_at": "2026-08-04T08:00:00Z"
}
}
}3. Request Property Appointment
Request an appointment for an available buy or rent property.
/customers/properties/{property_id}/appointments/Auth: Required
Headers
Authorization: Bearer {{access_token}}Request Body
{
"scheduled_at": "2026-08-08T10:00:00Z",
"type": "property_tour",
"meeting_type": "in_person",
"notes": "I want to visit with my family."
}Success Example
{
"success": true,
"message": "Appointment requested successfully.",
"data": {
"appointment": {
"id": "8d2f6019-2330-4561-b86b-91a24bca1282",
"property": {
"id": "6c504034-9134-4a8f-93b3-19d5a9d11b22",
"title": "Modern Apartment in Downtown",
"slug": "modern-apartment-in-downtown",
"city": "Austin",
"area_name": "Downtown",
"address": "110 Example Lane, Austin, TX 78701"
},
"seller": {
"id": "ea9778c1-77c8-47e9-873e-9b74f2a58cf0",
"full_name": "Property Seller",
"email": "seller@example.com",
"phone": "+15125550107"
},
"agent": null,
"scheduled_at": "2026-08-08T10:00:00Z",
"type": "property_tour",
"meeting_type": "in_person",
"status": "requested",
"notes": "I want to visit with my family.",
"cancel_reason": "",
"created_at": "2026-08-04T08:00:00Z",
"updated_at": "2026-08-04T08:00:00Z"
}
}
}Notes
-
typemust be one ofproperty_tour,inspection,document_review, ornegotiation. -
meeting_typemust be one ofin_personorvideo_call. -
scheduled_atmust be in the future. -
The property must be available and must have purpose
buyorrent. -
The appointment is created with status
requested.
4. Request Appointment Rescheduling
Request a new date and time for an appointment owned by the authenticated customer.
/customers/appointments/{appointment_id}/reschedule/Auth: Required
Headers
Authorization: Bearer {{access_token}}Request Body
{
"scheduled_at": "2026-08-09T14:00:00Z",
"notes": "Please move this appointment to the afternoon."
}Success Example
{
"success": true,
"message": "Appointment reschedule requested successfully.",
"data": {
"appointment": {
"id": "8d2f6019-2330-4561-b86b-91a24bca1282",
"property": {
"id": "6c504034-9134-4a8f-93b3-19d5a9d11b22",
"title": "Modern Apartment in Downtown",
"slug": "modern-apartment-in-downtown",
"city": "Austin",
"area_name": "Downtown",
"address": "110 Example Lane, Austin, TX 78701"
},
"seller": {
"id": "ea9778c1-77c8-47e9-873e-9b74f2a58cf0",
"full_name": "Property Seller",
"email": "seller@example.com",
"phone": "+15125550107"
},
"agent": null,
"scheduled_at": "2026-08-09T14:00:00Z",
"type": "property_tour",
"meeting_type": "in_person",
"status": "rescheduled",
"notes": "Please move this appointment to the afternoon.",
"cancel_reason": "",
"created_at": "2026-08-04T08:00:00Z",
"updated_at": "2026-08-04T08:30:00Z"
}
}
}Notes
-
Completed, canceled, and no-show appointments cannot be rescheduled.
-
scheduled_atmust be in the future.
5. Cancel Appointment
Cancel an appointment owned by the authenticated customer.
/customers/appointments/{appointment_id}/cancel/Auth: Required
Headers
Authorization: Bearer {{access_token}}Request Body
{
"cancel_reason": "Schedule changed."
}Success Example
{
"success": true,
"message": "Appointment canceled successfully.",
"data": {
"appointment": {
"id": "8d2f6019-2330-4561-b86b-91a24bca1282",
"property": {
"id": "6c504034-9134-4a8f-93b3-19d5a9d11b22",
"title": "Modern Apartment in Downtown",
"slug": "modern-apartment-in-downtown",
"city": "Austin",
"area_name": "Downtown",
"address": "110 Example Lane, Austin, TX 78701"
},
"seller": {
"id": "ea9778c1-77c8-47e9-873e-9b74f2a58cf0",
"full_name": "Property Seller",
"email": "seller@example.com",
"phone": "+15125550107"
},
"agent": null,
"scheduled_at": "2026-08-08T10:00:00Z",
"type": "property_tour",
"meeting_type": "in_person",
"status": "canceled",
"notes": "I want to visit with my family.",
"cancel_reason": "Schedule changed.",
"created_at": "2026-08-04T08:00:00Z",
"updated_at": "2026-08-04T08:30:00Z"
}
}
}Notes
- Completed, canceled, and no-show appointments cannot be canceled.
6. View Available Appointment Slots
View generated available appointment slots for an available buy or rent property.
/customers/properties/{property_id}/appointment-slots/Auth: Required
Headers
Authorization: Bearer {{access_token}}Success Example
{
"success": true,
"message": "Appointment slots retrieved successfully.",
"data": {
"slots": [
{
"date": "2026-08-08",
"times": [
{
"time": "09:00",
"scheduled_at": "2026-08-08T09:00:00+00:00"
},
{
"time": "10:00",
"scheduled_at": "2026-08-08T10:00:00+00:00"
}
]
}
]
}
}Notes
-
Slots are generated for the next 14 days.
-
Generated slot times are 09:00, 10:00, 11:00, 14:00, 15:00, and 16:00.
-
Existing requested, confirmed, scheduled, or rescheduled appointments block a slot.
Common Success Format
{
"success": true,
"message": "Operation completed successfully.",
"data": {}
}Common Error Format
{
"success": false,
"message": "Validation failed.",
"errors": {}
}