Skip to main content

Partner Prospect API

The Prospect API lets you push renters to Greenlight directly. You send what you know, Greenlight validates it synchronously and checks eligibility in the background, and once the prospect is eligible it exposes an enrollment URL you send the renter to.

Greenlight's preferred ingestion path is Event Ingestion, where you emit your existing events and write no client at all. Reach for the API when you want to go live without waiting on Greenlight to build an adapter for your schema, when you want data problems reported back as a 422 at the moment you send them, or when you want to read prospect state on demand. Reading is useful on any integration — the GET endpoint works even if you write through events.

The write endpoint is an upsert keyed on (source, source_prospect_id) — the same key events use, so the two paths address the same records and can be mixed.

See Authentication & Environments for base URLs and tokens.

Create or update a prospect​

POST /partners/{owner_slug}/prospects
Content-Type: application/json
{
"prospect": {
"source": "acme",
"source_prospect_id": "your-prospect-123",
"source_group_id": "your-group-45",
"email": "renter@example.com",
"phone": "5559876543",
"first_name": "Jordan",
"last_name": "Rivera",
"birthdate": "1990-04-12",
"lease_start_date": "2026-09-01",
"lease_end_date": "2027-08-31",
"monthly_rent_cents": 200000,
"deposit_amount_cents": 200000,
"guarantor_coverage": false,
"screening_result": "approved",
"employment_status": "employed",
"yearly_income": 95000,
"has_ssn": true,
"social_security_number": "512-34-6789",
"pms_type": "yardi",
"pms_property_id": "hudson1",
"pms_unit_id": "0401",
"pms_prospect_id": "p0001234",
"terms_accepted_at": "2026-07-24T15:04:05Z"
}
}

A create returns 201 and an update returns 200, each with the full prospect object. The body's status_code field mirrors the HTTP status.

Only fields you include are updated. Omitting a field leaves the stored value untouched, so you can send partial updates as data becomes available. An explicit null clears the stored value, except on guarantor_coverage, where it sets false. Any change to a field other than authorized_members and authorized_members_stamped_at re-runs eligibility, which puts the prospect back to processing and clears its enrollment URLs until Greenlight finishes. A change to source_group_id, the property, or pms_prospect_id can also re-run it for other prospects in the old and new group. After the renter has paid, changes are refused instead.

Updating a prospect after the renter has paid​

Once application_submitted is true, the prospect is what the renter bought, and its fields can't change. An update that would change any field is refused with 422, with one application_submitted detail for each field you changed, and nothing is saved or re-evaluated. Resending what Greenlight already has still returns 200, so retries are safe. An update that changes only authorized_members is still accepted, and so is a source_group_id for a prospect that had none; a group the prospect already has can't be changed or removed. To change a policy that has been bought, use the policy change-request and cancellation paths.

Fetch a prospect​

GET /partners/{owner_slug}/prospects/{source}/{source_prospect_id}

Returns the same prospect object with a 200. Use this to poll for eligibility if you are not subscribed to the prospect.ready and prospect.ineligible webhooks. After purchase, read latest_coverage for what the renter bought.

Canceling and reinstating a prospect​

POST /partners/{owner_slug}/prospects/{source}/{source_prospect_id}/cancel
POST /partners/{owner_slug}/prospects/{source}/{source_prospect_id}/reinstate

To stop an enrollment link you have already sent, for example because your own screening declined the applicant, cancel the prospect. Neither call takes a body, and each returns the prospect object with a 200. The prospect upsert no longer takes a canceled field: sending one is refused with 422 and code moved.

The prospect moves to canceled and both enrollment URLs become null. Greenlight keeps everything you sent. A renter who opens a link you sent earlier, including one already partway through checkout, is told you canceled their application and to contact you with any questions. In the hosted flow, they are also told to use your most recent link. The page gives no reason. Updates you send while the prospect is canceled are stored, but eligibility does not run until you reinstate it.

