AI for property management · Updated November 24, 2026

Keep work orders in sync between Darcy and another tool

Quick answer

To keep work orders in sync between Darcy and another tool, read them with GET /v1/work_orders, write changes back with POST /v1/work_orders/{id}/status and POST /v1/work_orders/{id}/assign, and subscribe a webhook endpoint to work order events. Darcy signs each delivery with Standard Webhooks (HMAC SHA-256) and retries a failed delivery up to 8 attempts. The status action follows the app's workflow: on_hold and awaiting_parts need a reason, and completing a resident's work order needs a note that the resident sees. The API and webhooks are included in the $2 per active unit plan.

To keep work orders in sync between Darcy and another tool, read them with GET /v1/work_orders, write changes back with POST /v1/work_orders/{id}/status and POST /v1/work_orders/{id}/assign, and subscribe a webhook endpoint to work order events. Darcy signs each delivery with Standard Webhooks (HMAC SHA-256) and retries a failed delivery up to 8 attempts. The status action follows the app's workflow: on_hold and awaiting_parts need a reason, and completing a resident's work order needs a note that the resident sees. The API and webhooks are included in the $2 per active unit plan.

✓

$2 per unit, every feature included

✓

You approve every AI action

✓

Data moved and checked to the cent

Soft evening sky
Darcy Collections agent queue with a tenant’s score and aging

The Collections agent ranks who is behind and shows why. A person approves each proposal.

Why work orders drift apart

Many teams run a second tool, such as a vendor platform or a field service app. Without a sync, the work moves like this:

  1. Staff open a work order in the property management system.

  2. Someone types it again into the other tool.

  3. The vendor or technician updates the status in the other tool.

  4. Someone copies the status back, often a day later.

  5. A resident asks for an update, and the two systems disagree.

A sync replaces steps 2 and 4 with code. For the whole API, see the Darcy REST API.

The sync design

A reliable sync has four parts:

  1. Backfill once. List the open work orders and store Darcy's id next to your own record id.

  2. Receive changes. Darcy POSTs each event to your webhook endpoint as it happens.

  3. Write changes back. When the other tool changes a status or an assignee, call the status or assign action.

  4. Catch up every day. List the events since the last one you processed, to find anything you missed during an outage.

Job

Operation

Route

Permission

List work orders

list_work_orders

GET /v1/work_orders

maintenance.read

Read one

get_work_order

GET /v1/work_orders/{id}

maintenance.read

Read the timeline

list_work_order_events

GET /v1/work_orders/{id}/events

maintenance.read

Create

create_work_order

POST /v1/work_orders

maintenance.write

Change the status

set_work_order_status

POST /v1/work_orders/{id}/status

maintenance.write or maintenance.dispatch

Assign

assign_work_order

POST /v1/work_orders/{id}/assign

maintenance.dispatch

Add an endpoint

create_webhook_endpoint

POST /v1/webhook_endpoints

integrations.write

List event types

list_event_types

GET /v1/event_types

integrations.write

Find missed events

list_events

GET /v1/events

integrations.write

Debug deliveries

list_webhook_deliveries

GET /v1/webhook_endpoints/{id}/deliveries

integrations.write

Read work orders

GET /v1/work_orders returns work orders oldest first, with the number, title, priority, status, the assigned staff user or vendor, the schedule, and cost limits in integer cents. You can filter by property_id, unit_id, status, priority, and vendor_id. The ids and the key below are placeholders.

curl "https://api.usedarcy.com/v1/work_orders?vendor_id=VENDOR_ID&status=assigned&limit=100" \
  -H "Authorization: Bearer pmk_live_..."
curl "https://api.usedarcy.com/v1/work_orders?vendor_id=VENDOR_ID&status=assigned&limit=100" \
  -H "Authorization: Bearer pmk_live_..."
curl "https://api.usedarcy.com/v1/work_orders?vendor_id=VENDOR_ID&status=assigned&limit=100" \
  -H "Authorization: Bearer pmk_live_..."

Write status and assignments

The status action accepts 10 statuses: new, assigned, scheduled, in_progress, on_hold, awaiting_parts, awaiting_approval, completed, verified, and canceled. It follows the same workflow as the app, so it refuses a move the app would refuse:

  • on_hold and awaiting_parts need a reason.

  • completed needs a note of what was done when the work order is tied to a resident through a service request or a lease. The resident sees the note. Without it, the API answers 422 with the field name note.

  • Scheduling, owner approval, and reopening a closed work order have their own steps, so the status action refuses them.

curl -X POST "https://api.usedarcy.com/v1/work_orders/WORK_ORDER_ID/status" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: fieldapp-job-8812-completed" \
  -d '{"status": "completed", "note": "Replaced the kitchen faucet cartridge. No leak after 15 minutes."}'
