Move-outs API
A move-out is the record Greenlight opens when a resident vacates a unit. You open one through this API when a resident moves out, and Greenlight tracks refund/consent/statement steps against it as they ship.
This is an early release. Today the API covers opening a move-out, reading it back, and correcting a resident's consent contact. Attesting that a landlord paid a resident a deposit it holds is documented below but not available yet. Statement submission and payout are not live yet and are not documented here until they are. See move-out events for the corresponding webhooks.
See Authentication & Environments for base URLs and bearer tokens. Opening a move-out, reading one, and correcting a consent contact each need their own scope; ask your Partner Success Manager to add the ones you use to your client. Attesting a payment will need its own scope once that call is available.
Open a move-out
POST /partners/{owner_slug}/move_outs
Content-Type: application/json
Unlike the prospect and property endpoints, the body is not wrapped in a named key — send the move-out's own fields at the top level:
{
"external_id": "your-move-out-123",
"move_out_date": "2026-09-30",
"refund_amount_cents": 125000,
"property": {
"external_id": "your-property-1",
"name": "Lakeview Apartments",
"address_line_one": "123 Main St",
"address_city": "Chicago",
"address_state": "IL",
"address_zip": "60601"
},
"unit": {
"external_id": "your-unit-1",
"name": "4B"
},
"residents": [
{
"role": "primary",
"first_name": "Jordan",
"last_name": "Rivera",
"email": "renter@example.com",
"external_id": "your-resident-1"
}
]
}
external_id is the idempotency key, unique per property owner. Re-POSTing the same external_id returns the existing move-out without creating a duplicate. Its fields are frozen at creation: a re-post does not update the move-out, its property, its unit, or its residents' names and contact details. The one exception is the residents' identity-verification fields (idp_subject, verification_method, verified_at), which are applied on every re-post to the resident with the same external_id, so they can follow once your sign-in provider has confirmed the resident. Re-post entries for residents Greenlight does not already hold are ignored.
If your access is limited to specific properties, a create must land within them. Re-posting the external_id of a move-out at a property your access doesn't cover answers 404, as for a move-out that doesn't exist, and changes nothing. A new move-out that Greenlight links to such a property is refused with 422, code out_of_grant on property, and nothing is created. A new move-out that isn't linked to any property is still accepted, but until it is linked, re-posting its external_id, fetching it, correcting its consent contact and attesting its payments answer 404, and a re-post changes nothing.
:::warning Send refund_amount_cents on this call
There is currently no way to supply the refund amount after a move-out is created. The create endpoint is idempotent and does not update, and no statement endpoint has shipped yet — so a move-out opened without an amount cannot acquire one, and its refund cannot be settled.
Send it here, once the amount is final. This page will be updated when a later call can carry it.
:::
Both a create and a re-post return 200-shaped bodies with a status_code field: 201 when the move-out was created, 200 when an existing one was returned. Read status_code rather than the HTTP status if you need to tell them apart — the HTTP status matches it in both cases.
Fetch a move-out
GET /partners/{owner_slug}/move_outs/{id}
Returns the same move-out object. Webhooks are the primary channel for status changes; use this to reconcile if you are not subscribed, or to poll after creation. If your access is limited to specific properties, a move-out not linked to one of them answers 404 here, and its events don't reach your provider endpoint either (see If you serve more than one property manager).
{id} is the numeric move_out_id from the create response — see the note on IDs below.
Correct a resident's consent contact
PATCH /partners/{owner_slug}/move_outs/{id}/residents/{resident_id}/consent_request
Content-Type: application/json
{
"email": "corrected@example.com"
}
Greenlight emails each resident a single-use link to give or decline consent for an electronic refund. When that email is wrong, this endpoint corrects it and re-sends in one step — correcting the contact is the resend trigger, so there is no separate resend endpoint and no second consent request is opened. The correction updates the consent request's contact_email only; the resident's email on the move-out keeps the value you originally sent.
Use it when a resident's consent_status is undeliverable or expired — the two states a corrected contact can recover. The resend resets the response window and the reminder schedule, and releases the move-out from manual review.
{
"status_code": 200,
"consent_request": {
"status": "sent",
"contact_email": "corrected@example.com",
"expires_at": "2026-10-14T00:00:00Z"
}
}
A 200 does not mean the email went out. An address that is not a valid email format is accepted, and the response carries consent_request.status undeliverable instead of sent. Check status, not the HTTP code.
{resident_id} is Greenlight's numeric resident ID, not your external_id. Every resident in the move-out response carries it as move_out_resident_id, and a move_out.hold_raised event caused by a resident's consent request names the resident who raised it (the first, when several share one hold). Fetch the move-out to find every resident whose consent_status is expired or undeliverable.
A request can be resent from pending, sent, viewed, expired, or undeliverable. It cannot be resent from signed, declined, or withdrawn — those residents answered, and a corrected email does not reopen the question. Attempting it returns 422 with one detail, code not_resendable and field null.
Attest a landlord-held payment
:::note Not available yet
Greenlight opens this call when it starts sending move_out.payment_attestation_requested. Until then, requests to it are refused.
:::
PUT /partners/{owner_slug}/move_outs/{id}/settlement_legs/{deposit_settlement_leg_id}/payment_attestation
Content-Type: application/json
{
"paid_on": "2026-11-02",
"payment_method": "check",
"reference": "1001"
}
When the landlord holds a deposit itself, Greenlight moves no money: the landlord pays the resident, then confirms the payment here. Greenlight asks for it with a move_out.payment_attestation_requested event, which carries the deposit_settlement_leg_id of the Leg to attest (a Leg is one payment out of a deposit to one party), the amount_cents owed, and the attest_by deadline.
An attestation means the Leg's amount_cents was paid in full. If the landlord paid the resident less, don't attest: a Leg still owed and not attested by attest_by holds the move-out as payment_attestation_missed, and Greenlight operations follow it up. A Leg stops being owed when the move-out closes as a unit transfer, or when a deposit reopen takes back the resident's deposit_return Leg (an interest Leg stays owed).
| Field | Notes |
|---|---|
paid_on | Required. YYYY-MM-DD, the day the landlord paid. Not in the future. |
payment_method | Required. ach, check, wire, card, cash, or other |
reference | Optional. A check number or transfer reference, as a string of up to 255 characters: send check 1001 as "1001", not 1001. Blank or null records none. |
{
"status_code": 200,
"payment_attestation": {
"deposit_settlement_leg_id": 902,
"paid_on": "2026-11-02",
"payment_method": "check",
"reference": "1001",
"attested_at": "2026-11-02T15:04:05Z"
}
}
An attestation is final for your integration. Sending the same one again is safe and returns 200 with the attestation already recorded. Once a Leg is attested, any other body returns 409 conflict and changes nothing, even one that is missing a field or has a future paid_on (a paid_on that isn't a YYYY-MM-DD date, or a reference that isn't a string, still returns 422). The property manager may already have marked the payment as paid in Greenlight's Portal; a 409 then means they recorded different details first. A 409 doesn't include the recorded details: to compare or correct them, contact your Partner Success Manager. Greenlight operations change the details, and a later attestation must match the corrected ones.
Attesting after attest_by is still recorded, but it doesn't release a payment_attestation_missed hold already raised. Greenlight operations release it.
Request fields
| Field | Notes |
|---|---|
external_id | Your identifier for the move-out. Required, unique per property owner. Must not start with yardi:, realpage: or pm:, which Greenlight reserves for move-outs it opens from Yardi or RealPage, or that a property manager opens in Greenlight; such a value returns 422. |
move_out_date | YYYY-MM-DD. Required. Any other form, or a day the month doesn't have, returns 422 not_a_date. |
refund_amount_cents | Integer cents, 0 or more. The amount owed back to the resident after deductions. Technically optional, but send it — see the note above. A move-out created without one cannot be settled. |
property | Object with name, address_line_one, address_city, address_state, address_zip (all required) and an optional external_id. Stored as sent, except that address_state is trimmed and upper-cased — see the note below. |
unit | Optional object with external_id and name. |
residents | Required, at least one. See Resident fields. |
deposit_amount_cents | Optional. Integer cents. The deposit originally collected, before any deductions. |
lease_start | Optional. YYYY-MM-DD, like move_out_date. |
lease_end | Optional. YYYY-MM-DD, like move_out_date. |
Resident fields
| Field | Notes |
|---|---|
role | Required. primary for the leaseholder the refund is addressed to, co_resident for anyone else on the lease |
first_name | Required. Read back to the resident in consent emails |
last_name | Optional |
email | Optional, but it is where Greenlight sends the resident's consent request, so send it whenever you have it |
external_id | Optional. Your identifier for the resident; how a re-post finds the same resident |
idp_subject | Optional. The resident's subject identifier at your sign-in provider, when they sign in to Greenlight through it. Unique within the move-out |
verification_method | Optional. How you verified the resident's identity |
verified_at | Optional. ISO 8601 timestamp of that verification |
The property name and address are stored as sent (only address_state is trimmed and upper-cased), not derived from any Greenlight property record. Most departing residents predate any integration Greenlight has with your system, so a move-out stands on its own — nothing here requires the property, unit, or residents to already exist in Greenlight.
The property name and each resident's first_name are read back to the resident in the consent emails Greenlight sends them, so send the property name a resident would recognize from their lease rather than an internal label, and a first_name you would address them by.
Response
{
"status_code": 201,
"move_out": {
"move_out_id": 1042,
"external_id": "your-move-out-123",
"status": "initiated",
"move_out_date": "2026-09-30",
"refund_amount_cents": 125000,
"hold": null,
"property": {
"external_id": "your-property-1",
"name": "Lakeview Apartments",
"address_line_one": "123 Main St",
"address_city": "Chicago",
"address_state": "IL",
"address_zip": "60601"
},
"unit": {
"external_id": "your-unit-1",
"name": "4B"
},
"residents": [
{
"move_out_resident_id": 517,
"role": "primary",
"first_name": "Jordan",
"last_name": "Rivera",
"email": "renter@example.com",
"external_id": "your-resident-1",
"consent_status": "sent",
"consent_requested_at": "2026-09-30T14:02:00Z"
}
]
}
}
Response fields
| Field | Description |
|---|---|
move_out_id | Greenlight's numeric ID for the move-out |
status | initiated, or transferred when the resident moved to another unit and the deposit went with them, so no refund is paid. More values arrive as later milestones (statement, payout) ship. |
refund_amount_cents | Echoes what you sent. null means none was sent, and the move-out cannot be settled until one can be. |
hold | null while the move-out is running. An object with held_at and reason when it is paused — see hold reasons. Independent of status: a held move-out keeps the status it had. |
Resident consent fields
Each resident carries its ID and the state of its own consent request. The consent fields are null until Greenlight opens one.
| Field | Description |
|---|---|
move_out_resident_id | Greenlight's numeric ID for the resident. Pass it as {resident_id} when correcting a consent contact. |
consent_status | pending, sent, viewed, signed, declined, expired, withdrawn, or undeliverable |
consent_requested_at | When the current request was raised. Resets if the contact is corrected and the request re-sent. |
signed is the only outcome that lets a move-out continue on its own, and every resident has to reach it. Any other terminal state holds the whole move-out for manual review, including declined — a resident asking for a mailed check instead is a valid answer, but it takes the refund off the electronic path, so Greenlight stops rather than guessing.
| Terminal state | Why it holds |
|---|---|
declined | Resident wants a mailed check instead |
withdrawn | Resident had signed, then changed their mind |
expired | Nobody answered before the window closed |
undeliverable | The consent email never reached them |
The last two are the ones a corrected contact fixes — see above. The first two are answers, and re-sending does not reopen them.
A hold is announced by move_out.hold_raised, lifted by move_out.hold_released, and readable at any time from the hold field above. Consent is one of several things that can hold a move-out — see hold reasons for the full set.
Note on IDs: unlike prospects (tpp_…) and policies (policy_…), a move-out's ID is a plain integer, not a prefixed string. The same move_out_id appears in the create/fetch response and in the move_out.initiated webhook payload.
Errors
{
"status_code": 422,
"error": {
"code": "validation_failed",
"message": "Move-out invalid.",
"details": [
{ "field": "external_id", "code": "blank", "message": "can't be blank" },
{ "field": "property.name", "code": "blank", "message": "can't be blank" }
]
},
"request_id": "6f1c2b9e-7d4a-4c1e-9a55-0b8f3d2e1a77"
}
Each detail names the refused field, with resident fields indexed by position, such as residents.0.role. Branch on code rather than the message text. A roster with no residents is blank on residents, and a resident without a role or first_name is blank on that field. A role other than primary or co_resident is inclusion. A re-post that gives two residents the same idp_subject is taken on the second, for example residents.1.idp_subject. An external_id starting with a reserved prefix (yardi:, realpage: or pm:) is reserved. On a new move-out, a non-empty move_out_date, lease_start or lease_end that isn't a real day written as YYYY-MM-DD is not_a_date on that field. If your access is limited to specific properties, a new move-out linked to a property outside them is out_of_grant on property.
| Status | Meaning |
|---|---|
400 | bad_request: the request body is not valid JSON |
401 | Token missing, expired, or invalid. Refused by the gateway before it reaches Greenlight; see Token failures. |
403 | Not granted access to this property owner (forbidden), or the gateway refused your token because it lacks the scope for that call |
404 | Unknown owner_slug, or the move-out does not exist — including one that exists under a different owner. On the fetch, consent-contact and attestation endpoints, also a move-out at a property your access doesn't cover, or, if your access is limited to specific properties, one not linked to a known property. On create, also a re-post of a move-out at a property your access doesn't cover, or, if your access is limited to specific properties, one not linked to a known property. On the consent-contact endpoint, also an unknown resident, or one with no consent request raised yet. On the attestation endpoint, also a Leg that is not on this move-out, one Greenlight didn't ask you to attest, or, until it is attested, a Leg on a move-out closed as a unit transfer or a deposit_return Leg a deposit reopen took back. |
409 | conflict: on the attestation endpoint, the Leg was already attested with different details |
422 | Validation failure. Each refused field is a detail in error.details, residents indexed from 0. On create, a new move-out linked to a property your access doesn't cover (out_of_grant on property), or a move_out_date, lease_start or lease_end that isn't a YYYY-MM-DD date (not_a_date). On the consent-contact endpoint, a blank email (blank on email) or a request whose state cannot be resent (not_resendable, field null). On the attestation endpoint, paid_on that isn't a YYYY-MM-DD date (not_a_date) or is in the future (less_than_or_equal_to), a missing paid_on or payment_method (blank), a payment_method not in the list (inclusion), or a reference that isn't a string (not_a_string) or is over 255 characters (too_long). |
Next steps
- Webhooks Overview — reacting to move-out events rather than polling
- Event Reference — the
move_out.initiated,move_out.consent_declined,move_out.consent_withdrawn,move_out.hold_raised,move_out.hold_released,move_out.dispute_raised,move_out.dispute_resolved, andmove_out.payment_attestation_requestedpayloads