To reinstate, call reinstate. Greenlight re-runs eligibility from the stored data, and the prospect ends in ready (or incomplete or ineligible) as it would after any update, with the same enrollment link as before.

Both are safe to retry. Canceling a prospect that is already canceled keeps its first cancellation, and reinstating one that isn't canceled changes nothing; each returns 200. A source_prospect_id Greenlight doesn't have returns 404.

Canceling works only before purchase. Once the renter has paid, a cancel or reinstate that would change the prospect is refused with 409 and an application_submitted detail, and the prospect is unchanged. One that wouldn't, such as reinstating a prospect that isn't canceled, still returns 200 and changes nothing, so read status rather than taking a 200 from reinstate as a reinstatement. To change a policy that has been bought, use the policy change-request and policy cancellation paths. Canceling also stops a payment form the renter already has open: paying from it is blocked, and within seconds Greenlight voids the payment behind it. Only a payment the renter submitted before you canceled goes through. If one does, application_submitted becomes true and latest_coverage shows what they bought, while status stays canceled, so check application_submitted before treating a canceled prospect as not enrolled. Such a prospect can't be reinstated: reinstating would open a second application beside the paid one.

Request fields​

Three fields are enforced at write time. A request missing any of them is rejected with 422:

FieldNotes
sourceYour partner code, assigned by Greenlight. Must match a configured source.
source_prospect_idYour identifier for the renter. Unique per property owner and source. Letters, digits, - and _ only, at most 128 characters.
terms_accepted_atISO 8601 timestamp of when the renter accepted Greenlight's terms in your flow

Everything else may be omitted, but the prospect stays incomplete and cannot enroll until the completeness fields are present. Values that are present must be valid: a malformed phone, an invalid SSN, or an unrecognized enum value is a 422.

The Prospect Field Reference describes every field: what it means, its format, whether it counts toward completeness, and where to find it in Yardi.

All monetary values are integer cents (200000 is $2,000.00), except yearly_income, which is whole dollars. Dates are YYYY-MM-DD; timestamps are ISO 8601.

Selecting Greenlight Guarantee​

guarantor_coverage is an optional boolean and defaults to false. Send true or false; null and "" are stored as false. Send true when the renter should be offered Greenlight Guarantee instead of a deposit product. Greenlight then evaluates Greenlight Guarantee eligibility for the property and marks the prospect ineligible for both security deposit insurance and cash deposit — the products are mutually exclusive. Once eligibility is written, that exclusivity shows up as a reason on those two products rather than as an error on your request.

Nothing else about Greenlight Guarantee is writable. Greenlight resolves the guarantor application rule and the Greenlight Guarantee product version from the property's configuration; do not send an identifier or a version for either. deposit_amount_cents is not required for a guarantor_coverage: true prospect to leave incomplete — it's never the Greenlight Guarantee coverage amount, so omit it if the renter isn't giving a cash deposit.

Identifying the building and unit​

A prospect must resolve to a building and a unit before it can enroll. How you identify them depends on how the property owner is configured:

  • Owners synced from a PMS identify the building and unit with the pms_type, pms_property_id, and pms_unit_id fields shown in the request above. Greenlight matches them against the resident data it syncs from the PMS.
  • Owners you provision through the Partner Onboarding API identify them with nested property and unit objects, keyed on your own external_system_id, the same identifiers you loaded through the properties and units endpoints. On these owners send the objects rather than pms_type, pms_property_id, and pms_unit_id. Sending any of those three alongside an object is a 422 with conflicts_with_roster; to move a prospect to PMS codes, see Switching between your ids and PMS codes. pms_prospect_id may be sent either way.
{
"prospect": {
"source": "acme",
"source_prospect_id": "your-prospect-123",
"//": "renter and lease fields as above",
"property": { "external_system_id": "acme-prop-123" },
"unit": { "external_system_id": "acme-unit-456" }
}
}

