Partner Onboarding API Overview
The Partner Onboarding API lets you provision a property owner and maintain its property and unit roster programmatically, without manual setup by Greenlight for each owner. Use it when you onboard property management companies at a volume that manual, per owner setup cannot support.
It provides four write endpoints and extends the Partner Prospect API so that a prospect may identify its building and unit by your own identifiers:
| Endpoint | Purpose |
|---|---|
POST /partners/property_owners | Create or update a property owner, and return its slug |
POST /partners/{owner_slug}/bank_accounts | Register the accounts claim payments are sent to |
POST /partners/{owner_slug}/properties | Create or update properties |
POST /partners/{owner_slug}/units | Create or update units |
POST /partners/{owner_slug}/prospects | Existing; a prospect may now reference or create its property and unit |
Base URLs, authentication, and the owner_slug path segment are identical to the rest of the Partner API. See Authentication & Environments. Owner creation is the only call not scoped to a slug, because it is the call that returns one.
Upserts and identifiers
Every resource is keyed on an identifier that you own, never a Greenlight one. Resending a payload updates the existing record rather than creating a duplicate, so a batch, or a single item within it, is safe to retry.
| Resource | Upsert key |
|---|---|
| Property owner | external_org_id |
| Bank account | external_system_id, within the owner |
| Property | external_system_id, within the owner |
| Unit | external_system_id, within the owner |
An external_system_id names one record across all of an owner's bank accounts, properties, and units, so the same value cannot be reused for two of them.
You never store a Greenlight identifier. Wherever a payload references another resource, such as a unit referencing its property or a property referencing its payout account, it does so with your identifier for that resource.
An upsert writes only the fields it carries. Omitting a field leaves the stored value unchanged, so a scheduled full refresh that drops a field does not revert a value set earlier. An explicit null clears only where noted: on the owner, it clears max_coverage_amount_cents and embedded_frame_ancestors and resets purchase_flow_enabled and guarantor_coverage_capable to false; on a property, it reverts bank_account_external_id to the owner's default account. Any other null on a property or unit is treated as omitted. The two array fields, embedded_frame_ancestors on the owner and authorized_members on a prospect, are the exception: when present, they replace the entire array rather than merging.
Batch requests
Every endpoint on this page, apart from owner creation, accepts a bare JSON array at the top level of the body, even for a single item, and returns a result for each item. Send larger rosters in several batches; because every operation is an upsert, batching is safe.
| Endpoint | Items per request |
|---|---|
| Properties, units | At most 500 |
| Bank accounts | At least 1, at most 100 |
A body that is not an array, or that exceeds the limit, is rejected in full with a 422 before any item is processed. The error's message is "Request body invalid." and it carries one detail whose field is null; branch on its code (see Field codes), not the message text:
| Endpoint | Detail codes |
|---|---|
| Properties, units | not_an_array, too_many_items |
| Bank accounts | not_an_array, blank (an empty array), too_many_items |
{
"status_code": 200,
"results": [
{ "external_system_id": "acme-prop-123", "action": "created" },
{ "external_system_id": "acme-prop-124", "action": "updated" },
{ "external_system_id": "acme-prop-125", "action": "failed",
"error": { "code": "validation_failed", "message": "Property invalid.",
"details": [{ "field": "bank_account_external_id", "code": "unknown_bank_account", "message": "is not a known bank account" }] } }
],
"meta": { "created": 1, "updated": 1, "failed": 1 },
"request_id": "6f1c2b9e-7d4a-4c1e-9a55-0b8f3d2e1a77"
}
action is created, updated, or failed. A single invalid item does not fail the batch: the remaining items still apply, and the failed item carries an error naming each refused field (see Errors). Inspect the individual results rather than the HTTP status alone, because a 200 response may still contain failures.
Owner types
- Owners you create. An owner you created through
POST /partners/property_owners. You own all of its configuration: the coverage ceiling, the payout accounts, and the entire roster. - Owners with an existing Greenlight relationship. A property management company that worked with Greenlight directly before your integration. You do not create these. Greenlight grants you access to named buildings and returns the slug; certain fields (
purchase_flow_enabled,max_coverage_amount_cents) remain owned by Greenlight, and the owner's payout accounts typically already exist. Coordinate with your Partner Success Manager before sending data for one.
Greenlight cannot automatically detect that an owner you are onboarding already works with Greenlight. Where that is possible, coordinate before creating the owner; creating it regardless produces a duplicate that must later be merged manually. See Owners with an existing Greenlight relationship.
Provisioning an owner
POST /partners/property_ownersreturns theowner_slug, withpurchase_flow_enabled: false. If the owner will offer Greenlight Guarantee, sendguarantor_coverage_capable: trueon this call, so each property gets Greenlight Guarantee as it is created. Turning it on later also works; Greenlight then enables it on the existing properties in the background.POST /partners/{owner_slug}/bank_accountsregisters payout accounts. The first account becomes the owner's default, so that claims can be paid from the outset.POST /partners/{owner_slug}/properties, thenPOST /partners/{owner_slug}/units. A unit's property must already exist, so send properties in an earlier request than their units.POST /partners/property_ownersagain withpurchase_flow_enabled: truesets the owner toactive.- Prospects resolve against the roster, and renters enroll.
Adding buildings later is limited to steps 3 and 5: new buildings are covered automatically and pay claims to the default account unless the property specifies another.
Errors
Errors use the shared error envelope.
| Status | Meaning |
|---|---|
400 | bad_request: the request body is not valid JSON |
401 | Token missing, expired, or invalid. Refused by the gateway; see Token failures |
403 | The gateway refused your token's scopes, or Greenlight refused the caller (forbidden): your credentials are not registered as a partner, or are not granted this slug |
404 | Unknown owner_slug |
409 | The external_org_id belongs to an owner Greenlight manages directly, or the owner it names no longer exists; coordinate rather than creating it. See Property owners |
422 | The request as a whole is invalid. Each refused field is a detail in error.details |
Every error uses the envelope in Errors. On the collection endpoints a body that is not an array or is over the item limit, or an empty array of bank accounts, is a 422 with one detail whose field is null. An empty array of properties or units is accepted and does nothing.
Per item failures within a collection are returned as 200 with action: "failed" on the affected item, rather than as a request level error. Ambiguous matches, unknown references, and a unit whose name cannot be derived are all per item failures.
Next steps
- Property owners: create an owner and obtain its slug
- Bank accounts: configure claim payouts
- Properties: buildings, matching, and address handling
- Units: units, naming, and matching
- Partner Prospect API: referencing the roster from a prospect
- Recording coverage in the PMS: who records each policy on the resident in the PMS, and what to record when it's you