Tasks
The office keeps one to-do list: payments to chase, guest requests, maintenance,
housekeeping, general. Some tasks are typed by staff, some are generated by the
system (a payment due, a hold about to expire) — those carry automatic: true.
Through the API a ticket system can put a maintenance job on the list and take
it off again, and a dashboard can show what is overdue.
GET /partner/v1/tasks
Section titled “GET /partner/v1/tasks”Scope read:tasks. Due date ascending.
| Query parameter | Required | Meaning |
|---|---|---|
status | no | open covers open and in-progress tasks; otherwise exact: open, in_progress, done, cancelled |
category | no | payment, guest_request, maintenance, housekeeping, general |
from / to | no | Due on or after / on or before |
unit | no | Unit slug |
page / pageSize | no | 1-based page, 1–200 rows (default 100) |
{ "tasks": [ { "id": "0192d…", "unitSlug": "marina-loft-2br", "unitName": "Marina Loft · 2BR", "bookingId": null, "category": "maintenance", "title": "AC unit in master bedroom rattling", "details": "Reported by guest on 2 Sep; technician booked for Thursday", "priority": "normal", "dueDate": "2026-09-05", "status": "in_progress", "automatic": false, "completedAt": null, "createdAt": "2026-09-02T08:14:03.000Z", "updatedAt": "2026-09-02T16:40:12.000Z" } ], "page": 1, "pageSize": 100, "totalItems": 23, "pageCount": 1}GET /partner/v1/tasks/:id
Section titled “GET /partner/v1/tasks/:id”Scope read:tasks. One task; 404 NOT_FOUND otherwise.
POST /partner/v1/tasks
Section titled “POST /partner/v1/tasks”Scope write:tasks. Creates a task with status open and returns it with 201.
curl -X POST https://api.myrentalcalendar.com/partner/v1/tasks \ -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \ -d '{ "title": "Replace smoke detector battery", "category": "maintenance", "priority": "low", "dueDate": "2026-09-12", "unit": "marina-loft-2br" }'| Field | Required | Notes |
|---|---|---|
title | yes | 2–200 characters |
dueDate | yes | ISO date |
category | no | Default general |
priority | no | urgent, normal (default), low |
details | no | Up to 5000 characters |
unit | no | Unit slug the task concerns |
bookingId | no | Booking the task concerns |
404 NOT_FOUND for an unknown unit slug or booking id.
PATCH /partner/v1/tasks/:id
Section titled “PATCH /partner/v1/tasks/:id”Scope write:tasks. Changes status, priority, due date, title or details —
send only what changes. Setting status: "done" stamps completedAt; setting
it back clears it.
{ "status": "done" }Returns the updated task. 404 NOT_FOUND for an unknown id.
Every write is recorded in the agency’s audit trail with the key as the actor.