The objects are accepted only on a source Greenlight has enabled for your own identifiers. On any other source, sending one is a 422 on prospect.source with no_roster_provider. An object sent as null counts as absent, but an empty object {} is a 422 on prospect.property.external_system_id (or prospect.unit.external_system_id) with blank.

Each object resolves in one of three ways:

  1. An identifier Greenlight recognizes. The prospect attaches to that building or unit as a reference. Any other fields in the object are ignored, because roster changes go through the properties and units endpoints, never through a prospect.
  2. An unrecognized identifier with a full item. The building or unit is created, following the property or unit rules. If creation fails, the request returns 422 with the item's errors under a top-level property or unit key, and the prospect is not written. A unit created this way is named like one sent to the units endpoint: when name is absent, it comes from the address or pms_unit_id, and a single-unit building's unit defaults to "1". Removing the building's street (step 2 of Unit name derivation) needs addresses Greenlight already holds for that building, so for a building's first unit send name, a designator in the street line or line_two, or pms_unit_id. Creating a unit inside a prospect never changes the building's derived address.
  3. property absent. The prospect is stored but cannot enroll, and no enrollment URL is returned.

An enrollment URL requires both the property and the unit to resolve. A prospect with only a property reference is stored but cannot enroll until its unit exists.

Switching between your ids and PMS codes​

A prospect identified by property and unit objects can later move to a building Greenlight syncs from a PMS, and back. Each update names the building one way or the other:

  • To PMS codes: send pms_type with pms_property_id and pms_unit_id. On such a prospect, a request without property or unit objects that sends pms_property_id or pms_unit_id without pms_type, or a null or empty pms_type, is refused with 422, prospect.pms_type required, because Greenlight cannot tell a PMS code from one of your own ids.
  • To your own ids: send the property and unit objects.

Your ids and PMS codes are never kept together. When the update switches between them, any identifier it doesn't resend is cleared, along with the building and unit the prospect resolved to. Send both identifiers when you switch. If you switch with only one of them, the prospect is stored but cannot enroll until you send the other.

For an owner provisioned through the Onboarding API, deposit_amount_cents on the prospect is the renter's Greenlight Deposit coverage amount and the cash deposit amount. The property's coverage settings do not change it.

Response​

{
"status_code": 201,
"prospect": {
"id": "tpp_a1b2c3d4",
"source": "acme",
"source_prospect_id": "your-prospect-123",
"source_group_id": "your-group-45",
"email": "renter@example.com",
"phone": "5559876543",
"first_name": "Jordan",
"last_name": "Rivera",
"birthdate": "1990-04-12",
"lease_start_date": "2026-09-01",
"lease_end_date": "2027-08-31",
"screening_result": "approved",
"monthly_rent_cents": 200000,
"deposit_amount_cents": 200000,
"effective_coverage_amount_cents": 200000,
"guarantor_coverage": false,
"employment_status": "employed",
"yearly_income": 95000,
"has_ssn": true,
"pms_type": "yardi",
"pms_property_id": "hudson1",
"pms_unit_id": "0401",
"pms_prospect_id": "p0001234",
"sdi_eligibility_status": "eligible",
"sdi_ineligibility_reasons": [],
"cd_eligibility_status": "eligible",
"cd_ineligibility_reasons": [],
"status": "ready",
"status_version": 2,
"status_changed_at": "2026-10-19T14:03:27.512Z",
"percent_savings": 93.75,
"enrollment_url": "https://www.greenlightrent.com/enrollment/embedded/acme-properties/acme/your-prospect-123?email=renter%40example.com&renter_journey_ref=tpp_a1b2c3d4",
"hosted_enrollment_url": "https://www.greenlightrent.com/enrollment/expedited/acme-properties/acme/your-prospect-123?email=renter%40example.com&renter_journey_ref=tpp_a1b2c3d4",
"offered_products": [
{
"product_type": "security_deposit_insurance",
"upfront_premium_cents": 12500,
"monthly_premium_cents": 1400,
"upfront_enrollment_url": "https://www.greenlightrent.com/enrollment/embedded/...&selected_product=security_deposit_insurance&cadence=upfront",
"monthly_enrollment_url": "https://www.greenlightrent.com/enrollment/embedded/...&selected_product=security_deposit_insurance&cadence=monthly"
}
],
"application_submitted": false,
"latest_coverage": null
},
"request_id": "6f1c2b9e-7d4a-4c1e-9a55-0b8f3d2e1a77"
}