curl -X POST "https://api.usedarcy.com/v1/work_orders/WORK_ORDER_ID/status" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: fieldapp-job-8812-completed" \
  -d '{"status": "completed", "note": "Replaced the kitchen faucet cartridge. No leak after 15 minutes."}'
curl -X POST "https://api.usedarcy.com/v1/work_orders/WORK_ORDER_ID/status" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: fieldapp-job-8812-completed" \
  -d '{"status": "completed", "note": "Replaced the kitchen faucet cartridge. No leak after 15 minutes."}'

The assign action takes a staff user, a vendor, or both, with an optional not-to-exceed amount in cents:

curl -X POST "https://api.usedarcy.com/v1/work_orders/WORK_ORDER_ID/assign" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: fieldapp-job-8812-assign-1" \
  -d '{"vendor_id": "VENDOR_ID", "not_to_exceed_cents": 45000, "vendor_instructions": "Call the resident 30 minutes before arrival."}'
curl -X POST "https://api.usedarcy.com/v1/work_orders/WORK_ORDER_ID/assign" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: fieldapp-job-8812-assign-1" \
  -d '{"vendor_id": "VENDOR_ID", "not_to_exceed_cents": 45000, "vendor_instructions": "Call the resident 30 minutes before arrival."}'
curl -X POST "https://api.usedarcy.com/v1/work_orders/WORK_ORDER_ID/assign" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: fieldapp-job-8812-assign-1" \
  -d '{"vendor_id": "VENDOR_ID", "not_to_exceed_cents": 45000, "vendor_instructions": "Call the resident 30 minutes before arrival."}'

If the vendor's compliance documents are not current, the assign action needs a compliance_override_reason. The Idempotency-Key is optional here, but send one. A retry with the same key returns the first response for 24 hours. Test keys only read, so write calls refuse them with 403 test_key_read_only.

Receive signed webhooks

Create the endpoint with the work order event types that list_event_types returns:

curl -X POST "https://api.usedarcy.com/v1/webhook_endpoints" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/darcy/webhooks", "events": ["EVENT_TYPE"]}'
curl -X POST "https://api.usedarcy.com/v1/webhook_endpoints" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/darcy/webhooks", "events": ["EVENT_TYPE"]}'
curl -X POST "https://api.usedarcy.com/v1/webhook_endpoints" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/darcy/webhooks", "events": ["EVENT_TYPE"]}'

The response holds the signing secret, which starts with whsec_. Darcy returns it only once, so store it on your server. This request does not take an Idempotency-Key, because a stored response would keep a copy of the secret.

Each delivery body holds id, type, created_at, api_version, org_id, related (such as property_id and lease_id), and data. Verify the signature before you trust the body. This Python function follows the Standard Webhooks scheme:

import base64, hashlib, hmac, os, time

SECRET = base64.b64decode(os.environ["DARCY_WEBHOOK_SECRET"].removeprefix("whsec_"))

def verify(headers, raw_body: bytes) -> bool:
    msg_id = headers["webhook-id"]
    timestamp = headers["webhook-timestamp"]
    if abs(time.time() - int(timestamp)) > 300:
        return False  # older than 5 minutes: reject a replay
    signed = f"{msg_id}.{timestamp}.".encode() + raw_body
    expected = base64.b64encode(hmac.new(SECRET, signed, hashlib.sha256).digest()).decode()
    for item in headers["webhook-signature"].split(" "):
        version, _, value = item.partition(",")
        if version == "v1" and hmac.compare_digest(value, expected):
            return True
    return False
import base64, hashlib, hmac, os, time

SECRET = base64.b64decode(os.environ["DARCY_WEBHOOK_SECRET"].removeprefix("whsec_"))

def verify(headers, raw_body: bytes) -> bool:
    msg_id = headers["webhook-id"]
    timestamp = headers["webhook-timestamp"]
    if abs(time.time() - int(timestamp)) > 300:
        return False  # older than 5 minutes: reject a replay
    signed = f"{msg_id}.{timestamp}.".encode() + raw_body
    expected = base64.b64encode(hmac.new(SECRET, signed, hashlib.sha256).digest()).decode()
    for item in headers["webhook-signature"].split(" "):
        version, _, value = item.partition(",")
        if version == "v1" and hmac.compare_digest(value, expected):
            return True
    return False
import base64, hashlib, hmac, os, time

SECRET = base64.b64decode(os.environ["DARCY_WEBHOOK_SECRET"].removeprefix("whsec_"))