Every successful response is wrapped with a status_code key mirroring the HTTP status, and carries a request_id.

id is Greenlight's prospect ID (tpp_…), the same value every prospect webhook carries. Your own source_prospect_id is the identifier to look the prospect up by.

Fields you sent are echoed as Greenlight stored them: email lowercased, phone reduced to 10 digits, and screening_result as approved when optional ingest fields filled it in for you. social_security_number, education_level, citizenship, terms_accepted_at, authorized_members, and authorized_members_stamped_at are accepted on write but are not echoed back.

On a source enabled for your own identifiers, the response carries property and unit objects in place of pms_type, pms_property_id, and pms_unit_id. Each is null until the prospect has named it, and pms_prospect_id is always present. If you sent raw PMS codes on such a source instead of objects, the response returns the pms_* fields.

{
"property": { "external_system_id": "acme-prop-123" },
"unit": { "external_system_id": "acme-unit-456" }
}

Use the enrollment URLs exactly as returned. Besides the path and email, they carry a renter_journey_ref parameter that ties the renter's visit to this prospect; dropping or rebuilding it loses that link.

Greenlight Guarantee response​

A prospect sent with guarantor_coverage: true carries its own eligibility fields:

{
"guarantor_coverage": true,
"rg_eligibility_status": "eligible",
"rg_ineligibility_reasons": [],
"status": "ready",
"enrollment_url": "https://www.greenlightrent.com/enrollment/embedded/acme-properties/acme/your-prospect-123?email=renter%40example.com&renter_journey_ref=tpp_a1b2c3d4",
"offered_products": [],
"sdi_eligibility_status": "ineligible",
"cd_eligibility_status": "ineligible",
"sdi_ineligibility_reasons": ["Renter Guarantee (guarantor coverage) selected — not eligible for SDA or cash deposit"],
"cd_ineligibility_reasons": ["Renter Guarantee (guarantor coverage) selected — not eligible for SDA or cash deposit"]
}

Three things differ from the deposit-product response. rg_eligibility_status is omitted while eligibility has not been decided — the prospect is incomplete, or processing after a write cleared the previous decision — so read a missing key as "not decided yet", not as ineligible. rg_ineligibility_reasons is always present while guarantor_coverage is true, as [] when there is nothing to report. And offered_products holds a single renter_guarantee_insurance row once the renter is priced, never a deposit product. See Product objects.

That means there is nothing to wait for beyond enrollment_url and hosted_enrollment_url. Once they are populated, send the renter to one of them; pricing is presented inside the enrollment flow.

The Greenlight Guarantee coverage amount comes from the property's guarantor application rule, or the property or unit coverage settings, and may be a rent multiplier or a fixed amount — not from deposit_amount_cents or effective_coverage_amount_cents. There is no top-level Greenlight Guarantee coverage field. Once the renter is priced it appears as coverage_amount_cents on the renter_guarantee_insurance row of offered_products, and after purchase on latest_coverage.

Response fields​

FieldDescription
statusincomplete, processing, ready, ineligible, error, or canceled
status_versionGoes up by one every time the status changes, and matches the status_version on the prospect's webhooks. A GET always returns the current value, so if a webhook carries a lower one, the GET is newer.
status_changed_atWhen the prospect entered its current status, in ISO 8601 UTC.
missing_fieldsNames of the required fields still blank, such as ["birthdate"]. Present only while status is incomplete. Lists has_ssn when it is unset; fields your source has as optional ingest fields never appear.
error_reasonWhy processing failed: eligibility_check_failed, enrollment_setup_failed, processing_timed_out, or internal_error. Present only while status is error.
effective_coverage_amount_centsThe Greenlight Deposit coverage amount before the owner's maximum is applied. For owners without coverage rules of their own, including every owner created through the Onboarding API, it equals your deposit_amount_cents. For owners with coverage rules, it is the amount those rules produce from the rent and unit, and null when they produce none. Not the Greenlight Guarantee coverage amount.
percent_savingsHow much the renter saves with Greenlight Deposit compared with paying the deposit, as a percentage: 100 − (lowest premium ÷ effective_coverage_amount_cents × 100), where the lowest premium is the smaller of the upfront premium and one monthly payment. null until the renter is priced, when effective_coverage_amount_cents is null, and always on a Greenlight Guarantee prospect.
enrollment_urlLink to start enrollment, on the flow your source is configured for. Present whenever status is ready; null before then and when the prospect is ineligible, error or canceled.
hosted_enrollment_urlThe same enrollment, always on the expedited (full-page) flow, for a renter you cannot iframe — a native app, or a link in an email or SMS. Same nil semantics as enrollment_url, and identical to it when your source is already expedited. Load it top-level: it is not frameable.
offered_productsPriced products with prefilled enrollment links, on your source's configured flow — there is no hosted variant. A Greenlight Deposit row on a deposit prospect, a single Greenlight Guarantee row on a Guarantee prospect. No cash deposit row while cash deposit is not offered to prospects. Empty until the renter is priced, either at pre-pricing or in the enrollment flow.
application_submittedWhether the renter has paid for an application. It stays true while any paid application stands, even if a later one is opened. Once it is true, the prospect can no longer be canceled or changed.
latest_coverageThe renter's most recent policy or cash deposit at this unit, found by the prospect's email, or null. See Latest coverage.
guarantor_coverageWhether the prospect is on Greenlight Guarantee. Always present.
rg_eligibility_statuseligible or ineligible. Present only when guarantor_coverage is true, and omitted then too until eligibility has been decided.
rg_ineligibility_reasonsHuman-readable reasons Greenlight Guarantee was declined. Present whenever guarantor_coverage is true, as an empty array when there are none; omitted entirely when it is false.
sdi_eligibility_status, cd_eligibility_statuseligible or ineligible for Greenlight Deposit and cash deposit. Always present; null until eligibility has been decided.
sdi_ineligibility_reasonsHuman-readable reasons Greenlight Deposit was declined. Always present; [] when there are none. After eligibility is written on a Greenlight Guarantee prospect, this carries the product-exclusivity reason.
cd_ineligibility_reasonsHuman-readable reasons cash deposit was declined. Always present; [] when there are none. After eligibility is written on a Greenlight Guarantee prospect, this carries the product-exclusivity reason.

Product objects​

On a deposit prospect, offered_products holds at most one security_deposit_insurance row, once the prospect is eligible for Greenlight Deposit and underwriting has run. Cash deposit is not currently offered to prospects, so there is no cash_deposit row, even when cd_eligibility_status is eligible. On a Greenlight Guarantee prospect it holds at most one renter_guarantee_insurance row, and never a deposit row.

security_deposit_insurance (Greenlight Deposit)

FieldDescription
upfront_premium_centsThe one-time premium for the whole lease term
monthly_premium_centsThe monthly premium, or null when the renter is not offered monthly payments
upfront_enrollment_urlThe enrollment URL with Greenlight Deposit and upfront payment preselected. Same nil semantics as the prospect's enrollment_url, and also null when sdi_eligibility_status is not eligible
monthly_enrollment_urlThe enrollment URL with Greenlight Deposit and monthly payment preselected. null when the renter is not offered monthly payments; otherwise the same nil semantics as upfront_enrollment_url