def verify(headers, raw_body: bytes) -> bool:
    msg_id = headers["webhook-id"]
    timestamp = headers["webhook-timestamp"]
    if abs(time.time() - int(timestamp)) > 300:
        return False  # older than 5 minutes: reject a replay
    signed = f"{msg_id}.{timestamp}.".encode() + raw_body
    expected = base64.b64encode(hmac.new(SECRET, signed, hashlib.sha256).digest()).decode()
    for item in headers["webhook-signature"].split(" "):
        version, _, value = item.partition(",")
        if version == "v1" and hmac.compare_digest(value, expected):
            return True
    return False

After the check passes:

  1. Skip duplicates. Store each webhook-id and ignore an id you already processed, because a retry repeats the message.

  2. Answer within 10 seconds with a 2xx status. Put slow work in a queue.

  3. Read the work order again with GET /v1/work_orders/{id} before you update your copy. A retried delivery can arrive after a newer one, and the fresh read gives the current state.

Each company can have up to 20 endpoints. For the full delivery rules, see Darcy webhooks and the webhook definition.

Prevent sync loops

When your tool writes a status to Darcy, Darcy sends an event for that change to your endpoint. If your tool writes it back to the other system, the two systems can send the same change back and forth. Store the last status you wrote for each work order, and skip an event that only repeats it.

How other systems compare

Webhook and work order API support differs across property management and maintenance software. This table shows what each vendor publishes, as of October 2026.

Product

Work order API

Webhooks

Darcy

List, create, update, status, assign, and the timeline, on the one plan

Standard Webhooks HMAC SHA-256, up to 20 endpoints, up to 8 attempts

Buildium

Open API with create, update, and delete operations, Premium plan only

Yes, Premium only; the endpoint must respond within 10 seconds

Rentvine

REST API on every plan, with GET, POST, and DELETE endpoints

Yes, one event per webhook, signed with a resettable signing key

Latchel

Partner API reads and writes work orders; 600 requests per key per 10 minutes

Created and updated events for jobs and six other models

Property Meld

API v2 with melds (work orders); the docs cover idempotency keys

None documented

AppFolio

API read only on Plus, read and write on Max

Not published

Buildium and Rentvine publish webhooks, and Property Meld documents idempotency keys. For a wider comparison, see the best property management software with an API.

What to measure

  • Match rate: the share of work orders whose status agrees in both systems at the daily catch-up.

  • Failed deliveries per week, from list_webhook_deliveries.

  • Lag: the minutes from a technician's update to the status change in Darcy.

To see work orders and webhooks on a portfolio like yours, book a demo.

Darcy

One system, one price, and AI agents that prepare the work

Darcy is a complete property management system. Its agents prepare collections, renewals, maintenance triage, and the month-end close, and a person approves each step.

  • $2 per unit per month, with every module and AI agent included.

  • Imports from AppFolio, Buildium, Yardi, and Rent Manager, reconciled to the cent.

  • No unit minimum, and a 14-day free trial with no credit card.

Pale sand texture
Darcy evidence view with each figure matched to the rent roll

Every number an agent shows is matched to the in-app report before you approve it.

Questions, answered

Does Darcy send webhooks for work orders?

Yes. Darcy sends work order and payment events, among others, to your endpoints. GET /v1/event_types lists every event type an endpoint can subscribe to. GET /v1/events lists the same events, so you can find any that you missed.

Can I set any status through the API?

You can set any move that the app allows. on_hold and awaiting_parts need a reason, and completing a resident's work order needs a note that the resident sees. Scheduling, owner approval, and reopening a closed work order have their own steps, so the status action refuses them.

How do I verify a Darcy webhook?

Compute an HMAC SHA-256 over the webhook-id, the webhook-timestamp, and the raw body, joined with periods. Use the base64-decoded part of your whsec_ secret as the key. Compare the result with each v1 signature in a constant-time comparison, and reject a timestamp older than 5 minutes.

What happens if my endpoint is down?

Darcy retries each delivery with exponential backoff, up to 8 attempts. If your endpoint stays down longer, list the events with GET /v1/events and the since parameter to catch up. list_webhook_deliveries shows the status of each attempt.

Does the API cost extra?

No. The API, webhooks, and the MCP server are included in Darcy's one plan, $2 per active unit per month as of November 2026.

See Darcy run on a portfolio like yours

Tell us how many units you manage and which system you use today. We’ll show you which parts of your team’s week Darcy can take on.

Step 1

Tell us about your portfolio

Your unit count and the system you use today.

Step 2

See Darcy on data like yours

We walk through the jobs your team does every week.

Step 3

Load your data in setup mode

Nothing is charged, posted, or sent until you select Go live.