cash_deposit (not currently returned for prospects)

FieldDescription
cash_deposit_amount_centsThe cash deposit the renter pays Greenlight to hold
enrollment_urlThe enrollment URL with cash deposit preselected. Same nil semantics as the prospect's enrollment_url, and also null when cd_eligibility_status is not eligible

Premiums are quotes: the renter confirms the price in the flow. See Pricing and cadence for what goes into them.

renter_guarantee_insurance

The only row on a Greenlight Guarantee prospect, once it is priced. Greenlight Guarantee is upfront only, so there is no monthly price or URL.

FieldDescription
total_due_centsWhat the renter pays at checkout: the refundable reserve, the premium, and Greenlight's fees. The same figure the renter sees in the flow
refundable_reserve_centsThe refundable reserve set by underwriting. Returned to the renter, so do not present it as a cost. 0 on the earlier product versions, which have no reserve
upfront_premium_centsThe premium
fees_centsGreenlight's processing fees, taxes, and service fee
move_in_fees_centsDeprecated. Always 0
coverage_amount_centsThe coverage the renter is buying. May be null
product_versionThe Greenlight Guarantee version, as on policy webhooks. null while no version is assigned
enrollment_urlThe enrollment URL. Same nil semantics as the prospect's enrollment_url, and also null when rg_eligibility_status is not eligible

The parts add up to total_due_cents. A Guarantee prospect has no row until it is underwritten and priced. It has none when the renter is declined, and none on the earlier product versions when underwriting priced no premium. Do not wait for a row before you send the renter; send them to enrollment_url.

Latest coverage​

latest_coverage is what the renter already holds at this prospect's unit: the most recent policy that is not canceled, or the most recent cash deposit, whichever ends later. It is how you confirm a purchase when you read rather than listen for webhooks.

FieldDescription
typesecurity_deposit_insurance, renter_guarantee_insurance, or cash_deposit
product_payment_centsWhat the renter pays: the upfront premium, the monthly premium, or the cash deposit amount
cadenceupfront or monthly. Not present on a cash deposit
coverage_start_date, coverage_end_dateThe coverage window as YYYY-MM-DD. For a cash deposit, the lease dates
coverage_amount_centsWhat the policy covers, or the cash deposit amount
document_urlA link to the policy documents archive, or null when none is ready yet. Not present on a cash deposit. Download and store the file rather than the link; see policy.documents_updated

Prospect lifecycle​

incomplete ──(all required fields present)──> processing ──(eligibility)──> ready
▲ └──────────────> ineligible
└──────────────(a required field is cleared)──────────────────────────────┘
  • incomplete — required fields are missing; missing_fields names them. No enrollment URL.
  • processing — Greenlight has what it needs and is checking eligibility. This is asynchronous and typically takes seconds.
  • ready — Greenlight has finished processing and the prospect is eligible for at least one product that applies to it. The enrollment URLs are populated; send the renter to one of them. Cash deposit does not count: it is not currently offered to prospects.
  • ineligible — Greenlight has finished processing and the prospect qualifies for nothing, including a prospect eligible only for a cash deposit. Both enrollment URLs are null; the *_ineligibility_reasons fields say why. Sending a changed value for any prospect field re-checks eligibility; re-sending the same values does not.
  • error — Greenlight could not finish processing the prospect; error_reason says why, and prospect.error is sent. Report the source_prospect_id and error_reason to your Partner Success Manager; a later update that changes any of the prospect's fields runs processing again; re-sending identical data does not. Both enrollment URLs are null while status is error; discard any enrollment URL you stored for this prospect earlier.
  • canceled — you canceled the prospect. Both enrollment URLs are null and an earlier link shows the renter a page pointing them back to you. Cancellation is set only by you, from any status before purchase, and lasts until you reinstate the prospect.

A prospect that is ready but ineligible for a given product carries the reasons in sdi_ineligibility_reasons, cd_ineligibility_reasons, or rg_ineligibility_reasons. When every applicable product is declined, the prospect is ineligible rather than ready.

Read those reasons per product rather than in aggregate. After eligibility is written, a Greenlight Guarantee prospect is by design ineligible for security deposit insurance and cash deposit, and carries the exclusivity reason on both, while still having populated enrollment URLs when Greenlight Guarantee itself is eligible.

If a Greenlight Guarantee prospect is ineligible, rg_ineligibility_reasons explains why. During incomplete or processing, a null URL with no rg_eligibility_status and an empty rg_ineligibility_reasons array means eligibility has not been decided yet.

Because processing resolves asynchronously, subscribe to the prospect.ready and prospect.ineligible webhooks rather than polling in a tight loop. A webhook is sent when a prospect is created and each time it enters incomplete, ready, ineligible, error or canceled: a prospect created without every required field sends both prospect.created and prospect.incomplete, and a complete prospect that loses a field sends prospect.incomplete again. The events arrive independently, so act on each payload's status, not on their order.

The rules behind each reason are on Eligibility.

ready does not mean the prospect is priced. Pricing needs underwriting inputs Greenlight normally collects from the renter during enrollment, so offered_products and percent_savings stay empty until the renter has been through the flow, unless you sent every pre-pricing input. On a Greenlight Guarantee prospect percent_savings stays null. Treat every price as a quote as of the latest prospect.ready, and re-GET the prospect when that event arrives before you show it. Do not show a Greenlight price in your UI unless offered_products carries one.

Errors​

Errors use the shared error envelope. A validation failure returns 422 with one detail per refused field, its field the path into your request body:

{
"status_code": 422,
"error": {
"code": "validation_failed",
"message": "Prospect invalid.",
"details": [
{ "field": "prospect.phone", "code": "phone_invalid", "message": "is not valid" },
{ "field": "prospect.terms_accepted_at", "code": "blank", "message": "can't be blank" }
]
},
"request_id": "6f1c2b9e-7d4a-4c1e-9a55-0b8f3d2e1a77"
}

A field changed after the renter has paid is refused under its own name, for example prospect.first_name with application_submitted.

A refused property or unit object is reported under it, for example prospect.unit.external_system_id with already_linked when the unit you named is linked to another id.

StatusMeaning
400The body is not valid JSON, or carries no prospect key
401Token missing, expired, or invalid
403Your client is not registered for the Partner API, you are not granted access to this owner, or the source belongs to another partner. Also returned when the owner is granted to more than one of your organizations; contact your Partner Success Manager. On a POST, nothing is written
404Unknown owner_slug, or the prospect does not exist on GET, cancel or reinstate
409A cancel or reinstate that would change the prospect after the renter has paid (one detail, field: null, code application_submitted), or that met another write on the same prospect (code contended; resend it)
422Validation failure. Each refused field is a detail in error.details

Test data reset​

In staging only, you can clear test records so you can re-run an enrollment with the same identifiers:

DELETE /residents/reset?email={email}&owner_slug={owner_slug}

Both parameters are required, and both go in the query string rather than the body. This clears the renter's Greenlight user along with the prospects and policies attached to it, and returns every resident matching the email under that owner to a pre-enrollment state — unlinking the policy, removing the tenant record, and re-evaluating eligibility so an earlier decline does not carry over. The same email can then go through enrollment again. The owner must be one your credentials are granted access to; any other owner returns 403, as does an email whose renter has a prospect another partner sent, under any owner. It returns 404 in production.

The call is idempotent: an email with nothing left to clear returns 200 with empty id lists rather than an error, so it is safe to call unconditionally at the start of every test run. What it cannot do is create a resident — if the email has no resident under the owner, there is nothing to enroll and you will need one set up for you.

Note the path: unlike the rest of the API, this one is not scoped under /partners/{owner_slug}.

Next steps​