# RentEngine Public API — full reference > Version 1.39.0. Generated from the OpenAPI spec; every operation, parameter, schema field and webhook is below. OpenAPI: https://app.rentengine.io/openApi/api/public/v1/openApiSpec.yaml Interactive docs: https://docs.rentengine.io/openapi/openapi Servers: - https://app.rentengine.io/api/public/v1 (Production environment) # Guides Integrate your systems anywhere with RentEngine. Changelog: [CHANGELOG.md](https://app.rentengine.io/openApi/api/public/v1/CHANGELOG.md). Compatibility: [compatibility.md](https://app.rentengine.io/openApi/api/public/v1/compatibility.md). Machine-readable overview: [llms.txt](https://app.rentengine.io/llms.txt). Full reference as Markdown: [llms-full.txt](https://app.rentengine.io/llms-full.txt). ## Scope RentEngine runs leasing from the first lead to an approved applicant: listings and syndication, prospects and their conversations, showings and lockboxes, rental applications, screening and the approval decision. This API covers all of it. **Leases are not part of RentEngine.** RentEngine has no e-signing product and no lease records. Once an application is approved, RentEngine passes the applicant to your property management software, where the lease is generated, signed and managed, along with the tenant ledger, rent payments and owner accounting. Integrate with your PMS for those. What this API does record after approval is the prospect's leasing stage. Post `Lease out for signing`, `Lease Signed`, `Deposit Received`, `Move-in Scheduled` or `Moved In` to [`POST /leasing_events`](#tag/leasing-events) to keep RentEngine's pipeline and reporting in step with your PMS, and subscribe to the Leasing events webhook to receive the same stages. ## Authorization This API uses Bearer token authentication with API keys. Follow these steps to obtain and use your API tokens: ### Obtaining API Tokens 1. Log in to your RentEngine [developer portal](https://app.rentengine.io/developer/portal) 2. In the top corner, click the "Create New API Key" button 3. Provide a name for your token (e.g., "Integration Name") 4. Choose the key's access: **Read-only** (GET and HEAD only), **Custom** (the resources you choose; see Token Permissions below) or **Full access** 5. Optionally choose when the key expires 6. Click Create 7. Copy the token to your clipboard and save it securely as it will not be displayed again Keys start with `re_live_`. We store only a hash of each key. Older keys are JWTs (they start with `eyJ`). They keep working, and the developer portal marks them as old format. Replace them with a new key. **Important Security Notice:** Your token will only be displayed ONCE at creation time. Make sure to copy it and store it securely. For security reasons, we cannot display the token again after this point. ### Using API Tokens Include your token in all API requests as a Bearer token in the Authorization header: ``` Authorization: Bearer your_token_here ``` ### Token Security Best Practices - Store tokens securely in environment variables or a secure vault - Never hardcode tokens in your application code - Do not share tokens in public repositories or client-side code - Use separate tokens for different integrations or environments ### Token Permissions Each token generated by a user inherits that user's account permissions. Actions are logged in the name of that user and token. Keys created as **read-only** may call GET and HEAD. POST, PUT, PATCH, and DELETE on `/api/public/v1` return `403` with `code: "read_only_token"`. MCP hides and refuses mutating tools for these keys. Metered GET endpoints (market comps) still bill. Keys created with **Custom** access may call only the resources they were granted, each at Read or Write. Read covers GET and HEAD; Write covers every method and includes Read. Any other request returns `403` with `code: "insufficient_permission"`, and MCP hides and refuses the tools it would need. A Custom key with no Write grant is also read-only, so its writes return `read_only_token`. Every key may call `GET /accounts` and `GET /subteams`. | Resource | Levels | Endpoints | |----------|--------|-----------| | Properties | Read, Write | `/units`, `/multifamily_properties`, `/floorplans`, `/prescreening_templates`. Units include their access instructions, which can hold lockbox codes. | | Prospects | Read, Write | `/prospects`, `/leasing_events`, `/notes`, `/followups` | | Tasks | Read, Write | `/tasks`; Write includes resolving and reopening | | Lockboxes | Read, Write | `/lockboxes`, `/lockbox_events`, `/lockbox_installations`; Write includes updating notes and deleting (`/lockboxes/{id}`), `/lockboxes/generate_code` and `/lockboxes/transfer_accounts` | | Calls & messages | Read | `/calls`, including recordings, and `/messages` | | Rental applications | Read, Write | `/rental_application_groups` and `/rental_applications`, including income, documents and screening status; Write includes creating and editing applications, uploading documents, decisions, revert, regroup and refund | | Screening reports | Read, Write | TransUnion reports from `/rental_applications/{id}/documents/{documentId}`, which also need Rental applications. Write covers `POST /rental_applications/{id}/submit`, which starts paid screening, and `POST /rental_applications/{id}/screening`; both also need Write on Rental applications | | Reporting | Read | `/reporting/*`. Reports include prospect, application and message data. | | Market Tool | Read | `/market-tool/comps` (metered) | | Team | Read, Write | `/users`; Write includes adding users, who get an email, and changing or removing roles, which moves a removed user's showings, leads and units to a teammate | `GET /showings/availability` answers a Custom key without Properties: Read as it answers a request with no key. `POST /showings/create` and `GET /marketing/listings/{accountId}` take no key. Because a token can span several accounts, most endpoints take an `account_id`. Call [`GET /accounts`](#tag/accounts) to list your accounts and look one up by name. ### Invalidating Tokens A key expires only if you chose an expiry when creating it; an expired key is answered with `401` and `code: "api_key_expired"`. If a token is compromised or no longer needed: 1. Log in to your RentEngine [developer portal](https://app.rentengine.io/developer/portal) 2. Find the token you wish to invalidate in the table in the API Keys section 3. Click the "Revoke Token" icon that looks like a trash can Once revoked, a token cannot be restored. You'll need to create a new token if needed. Endpoints that require a token answer a revoked one with `401` and `code: "api_key_revoked"`. A token also stops working once the user who created it is removed from every account they were an owner or member of, or their user is deleted or banned; it is then answered with `401` and `code: "api_key_inactive"`. ### Pagination List endpoints page with the same two query parameters. A few endpoints return a fixed, bounded result set instead of paging (e.g. `GET /market-tool/comps` returns up to 200 most recently active comparables) — these do not accept pagination parameters. **Pagination Parameters** - `limit` - How many items to return per page. The default and maximum depend on the endpoint (see the table below). - `page_number` - Which page to retrieve (0-indexed, default: 0) Example request with pagination: ``` GET /api/public/v1/lockboxes?limit=25&page_number=1 ``` This would return the second page of results with 25 items per page. **Ordering** Each paginated endpoint sorts its rows as the table below says. Where the order ends in `id`, it is total: a row that did not change stays on the same page each time you read it. `GET /calls` and `GET /messages` have no `id` tiebreaker, so two records with the same `created_at` can swap places. The reporting lists follow the dashboard's sort and should be paged over a closed window (see Reporting). Pages are separate reads, not one snapshot: a row created, updated or deleted between two requests can shift later rows by one position. For a complete sync, filter on a closed window (`updated_before`, `created_before`, or a reporting `end` in the past) and page until the last page. | Endpoint | Format | `limit` default / max | Order | |----------|--------|-----------------------|-------| | `GET /units` | A | 50 / 100 | `id` ascending | | `GET /prospects` | A | 50 / 100 | `created_at`, then `id`, ascending | | `GET /lockboxes` | A | 50 / 100 | `created_at`, then `id`, ascending | | `GET /lockbox_events` | A | 50 / 100 | `created_at`, then `id`, ascending | | `GET /lockbox_installations` | A | 50 / 100 | `id` ascending | | `GET /subteams` | A | 50 / 100 | `id` ascending | | `GET /prescreening_templates` | A | 50 / 100 | default template first, then `created_at` and `id`, newest first | | `GET /marketing/listings/{accountId}` | A | 50 / 100 | `id` ascending | | `GET /rental_application_groups` | B | 50 / 100 | `sort` (default `created_at`) in `direction` (default `desc`), then `id` in the same direction | | `GET /tasks` | B | 100 / 1000 | open and `status=all`: `created_at`, then `id`, newest first; resolved: `resolved_at`, then `id`, newest first | | `GET /notes` | B | 100 / 2000 | `created_at`, then `id`, newest first | | `GET /followups` | B | 100 / 2000 | `created_at`, then `id`, newest first | | `GET /leasing_events` | B | 100 / 2000 | `created_at`, then `id`, newest first | | `GET /calls` | B | 100 / 2000 | `created_at`, newest first | | `GET /messages` | B | 100 / 2000 | `created_at`, newest first | | `GET /reporting/*` lists | B | 100 / 2000 (`/reporting/conversations`: 100 / 500) | as the Intelligence dashboard sorts the report (see Reporting) | #### Response Format A — Bare Array (legacy) The JSON body is a bare array containing only the requested page of items, unchanged from earlier `/v1` releases. Pagination metadata is in **response headers** (not the body): | Header | Description | |--------|-------------| | `X-Has-More` | `true` if another page exists, `false` on the last page | | `X-Next-Page-Number` | The `page_number` to request next. Omitted when `X-Has-More` is `false`. | Example response: ```json [ { "id": "...", "...": "..." }, { "id": "...", "...": "..." } ] ``` To iterate, follow `X-Next-Page-Number` until `X-Has-More` is `false`. The older "array shorter than `limit`" rule still works. #### Response Format B — Envelope with Page Metadata The data is wrapped in an envelope with explicit pagination metadata, so you don't have to infer the end of the dataset from the array length. Example response: ```json { "data": [ { "id": "...", "...": "..." }, { "id": "...", "...": "..." } ], "page": { "limit": 50, "page_number": 0, "has_more": true, "next_page_number": 1 } } ``` Fields in the `page` object: - `limit` - The `limit` value used for this response (echoes the request) - `page_number` - The 0-indexed page returned (echoes the request) - `has_more` - `true` if additional pages are available, `false` on the final page - `next_page_number` - The page number to request next, or `null` when `has_more` is `false` To iterate, follow `next_page_number` until it is `null` (or `has_more` is `false`). **Performance Considerations** - Use appropriate `limit` values based on your needs. Smaller values reduce payload size but require more API calls, which can slow down performance and be subject to rate limits. - When filtering data, apply filters in the query parameters first to reduce the total number of items that need to be fetched. ## Rate Limiting To ensure fair usage and protect our infrastructure, all API endpoints are rate limited. Rate limits are applied per user (based on your API token). **Default Rate Limits** | Tier | Requests | Window | |------|----------|--------| | Standard | 30 | 5 seconds | | Strict | 10 | 5 seconds | | Market Tool | 60 | 24 hours | Most endpoints use the "Standard" tier. Endpoints that return PII or stream binary artifacts — `GET /rental_applications/{id}` and `GET /rental_applications/{id}/documents/{documentId}` — use the "Strict" tier (2 req/s). The market comps endpoint — `GET /market-tool/comps` — uses the "Market Tool" tier (60 requests per 24 hours) and is **metered: each successful call incurs a $0.50 charge** to your account. The strict daily limit and per-call charge exist to prevent abuse of this data-intensive endpoint. **Usage Limit** On top of the request tiers, each user's API keys and connected apps (such as AI assistants) share a usage limit based on how much work requests take, not just how many there are. When it's reached, read requests (`GET`) return `429` with code `rate_limited` and a `Retry-After` header. Wait that many seconds before retrying; don't retry immediately or in a loop. Writes (`POST`, `PATCH`, `DELETE`) are never refused by it. To track changes, use webhooks rather than polling: they send changes as they happen and don't count toward this limit. A delivery that fails every retry isn't sent again, so reconcile occasionally (for example, a daily sync) to catch anything missed. If you poll, poll each resource at most every few minutes and reuse results you've already fetched. **Rate Limit Headers** All API responses include headers to help you track your rate limit status: | Header | Description | |--------|-------------| | `X-RateLimit-Limit` | Maximum requests allowed in the current window | | `X-RateLimit-Remaining` | Number of requests remaining in the current window | | `X-RateLimit-Reset` | Unix timestamp (milliseconds) when the rate limit resets | **Handling Rate Limits** When you exceed the rate limit, you'll receive a `429 Too Many Requests` response with a `Retry-After` header indicating how many seconds to wait before retrying. ```json { "error": "Too Many Requests", "code": "rate_limited", "message": "Rate limit exceeded. Please try again later.", "retryAfter": 4 } ``` **Best Practices** - Monitor the `X-RateLimit-Remaining` header to avoid hitting limits - Implement exponential backoff when retrying after a 429 response - Cache responses when possible to reduce API calls - Use webhooks for real-time updates instead of polling ## Errors Bearer-authenticated `/api/public/v1` error JSON includes a human `error` string. Mapped statuses (the table below) also include a stable machine-readable `code`. Branch on `code` when present, not on the message text. Extra fields (`details`, `retryAfter`, `message`) are unchanged. Unmapped statuses and non-JSON errors may omit `code`. | `code` | Typical status | |--------|----------------| | `validation_error` | 400 | | `applicant_no_ssn` | 400 | | `id_verification_expired` | 400 | | `id_verification_incomplete` | 400 | | `applicant_details_rejected` | 400 | | `no_reports_requested` | 400 | | `sms_too_long` | 400 | | `unauthorized` | 401 | | `api_key_revoked` | 401 | | `api_key_inactive` | 401 | | `api_key_expired` | 401 | | `forbidden` | 403 | | `read_only_token` | 403 | | `insufficient_permission` | 403 | | `not_found` | 404 | | `conflict` | 409 | | `screening_already_started` | 409 | | `already_in_group` | 409 | | `decision_already_applied` | 409 | | `id_review_pending` | 409 | | `unprocessable_entity` | 422 | | `rate_limited` | 429 | | `internal_error` | 500 | | `invite_failed` | 502 | | `service_unavailable` | 503 | Unauthenticated POSTs (`POST /showings/create`) are unchanged. A path under `/api/public/v1` that no endpoint matches returns `404` with `code: "not_found"`, for every method and whether or not a key is sent. Check the path and method against this reference. ## Idempotency Bearer-authenticated POST endpoints accept an optional `Idempotency-Key` header (printable ASCII, 1–256 characters, no spaces). Keys are scoped to the authenticated user, HTTP method, and path, and are remembered for 24 hours. Unauthenticated POSTs (`POST /showings/create`) do not honor the header. - The first **2xx** response for a given key is stored for 24 hours. - A retry with the same key and the same body returns that stored response (no second write). - The same key with a different body returns `422`. - A concurrent retry while the first request is still running returns `409`. - `4xx` and `5xx` are not stored, so a later retry with the same key is executed again. One exception: when `POST /rental_applications` creates the application but refuses its details, the error it returns (with the new ids) is stored and replayed on a same-key retry. If you send `Idempotency-Key` and the idempotency store is unavailable, the API returns `503` rather than risk a duplicate write. ## Request tracing Bearer-authenticated `/api/public/v1` responses include `X-Request-Id`. - If you send `X-Request-Id` (printable ASCII, 1–128 characters, no spaces), we echo it. - If you send one that does not meet those constraints, we ignore it and return our own instead — read the value back off the response rather than assuming yours was echoed. - If you send none, we return our internal request id used for tracing. Use `X-Request-Id` to match your logs to the HTTP response, and quote it when contacting support — it is the id in RentEngine logs. It is **not** an idempotency key — use `Idempotency-Key` to prevent duplicate writes. ## Compatibility Additive changes stay on `/api/public/v1`. We will not wrap legacy list arrays in `{ data, page }`. Breaking changes ship under a new path prefix. A breaking change to — or removal of — an existing production endpoint is announced at least 30 days in advance; nothing else carries an advance-notice commitment. Full policy: [compatibility.md](https://app.rentengine.io/openApi/api/public/v1/compatibility.md). ## Webhooks RentEngine provides webhooks to notify your systems about events in real-time. This allows you to build integrations that respond immediately to changes in your RentEngine data. **Setting Up Webhooks** Webhooks can be configured through the RentEngine [developer portal](https://app.rentengine.io/developer/portal). You'll need to specify: 1. The target URL where webhook events should be sent 2. The data you want to monitor (e.g., lockboxes, units, lockbox_events) 3. The event types you want to receive (INSERT, UPDATE, DELETE) Each webhook gets its own signing secret when it is created, and every delivery is signed with it (see Verifying Deliveries). Find it, and rotate it, under **Signing Secret** in the webhook's actions. **Webhook Payload Structure** Webhook payloads follow this general structure: ```json { "type": "INSERT|UPDATE|DELETE", "table": "table_name", "record": { /* The current state of the record (null for DELETE) */ }, "old_record": { /* The previous state of the record (null for INSERT) */ } } ``` The specific fields in `record` and `old_record` will depend on the table that triggered the event. **Event Types** - `INSERT`: Sent when a new record is created - `UPDATE`: Sent when an existing record is modified - `DELETE`: Sent when a record is deleted **Verifying Deliveries** Every delivery is signed in the [Standard Webhooks](https://www.standardwebhooks.com) format, so you can verify it with any of its libraries (JavaScript, Python, Go, Ruby, PHP, Java, Rust and others) or by hand. Each request carries three headers: | Header | Description | |--------|-------------| | `webhook-id` | Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. | | `webhook-timestamp` | Unix seconds when the delivery was queued. Retries carry the original timestamp. | | `webhook-signature` | `v1,` followed by a base64 HMAC-SHA256 signature. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. | The signing secret starts with `whsec_`. To verify by hand: 1. Base64-decode the part of the secret after `whsec_`. That is the HMAC key. 2. Build the signed content: the `webhook-id`, the `webhook-timestamp` and the raw request body, joined with `.`. Use the body exactly as received, before parsing it. 3. Compute HMAC-SHA256 of that content with the key, and base64-encode it. 4. Compare it, in constant time, with each `v1,` signature in `webhook-signature`. 5. Reject the request if `webhook-timestamp` is more than 5 minutes from your current time. With the `standardwebhooks` package for Node.js: ```js import { Webhook } from "standardwebhooks"; const wh = new Webhook(process.env.RENTENGINE_WEBHOOK_SECRET); // whsec_... // rawBody is the request body as a string, before JSON parsing. const event = wh.verify(rawBody, { "webhook-id": req.headers["webhook-id"], "webhook-timestamp": req.headers["webhook-timestamp"], "webhook-signature": req.headers["webhook-signature"], }); // throws if the signature or timestamp is invalid ``` **Rotating the Signing Secret** Rotating gives the webhook a new secret. For the next 24 hours every delivery is signed with both the new and the old secret, so your endpoint keeps verifying while you update it. After 24 hours only the new secret signs. Only one old secret is kept: rotating again within those 24 hours retires the oldest secret at once. **Retries** A delivery counts as received when your endpoint answers with a `2xx` status within 10 seconds. Anything else is retried up to 5 times. When each attempt fails right away, they start at 0:00, 0:10, 0:30, 1:10, 2:30 and 4:40 after the event, so every retry arrives inside the 5-minute window its `webhook-timestamp` allows. An endpoint that takes the full 10 seconds to fail pushes the later attempts back by that much each time. An event that fails every attempt is not sent again. Every retry of a delivery carries the same `webhook-id`, so a handler that records the ids it has processed won't act on a retry twice. Keep your handler idempotent on the record as well: in rare cases the same change can be delivered twice under different ids. **Test Events** **Send Test Event** in the developer portal sends a sample delivery for the webhook's data. It is signed like a real event and carries `X-RentEngine-Test: true`. **Security Considerations** - Use an HTTPS endpoint - Verify `webhook-signature` on every request, and reject a timestamp more than 5 minutes old - Keep the signing secret out of source control, and rotate it if it may have leaked - Webhooks created before version 1.29.0 still send the `X-API-Key` they were set up with, so existing endpoints keep working. New webhooks have no API key. A key proves only that the sender knows it; the signature also proves the body wasn't changed or replayed ## Service Status Live availability and incident history for the API are published at [status.rentengine.io](https://status.rentengine.io). Subscribe there — by email, Slack, RSS, or webhook — to be notified when an incident is opened, updated, or resolved. Check the status page first if you see sustained `5xx` responses or timeouts. If no incident is open and the errors persist, email [eng@rentengine.io](mailto:eng@rentengine.io) with the failing endpoint and the approximate time of the failures in UTC. # Endpoints ## Accounts Operations for listing the accounts a token can act on ### GET /accounts **Get accounts** Operation id: `getAccounts` The RentEngine accounts whose team the token's user is still an active member of, each with its name and ID. **Call this first whenever you know an account by name ("the Toledo account") rather than by ID.** Match on `name`, then pass that row's `account_id` to the other endpoints. If an account you expect is missing, ask for its `account_id` rather than concluding it does not exist. Returns every account at once; not paginated. Responses: - `200`: Success. Returns the accounts this token can act on. - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): array of object - `account_id` (string, uuid; required): Unique identifier for the account. Pass this as `account_id` on other endpoints. - `name` (string; required): Display name of the account, as it appears in RentEngine - `account_role` (string; required; one of `owner`, `member`, `reports_only`, `showing_agent`, `maintenance`): The token user's role on this account ## Reporting Operations for retrieving leasing performance reports and analytics. The row-level `/reporting/*` reports read the same definitions as the Intelligence dashboard, so a row here and the corresponding row in the product agree. Paging is not a transaction: each page is a fresh read, so rows can move between requests. For a consistent sweep, use the largest `limit` allowed and page over a window that has closed. ### GET /reporting/leasing-performance/units/{unitId} **Get unit leasing performance** Operation id: `getUnitLeasingPerformance` Retrieve leasing performance metrics for a specific unit within a date range. This endpoint provides comprehensive leasing activity data including: - Days on market - Property health assessment - Lead volume and conversion metrics - Showing activity (scheduled, completed, upcoming) - Application metrics - Communication activity (texts, calls) - Detailed showing feedback from completed showings Parameters: - `unitId` (path; integer; required): ID of the unit to get leasing performance for - `start` (query; string, date-time; required): Start date/time for the reporting period (ISO 8601 format) - `end` (query; string, date-time; required): End date/time for the reporting period (ISO 8601 format) Responses: - `200`: Success. Returns leasing performance metrics for the unit. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `404`: Unit not found or no leasing performance data available - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object Leasing performance metrics for a unit - `unit_id` (integer; required): ID of the unit - `days_on_market` (integer | null; required): Number of days the unit has been on the market - `property_health` (string; required; one of `Off-Market`, `Healthy`, `At-risk`, `On Hold`, `Waitlist`, `Commercial`, `Unknown`): Overall health assessment of the property listing - `benchmark_leads_since_last_price_change` (integer; required): Expected number of leads based on bedroom count and time since last price change - `last_price_change_date` (string | null, date-time; required): When this unit's rent was last changed, or null if it never has been. A change in either direction - an increase counts, so this is not a price-drop date - and taken across the unit's whole history, so on a re-listed unit it can predate the current listing. Not affected by `start`/`end`. - `leads_since_last_price_change` (integer | null; required): Prospects received since the later of the last rent change and the listing start. On a unit whose rent has never changed - `last_price_change_date` null - that means prospects since it was listed, so this is a count even there. Null only when the unit has no listing performance data at all. Not affected by `start`/`end`. - `new_prospects` (integer; required): Number of new prospects in the reporting period - `showings_scheduled` (integer; required): Number of showings scheduled in the reporting period - `showings_completed` (integer; required): Number of showings completed in the reporting period - `applications_requested` (integer; required): Number of applications requested in the reporting period - `applications_submitted` (integer; required): Number of applications submitted in the reporting period - `active_prospects` (integer; required): Number of active (non-terminal status) prospects in the reporting period - `upcoming_showings` (integer; required): Number of upcoming scheduled showings - `outbound_texts` (integer; required): Number of outbound text messages sent in the reporting period - `total_calls` (integer; required): Total number of calls in the reporting period - `showing_feedback` (array of object; required): Feedback from completed showings in the reporting period - `prospect_id` (integer; required): ID of the prospect who attended the showing - `prospect_name` (string; required): Name of the prospect - `created_at` (string, date-time; required): When the showing was completed - `feedback` (string | null; required): Feedback notes from the showing ### GET /reporting/prospects **List prospects report** Operation id: `getReportingProspects` Row-level prospect data backing the Intelligence dashboard's Prospects table, for the given accounts and date range. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `start` (query; string, date-time; required): Start of the reporting period (ISO 8601, with timezone offset). The span between `start` and `end` must not exceed 32 days. - `end` (query; string, date-time; required): End of the reporting period (ISO 8601, with timezone offset). Must be on or after `start`, and within 32 days of it. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `agent_user_ids` (query; array of string, uuid): On lead reports, the lead's assigned agents, or, when it has none, the agent on its latest showing that was not self-guided. On `/reporting/showings`, the agent who ran the showing. - `prospect_sources` (query; array of string): Lead source. Case and surrounding spaces are ignored. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated prospect report rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for prospect report rows - `data` (array of object; required) - `prospect_id` (integer) - `property_address` (string | null) - `created_at` (string, date-time) - `status` (string): Prospect status. The internal "Ghosting" status is returned as "Unresponsive" to match the product UI. - `name` (string | null) - `phone_number` (string | null) - `email` (string | null) - `source` (string | null) - `assigned_agents` (array | null) - `showing_status` (string | null) - `last_contacted_at` (string | null, date-time) - `prospect_type` (string | null) - `account_id` (string, uuid): The account this prospect belongs to, one of the `account_ids` asked for. - `fraud_flagged` (string | null; one of `Flagged`, `Resolved`, `null`): Fraud Guard state for this prospect's phone number on this account. `Flagged` while any flag on that number is active, `Resolved` once every flag on it has been cleared. Matched by phone number, so it describes the number rather than this one prospect, and it is drawn from the account's whole flag history rather than the requested window. Null means no flag was found: usually never flagged, but also for a prospect whose phone is not a 10-digit US number, and for every row on the page if the flag lookup is briefly unavailable. Do not read null as a guarantee that a number is clean. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/property-performance **List unit performance report** Operation id: `getReportingPropertyPerformance` Per-unit leasing performance backing the Intelligence dashboard's Unit Performance table, for the given accounts and date range. One row per unit. A unit appears when it had a prospect, a booked showing, or an application submitted or approved inside the window, or when it was on the market during it. A unit with no activity in the window has no row. Only the prospect, showing and application counts are limited to the window. Everything else describes the unit as it is now: its configuration, its price history, `upcoming_showings`, and the listing dates `date_marked_available`, `date_marked_unavailable` and `available_since`. `market` carries the unit's median rent, competition and supply-demand from the Market Tool, as of `market.computed_at`. `showing_methods` selects units by the showing method set on the unit. On `/reporting/showings` and `/reporting/applications` the same parameter selects by the method of a showing that happened. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `start` (query; string, date-time; required): Start of the reporting period (ISO 8601, with timezone offset). The span between `start` and `end` must not exceed 32 days. - `end` (query; string, date-time; required): End of the reporting period (ISO 8601, with timezone offset). Must be on or after `start`, and within 32 days of it. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `agent_user_ids` (query; array of string, uuid): On lead reports, the lead's assigned agents, or, when it has none, the agent on its latest showing that was not self-guided. On `/reporting/showings`, the agent who ran the showing. - `prospect_sources` (query; array of string): Lead source. Case and surrounding spaces are ignored. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated unit performance rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for unit performance rows - `data` (array of object; required) - `unit_id` (integer) - `unit_status` (string | null) - `property_type` (string | null) - `unit_created_at` (string | null, date-time) - `unit_price` (number | null): The unit's rent now. - `unit_bedrooms` (number | null) - `unit_sqft` (number | null): Square footage as stored on the unit, published raw. Both `0` and null mean no measurement, so treat `0` as absent rather than as a zero-area unit. - `unit_bathrooms` (number | null) - `unit_earliest_showing_date` (string | null, date) - `community_name` (string | null) - `property_owners` (array of object) - `unit_subteam_name` (string | null) - `showing_method` (string | null): The showing method set on the unit, not the method of a showing that happened. - `last_price_change_date` (string | null, date-time): The later of the unit's last rent change and the start of its current listing. This is the date `lead_count_since_last_price_change` counts from, so on a unit listed after its last rent change it is the listing date. Null if the unit has had neither. - `lead_count_since_last_price_change` (integer | null): Prospects on the unit since `last_price_change_date`. Not limited to the window, and not narrowed by `prospect_sources` or `agent_user_ids`, so it can disagree with `total_new_leads` under those filters. Null when there is no date to count from. - `address` (string | null) - `city` (string | null) - `state` (string | null) - `unit_timezone` (string | null) - `total_new_leads` (integer): Prospects on the unit in the window. - `showings_scheduled` (integer): Showings booked in the window. - `showings_completed` (integer): Showings completed in the window. - `upcoming_showings` (integer): Showings still to come. Counted now, not over the window. - `showing_failed` (integer): Showings in the window that failed. - `missed_showing` (integer): Showings in the window the prospect missed. - `applications_requested` (integer): Applications sent to a prospect in the window. - `applications_received` (integer): Applications submitted in the window. - `applications_approved` (integer): Applications approved in the window. - `date_marked_available` (string | null, date-time): Start of the unit's current listing cycle. - `date_marked_unavailable` (string | null, date-time): When the unit last came off the market. Null while it is still on. A unit that moves to Application Received counts as coming off. - `showing_complete_notes` (string | null): Every completed showing's note for this unit in the window, oldest first, run together. - `showing_complete_context` (array | null): One entry per completed showing in the window, oldest first. Each entry is a JSON string of the feedback captured at that showing. - `price_reduction_count` (integer): How many times the rent has been reduced since the current listing started. Reductions under an earlier listing do not count. - `starting_rent` (number | null): The rent the unit was listed at. - `edited_day_listed` (string | null, date-time) - `excluded_from_dom` (boolean): Whether this unit is left out of days-on-market figures. - `available_since` (string | null, date-time): The later of when the unit last became available and the first date it can be shown, so it can be in the future. - `market` (object | null): The unit's market from its Market Tool view, the same numbers as the Market Rent, Pricing and Supply-Demand columns on the dashboard. Recomputed about once a week while the unit is Available or On Hold, so it describes the market as of `computed_at`, not the report's date range. Null when the unit has no market data from the last 60 days. - `median_rent` (number | null): Median rent of comparable rented homes. Null with fewer than 5 priced rented comps. - `p25_rent` (number | null): 25th percentile of the same rents. Null when `median_rent` is. - `p75_rent` (number | null): 75th percentile of the same rents. Null when `median_rent` is. - `median_days_on_market` (number | null): Median days on market of comparable rented homes. Null with fewer than 5 rented comps. - `available_count` (integer): Comparable homes on the market now: the Market Tool's Competition. 0 with `rented_count` 0 means no comps were found, or the Market Tool could not search: the unit has no map location, or its saved view has no valid area. - `rented_count` (integer): Comparable homes rented in the view's date range, 60 days by default. - `priced_rented_count` (integer): The rented comps with a usable rent, which `median_rent` is taken over. - `supply_demand_ratio` (number | null): `available_count` divided by `rented_count`. Null with fewer than 5 rented comps. - `pricing_position` (string | null; one of `overpriced`, `underpriced`, `stable`, `null`): `unit_price` against `median_rent`: more than 5% above is overpriced, more than 5% below is underpriced. Null when either is null. - `supply_demand_position` (string | null; one of `oversupplied`, `undersupplied`, `stable`, `null`): The Supply-Demand column's reading of `supply_demand_ratio`. Null when the ratio is. - `computed_at` (string, date-time): When these numbers were computed. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/units **List units report** Operation id: `getReportingUnits` The listing audit behind the Intelligence dashboard's Units tab: how each unit is configured now, one row per unit. Leasing funnel counts and price history per unit are on `/reporting/property-performance`. A snapshot of current inventory. It takes no reporting window: `start` and `end` are optional, validated as dates, and do not filter the result. Covers units in `Under Review`, `Available`, `On Hold` or `Withdrawal Requested` whose account has leasing defaults configured. An `Under Review` unit that has never been listed has no `date_marked_available` yet. Ordered by `unit_id` ascending. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated unit report rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for unit report rows - `data` (array of object; required) - `unit_id` (integer) - `address` (string | null) - `date_marked_available` (string | null, date-time): Start of the unit's current listing cycle, which days on market counts from. Null until the unit first moves into `Available`, `On Hold` or `Withdrawal Requested`. - `status` (string | null) - `earliest_move_in_date` (string | null, date) - `earliest_showing_date` (string | null, date) - `subteam_name` (string | null) - `showing_method` (string | null) - `showing_agents` (array | null) - `lockbox_type` (string | null) - `serial_number` (string | null) - `deposit_amount` (number | null) - `target_rental_rate` (number | null) - `move_in_fees` (object | null) - `monthly_fees` (object | null) - `special_offer` (array | null) - `bedrooms` (number | null) - `bathrooms` (number | null) - `prescreen_template_name` (string | null) - `pet_policy` (string | null) - `pet_terms` (string | null) - `custom_app_link` (string | null) - `included_utilities` (array | null) - `property_owners` (array | null) - `structured_access_instructions` (object | null) - `community_name` (string | null) - `re_application_template_name` (string | null) - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/syndication-status **List syndication status report** Operation id: `getReportingSyndicationStatus` The Intelligence dashboard's Syndication Status tab: where each unit's listing stands on the Zillow network and Craigslist, one row per unit, with any Report Listing ticket. Current state, read live from the listing provider for the units on the page. It takes no reporting window: `start` and `end` are optional, validated as dates, and do not filter the result. There is no record of when a status last changed, except Craigslist's `posted_at` and the ticket's `updated_at`. Apartments.com and other sites outside the Zillow network report no status, so they are not included. Covers the same listable units as the dashboard tab. Ordered by `unit_id` ascending. A `503` with `code` `service_unavailable` means the listing provider could not be reached for this page; retry it. Rows are never returned with a missing status in place of a failed lookup. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated syndication status rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for syndication status rows - `data` (array of object; required) - `unit_id` (integer; required) - `address` (string | null; required) - `multifamily_property_id` (string | null, uuid; required) - `community_name` (string | null; required) - `status` (string | null; required): The Zillow status as the dashboard shows it, such as `Posted`, `Pending syndication result`, `Not Posted – Unpaid not allowed`, `Not Posted – Blocked`, `Not Posted – Invalid Data`, `Not Posted – Duplicate` or `Not Posted – Deleted`. Another provider message is passed through as is. `null` when the provider has no record of the listing. - `description` (string | null; required): What the status means and what to do about it, as the dashboard shows it. - `listing_url` (string | null; required): The unit's own Zillow listing when posted; for a community unit without one, the building link. - `partners` (object | null; required): Each Zillow-network site the provider reports on. `null` when the provider has no record of the listing. Only Zillow's status is real-time, as with `craigslist`. For the other sites, `Posted` means the listing was sent there, not that it is live now: a HotPads link can lead to an empty building page once availability dates pass. Check those sites directly before reporting a listing as live. Redfin, Realtor, Rent.com and Apartment Guide are not included: they report no status on most listings and don't guarantee placement. - `zillow` (object): One site's status as the listing provider reports it. - `message` (string | null; required): The provider's own status text, unmapped. - `url` (string | null; required): The listing on that site, when posted. - `hotpads` (object): One site's status as the listing provider reports it. - `message` (string | null; required): The provider's own status text, unmapped. - `url` (string | null; required): The listing on that site, when posted. - `trulia` (object): One site's status as the listing provider reports it. - `message` (string | null; required): The provider's own status text, unmapped. - `url` (string | null; required): The listing on that site, when posted. - `craigslist` (object | null; required): The unit's Craigslist post. `null` when none of the requested accounts posts to Craigslist. A floorplan post is one ad covering every unit of the floorplan, so its `fee_usd`, `views_30d` and `replies_30d` are carried on one of those units, the same one on every page, and are `null` on the others. Sum them across rows for a total; `null` there means "counted on another row", not "missing". Craigslist reports stats only for paid ads, so `views_30d` and `replies_30d` are also `null` on a free ad. - `status` (string): `Posted`, `Posting`, `Removed by Craigslist`, `Taken down`, `Rejected` or `Not posted`. - `url` (string | null) - `posted_at` (string | null, date-time) - `repost_due_at` (string | null, date-time) - `removal_reason` (string | null) - `views_30d` (integer | null): Views in the last 30 days. For a floorplan post, `null` on all but the one unit that carries the post's totals. `null` on a free ad: Craigslist reports stats only for paid ads. - `replies_30d` (integer | null): Replies in the last 30 days. For a floorplan post, `null` on all but the one unit that carries the post's totals. `null` on a free ad: Craigslist reports stats only for paid ads. - `fee_usd` (number | null): What the account was billed for the current post. For a floorplan post, `null` on all but the one unit that carries the post's totals. - `support_ticket` (object | null; required): The unit's most recent Report Listing ticket, or `null` when it has none. - `id` (string, uuid) - `status` (string; one of `Reported`, `Submitted to ILS`, `Pending Customer Feedback`, `Resolved`) - `ils` (string) - `reported_problem` (string) - `resolution` (string | null) - `created_at` (string, date-time) - `updated_at` (string, date-time) - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/showings **List showings report** Operation id: `getReportingShowings` Row-level showing data backing the Intelligence dashboard's Showings table, for the given accounts and date range. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `start` (query; string, date-time; required): Start of the reporting period (ISO 8601, with timezone offset). The span between `start` and `end` must not exceed 32 days. - `end` (query; string, date-time; required): End of the reporting period (ISO 8601, with timezone offset). Must be on or after `start`, and within 32 days of it. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `agent_user_ids` (query; array of string, uuid): On lead reports, the lead's assigned agents, or, when it has none, the agent on its latest showing that was not self-guided. On `/reporting/showings`, the agent who ran the showing. - `prospect_sources` (query; array of string): Lead source. Case and surrounding spaces are ignored. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated showing report rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for showing report rows - `data` (array of object; required) - `showing_id` (integer) - `prospect_id` (integer) - `property_address` (string | null) - `timezone` (string | null) - `prospect_name` (string | null) - `phone_number` (string | null) - `email` (string | null) - `status` (string | null) - `feedback` (string | null): Showing feedback. Falls back to structured feedback context when no free-text note was recorded. - `created_at` (string | null, date-time) - `showing_agent` (string | null) - `showing_method` (string): How this showing was run. The method recorded on the showing itself, not the unit's current policy, so a unit whose policy changed since still reports its older showings under the method they were run under. Always one of the values the `showing_methods` filter accepts, so a value read from a row can be sent straight back as a filter. - `is_virtual_tour` (boolean): True when this is an accompanied showing run over video rather than in person. There is no separate showing method for it, so this is the only way to tell an accompanied virtual tour from an in-person one. Always false unless `showing_method` is `Accompanied`. - `planned_date_time` (string, date-time) - `prospect_type` (string | null) - `is_rescheduled` (boolean | null): Whether a canceled showing was canceled as part of a reschedule. Null when the showing was not canceled. - `is_auto_canceled` (boolean | null): Whether a canceled showing was auto-canceled by the system. Null when the showing was not canceled. - `canceled_by` (string | null): Who canceled: a name, an email address where no name is on file, `Current tenant`, or `Prospect`. Null when the showing was not canceled, so test `status` for that. - `cancellation_reason` (string | null): The reason typed by whoever canceled. Null whenever none was typed, which is normal for automatic cancellations and reschedules. - `prospect_current_status` (string | null): The prospect's status now, not at the time of the showing. Reports `Ghosting` where `/reporting/prospects` reports `Unresponsive`. - `updated_at` (string | null, date-time) - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/prescreening **List prescreening report** Operation id: `getReportingPrescreening` Row-level prescreening data backing the Intelligence dashboard's Prescreening table, for the given accounts and date range. One row per prospect: their most recent prescreen SUBMITTED INSIDE the requested window, so a narrower window returns an earlier prescreen rather than none. A prospect with no unit of interest has no row, because the property on the row comes from that unit. Prospects in `Duplicate Lead` are excluded. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `start` (query; string, date-time; required): Start of the reporting period (ISO 8601, with timezone offset). The span between `start` and `end` must not exceed 32 days. - `end` (query; string, date-time; required): End of the reporting period (ISO 8601, with timezone offset). Must be on or after `start`, and within 32 days of it. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `agent_user_ids` (query; array of string, uuid): On lead reports, the lead's assigned agents, or, when it has none, the agent on its latest showing that was not self-guided. On `/reporting/showings`, the agent who ran the showing. - `prospect_sources` (query; array of string): Lead source. Case and surrounding spaces are ignored. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated prescreening report rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for prescreening report rows - `data` (array of object; required) - `prescreen_id` (integer) - `property_address` (string | null) - `prospect_id` (integer) - `prospect_name` (string | null) - `phone_number` (string | null) - `email` (string | null) - `created_at` (string, date-time) - `prescreen_template_name` (string): The prescreen template set on the unit now, which is not necessarily the one this prescreen was answered against. `Default Template` when the unit has none of its own. - `status` (string | null): Outcome of this prescreen. Typical values: `Prescreen Approved`, or `Prescreen Rejected - `. This is the approval/rejection signal — not the presence of `prescreen_answers.rejectionLogic`. - `prescreen_answers` (object | null): SENSITIVE. The applicant's prescreening submission, plus a snapshot of the screening criteria in force when they submitted. Contains self-reported financial information and, in `questions`, the housing-voucher answer - FCRA / fair-housing adjacent. Previously documented as an opaque object; the sub-schema below is what the endpoint has always returned. - `income` (number | string | null): SENSITIVE. Applicant's self-reported monthly income. Not verified by RentEngine. When the template collects an exact figure this is a number (monthly, not annual). When it collects a range this is a bucket string such as `$5000-$6000/month` or `$6,000+/month` (see PrescreenStep). RentEngine evaluates a range at its upper bound when comparing against `rejectionLogic.minimumIncomeAmount` / rent × multiplier. Do not parse with `Number(...)` — that yields NaN on buckets — and do not treat a numeric value as annual. - `creditScore` (number | string | null): SENSITIVE. Applicant's self-reported credit score. Not a bureau-pulled score and not verified by RentEngine. When the template collects an exact figure this is a number; when it collects a range this is a bucket string such as `Under 550` or `700+`. RentEngine evaluates a range at its upper bound. Do not parse with `Number(...)` — that yields NaN on buckets. - `questions` (array of object): SENSITIVE. The applicant's answers to the template's questions. Includes the housing-voucher question where the template asks it. - `question` (string; required): The question text - `fixedQuestionType` (string): Fixed question type identifier - `type` (string; required; one of `yes_no`, `free_text`, `date_picker`): Question type. Discriminates the type of `answer`. - `answer` (boolean | string; required): The prospect's answer. Boolean when `type` is `yes_no`; a string when `type` is `free_text` or `date_picker`. `date_picker` answers are `MM/DD/YYYY` (US format, as written by the prescreen form) — not ISO. `Date.parse` and ISO parsers will reject or misread them (e.g. `05/14/2026`). Previously documented as boolean only, which was wrong for two of the three question types. - `rejectionLogic` (object | null): SENSITIVE. Snapshot of the ACCOUNT'S screening criteria at submission time - not applicant data. Presence of the key is not a rejection signal: `status` on this row is. The key is commonly present on approved rows as well as rejected ones. Passing showing-scheduler inserts stamp it onto the approved row, and PM-bypass approval copies the previous row's whole `prescreen_answers` forward (so an approved row can inherit a snapshot written for a prior rejection). Some inserts still omit the key — the default write is `{income, creditScore, questions}` with no `rejectionLogic`. Do not branch on whether this key is present. Recorded so a decision can be reproduced later. Exposes the thresholds at which applicants are rejected, including `questions[].rejectAnswers` (the answers that auto-reject). Distinct from the sibling `prescreen_answers.questions`, which are the applicant's answers under the same name. The sub-schema below is the full snapshot this endpoint returns. - `minimumCreditScore` (number | null): Credit score at or above which the applicant passes. - `minimumIncomeAmount` (number | null): Absolute minimum monthly income required. - `minimumIncomeRentMultiplier` (number | null): Required income as a multiple of the unit's rent. - `targetRent` (number | null): Rent the income multiplier was applied against. - `housingVoucherBypassesIncome` (boolean | null): Whether holding a housing voucher waives the income test. - `housingVoucherBypassesCredit` (boolean | null): Whether holding a housing voucher waives the credit test. - `bypassIncomeAndCreditQuestions` (boolean | null): Whether the template skipped income and credit questions entirely. - `unitEarliestMoveInDate` (string | null): Unit earliest-move-in date snapshotted at submission, used to reproduce the preferred-move-in-date rejection without re-reading the unit. - `unitTimezoneName` (string | null): IANA timezone of the unit at submission (e.g. America/New_York). Date rejection is evaluated in this zone. - `maxAcceptableMoveInDate` (string | null): Pre-computed maximum acceptable move-in date in the unit's timezone (ISO YYYY-MM-DD) at submission. - `portfolioMaxMoveInGapDaysAtSubmission` (number | null): Snapshot of the portfolio `max_move_in_gap_days` setting at submission. Null when the portfolio setting was not readable. - `questions` (array of object): SENSITIVE. The ACCOUNT'S auto-reject criteria — not the applicant's answers. Those live in the sibling `prescreen_answers.questions` and are a different shape under the same name. Each item's `rejectAnswers` are the answers that trigger rejection, including on the housing-voucher question. - `question` (string): Question text as it appeared on the template. - `rejectAnswers` (array of string): SENSITIVE. Literal answers that auto-reject an applicant for this question. - `fixedQuestionType` (string | null): System-owned question identifier when this is a fixed question. - `moveInRejectionDays` (number | null): For preferred_move_in_date only: effective upper-bound day count applied at submission. - `moveInRejectionSource` (string | null): For preferred_move_in_date only: which dial drove the threshold (`override` or `portfolio`). - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/calls **List calls report** Operation id: `getReportingCalls` Row-level call data backing the Intelligence dashboard's Calls table, for the given accounts and date range. Each row is a call that connected (`status` `answered`) or did not (`status` `missed`). A missed call is one that rang out, was refused, or failed to connect: `no-answer`, `busy`, `missed-transfer`, `failed`. Excluded: a call still in flight (`queued`, `initiated`, `ringing`, `in-progress`), a `canceled` call, and a completed call whose legs record no completed leg. An outbound completed call with a single leg is also excluded, because the report reaches the agent on an outbound call through its second leg. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `start` (query; string, date-time; required): Start of the reporting period (ISO 8601, with timezone offset). The span between `start` and `end` must not exceed 32 days. - `end` (query; string, date-time; required): End of the reporting period (ISO 8601, with timezone offset). Must be on or after `start`, and within 32 days of it. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `agent_user_ids` (query; array of string, uuid): On lead reports, the lead's assigned agents, or, when it has none, the agent on its latest showing that was not self-guided. On `/reporting/showings`, the agent who ran the showing. - `prospect_sources` (query; array of string): Lead source. Case and surrounding spaces are ignored. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated call report rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for call report rows - `data` (array of object; required) - `name` (string | null) - `created_at` (string, date-time) - `user_id` (string | null) - `call_direction` (string | null) - `status` (string | null) - `call_sid` (string | null) - `contact_number` (string | null) - `call_duration` (integer | null): Call duration in seconds. - `prospect_name` (string | null) - `transfer_destination` (string | null): Where a Voice AI call was handed off, when it was: the number that was dialled, or, for a hand-off to a team member, their name and forwarding number, with either half dropped when it is not on file. Null on a call the AI did not escalate, and also on an escalated call whose hand-off could not be resolved, so null is not proof that no transfer happened. - `outcome` (string | null; one of `Escalated`, `Success`, `Failure`, `null`): How a Voice AI call ended. `Escalated` means the AI handed the call off; it wins over the other two, and it records that a hand-off was attempted rather than that anyone answered it. `Success` and `Failure` are the result the AI itself recorded, and `Success` wins where a call recorded both. Null on a call Voice AI did not handle, and on one it handled without recording a result. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/marketing-sources **List marketing sources report** Operation id: `getReportingMarketingSources` Per-source marketing performance backing the Intelligence dashboard's Marketing Sources table, for the given accounts. A cohort report. `start` and `end` select the prospects CREATED in that window, and the stage columns then count how many of those prospects ever reached each stage, whenever it happened. Counts here will not match the showings and applications reports, which window on the event itself. `apps_approved` is the exception, windowed on the approval. `upcoming_showings` ignores the window entirely. Co-applicants and duplicate prospects are excluded. Ordered by `leads` descending, then `source_key` ascending. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `start` (query; string, date-time; required): Start of the reporting period (ISO 8601, with timezone offset). The span between `start` and `end` must not exceed 32 days. - `end` (query; string, date-time; required): End of the reporting period (ISO 8601, with timezone offset). Must be on or after `start`, and within 32 days of it. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `agent_user_ids` (query; array of string, uuid): On lead reports, the lead's assigned agents, or, when it has none, the agent on its latest showing that was not self-guided. On `/reporting/showings`, the agent who ran the showing. - `prospect_sources` (query; array of string): Lead source. Case and surrounding spaces are ignored. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated marketing-source report rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for marketing-source report rows - `data` (array of object; required) - `source_key` (string): The value rows are grouped by, matched without regard to case or surrounding spaces. An empty string is the group for prospects with no source recorded. Never null. - `source_display` (string): The label for the group: the most common spelling among its prospects, so `Zillow` is shown for a group also holding `zillow`. `N/A` for the group with no source recorded. Never null. - `leads` (integer): Prospects from this source created inside the window. - `showings_scheduled` (integer): Of those prospects, how many ever reached a scheduled showing, whenever it was scheduled. - `showings_completed` (integer): Of those prospects, how many ever completed a showing, whenever it was completed. - `upcoming_showings` (integer): Showings still to come for this source, counted now rather than over the window, and counted per SHOWING rather than per prospect. A prospect with two booked showings counts twice here and once in every other column. - `applications_requested` (integer): Of those prospects, how many were ever sent an application. - `applications_submitted` (integer): Of those prospects, how many ever submitted an application. - `apps_approved` (integer): Application groups from this source approved inside the window. The only stage column windowed on its own event rather than counted over the prospect's whole history. - `rejected_prescreens` (integer): Of those prospects, how many were ever rejected at prescreen. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/overview **Get overview metrics** Operation id: `getReportingOverview` The Intelligence dashboard's Overview scorecards for the given accounts and window, as one object. Every field is always present, and null when there is nothing to measure. `active_units`, `active_prospects` and `aged_dom` are snapshots of now and ignore the window. The other fields are measured over it, each as described on the field. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `start` (query; string, date-time; required): Start of the reporting period (ISO 8601, with timezone offset). The span between `start` and `end` must not exceed 32 days. - `end` (query; string, date-time; required): End of the reporting period (ISO 8601, with timezone offset). Must be on or after `start`, and within 32 days of it. Responses: - `200`: The overview metrics. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object The Overview scorecards for the requested accounts and window - `data` (object; required) - `active_units` (integer | null; required): Units on the market now. Ignores the window. - `active_prospects` (integer | null; required): Live prospects interested in a unit, now. Ignores the window. - `leased_dom` (number | null; required): Average days on market of the units that leased in the window. - `aged_dom` (number | null; required): Average days on market so far of the units on the market now. Ignores the window. - `answered_inbound_calls` (integer | null; required): Inbound calls in the window that were answered. - `total_inbound_calls` (integer | null; required): Inbound calls in the window that were answered or missed. Calls still in progress are left out. - `call_answer_rate` (number | null; required): `answered_inbound_calls` / `total_inbound_calls`, from 0 to 1. - `sms_response_seconds` (number | null; required): Median seconds for a person on your team to reply to an inbound text asked in the window. Outliers and trivial replies are excluded. - `sms_response_seconds_with_ai` (number | null; required): The same median, counting replies from the AI as well. - `time_to_showing_scheduled_hours` (number | null; required): Median hours from a prospect's arrival to their first showing being scheduled, over prospects whose first scheduling fell in the window. - `time_to_showing_complete_hours` (number | null; required): Median hours from arrival to first completed showing, over first completions in the window. - `time_to_application_submitted_hours` (number | null; required): Median hours from arrival to first submitted application, over first submissions in the window. - `application_processing_hours` (number | null; required): Median hours from submission to decision, over RentEngine applications decided in the window. - `total_submitted_applications` (integer | null; required): RentEngine applications submitted in the window. - `ai_performance_rate` (number | null; required): Share of prospects who reached Application Received in the window without a person acting on the AI's drafts, from 0 to 1. ### GET /reporting/conversations **List conversations** Operation id: `getReportingConversations` The Command Center inbox: one row per conversation, meaning one phone number in one account, with a text, a call or an email after `since`, or with no messages yet and a new lead after `since`. Other leasing events, such as an application, do not count as activity. Ordered by `last_activity_at` descending, newest first. Each page is read fresh and may lag recent activity by a few seconds. New activity between two requests moves a conversation to the top, so a sweep across pages can repeat it or skip it. To read a window completely, use a `limit` large enough for one page, or sweep again with an overlapping `since`; de-duplicate on `account_id` plus `contact_phone`, or `prospect_id` for a lead with no phone. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `since` (query; string, date-time; required): Include activity after this time, exclusive (ISO 8601, with timezone offset). At most 32 days ago. - `statuses` (query; array of string): Only conversations with a prospect in one of these statuses. Repeat the parameter for each status (`statuses=New&statuses=Showing%20Scheduled`): statuses can contain commas, so a comma-separated value is refused. - `unanswered_only` (query; boolean; default `false`): Only conversations waiting on your team: the last message is unanswered or the conversation is escalated, no follow-up reminder is set, and the last message is not an opt-out such as STOP. - `agent_user_ids` (query; array of string, uuid): Only conversations assigned to one of these agents, or with a showing they are assigned to. - `unit_ids` (query; array of string): Only conversations with a prospect interested in one of these units. Widens rather than narrows when combined with `multifamily_property_ids`. - `multifamily_property_ids` (query; array of string, uuid): Only conversations with a prospect interested in one of these communities or a unit in one. - `limit` (query; integer; default `100`; min 1; max 500): Maximum number of rows to return per page (default 100, max 500). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated conversations. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the read exceeded its time budget for this account and is not worth retrying unchanged; its cost follows the window, so move `since` later. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for conversations - `data` (array of object; required) - `account_id` (string, uuid; required) - `contact_name` (string | null; required) - `contact_phone` (string | null; required): The prospect's phone number. Null for a lead with no phone (see `prospect_id`). - `prospect_id` (integer | null; required): The prospect, set only for a lead with no phone. - `to_number` (string | null; required): Recipient of the last message. - `from_number` (string | null; required): Sender of the last message. - `statuses` (array of string; required): Current statuses of the prospect's records on this conversation. - `subteam_id` (string | null, uuid; required) - `unit_id` (integer | null; required): The unit of the conversation's newest prospect record. - `multifamily_property_id` (string | null, uuid; required) - `floorplan_id` (string | null, uuid; required) - `formatted_address` (string | null; required) - `multifamily_property_name` (string | null; required) - `number_of_addresses` (integer | null; required): Distinct places the prospect is interested in. - `unit_labels` (array of string; required): One entry per prospect record that has an address. - `leasing_url` (string | null; required): The leasing page for the unit, when it has one. - `last_message` (string | null; required) - `last_message_direction` (string | null; required; one of `inbound`, `outbound`, `null`): Null when the latest activity is a leasing event rather than a message. - `last_activity_at` (string | null, date-time; required): When the latest text, call or email on the conversation happened, or, on a conversation with no messages yet, when the lead came in. - `unresponded` (boolean | null; required): True when the last message is waiting on a reply. - `assigned_to_user_ids` (array of string, uuid; required) - `is_escalated` (boolean | null; required) - `hot_lead` (boolean | null; required) - `remind_at` (string | null, date-time; required): When the next follow-up reminder is due. - `showing_today_at` (string | null, date-time; required): Start of today's showing, if there is one. - `lead_created_at` (string | null, date-time; required) - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/applications **List applications report** Operation id: `getReportingApplications` Row-level application-group data backing the Intelligence dashboard's Applications table, one row per application group. An ACTIVITY window, not a date range on `started_at`. A group is included when any of these happened inside `start`/`end`: it was started, submitted or last updated; it was approved, rejected, conditionally approved or archived; or one of its applicants saw an application event. So `started_at` and `submitted_at` can fall outside the window, and a group touched in two windows is returned by both. De-duplicate on `application_group_id` when sweeping consecutive periods. Groups in which no applicant has entered a name are excluded. Ordered by `started_at` descending. `started_at` is not unique, so rows sharing one can move between pages. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `start` (query; string, date-time; required): Start of the reporting period (ISO 8601, with timezone offset). The span between `start` and `end` must not exceed 32 days. - `end` (query; string, date-time; required): End of the reporting period (ISO 8601, with timezone offset). Must be on or after `start`, and within 32 days of it. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `agent_user_ids` (query; array of string, uuid): On lead reports, the lead's assigned agents, or, when it has none, the agent on its latest showing that was not self-guided. On `/reporting/showings`, the agent who ran the showing. - `prospect_sources` (query; array of string): Lead source. Case and surrounding spaces are ignored. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated application report rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for application report rows - `data` (array of object; required) - `application_group_id` (string, uuid) - `lead_applicant` (string | null) - `address` (string | null) - `status` (string | null) - `refunded_amount` (number | null) - `submitted_at` (string | null, date-time) - `started_at` (string | null, date-time) - `processed_at` (string | null, date-time) - `processing_time_hours` (number | null) - `subteam_name` (string | null) - `agent_name` (string | null) - `num_applicants` (integer | null) - `income_details` (array of object): SENSITIVE. Self-reported income sources on the group's primary application: a breakdown, not a total, and not the whole group's. Where that application carries no name, `lead_applicant` names a different person. Empty array when none was reported; never null. - `incomeType` (string) - `employerName` (string) - `monthlyIncome` (string) - `positionTitle` (string) - `supervisorName` (string | null) - `supervisorPhone` (string | null) - `supervisorEmail` (string | null) - `permitEmployerContact` (string | boolean | null) - `address` (string) - `paymentMethod` (string) - `startDate` (string) - `endDate` (string) - `isCurrent` (boolean): The applicant still receives this income - `recordedAt` (string, date): Date the amount was first entered (YYYY-MM-DD) - `sourceName` (string) - `universityName` (string) - `benefitSource` (string) - `gradDate` (string) - `referenceCheckId` (string) - `current_workflow_step` (string | null) - `current_workflow_owner` (string | null) - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /reporting/agent-performance **List agent performance report** Operation id: `getReportingAgentPerformance` Per-agent performance metrics backing the Intelligence dashboard's Agent Performance table, for the given accounts and date range. `agent_user_ids` chooses which agents get a row; it does not narrow what a row counts. Every other filter narrows every column except four: `calls_made`, `calls_answered`, `median_call_minutes` and `messages_sent`. A call or a text has no unit to read a filter from, so those four are credited to whoever placed or sent them and count the agent's whole period, which can include activity on prospects your filter excludes. `subteam_ids` is the exception there - it is applied to the agent, so it does narrow them. `upcoming_showings`, `unanswered_prospects`, `active_prospects` and `lifetime_days_on_market` are live snapshots: `start` and `end` do not filter them. Rows include an `Unassigned` bucket, holding activity on prospects nobody owns, which is omitted when `agent_user_ids` or `subteam_ids` is set. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `start` (query; string, date-time; required): Start of the reporting period (ISO 8601, with timezone offset). The span between `start` and `end` must not exceed 32 days. - `end` (query; string, date-time; required): End of the reporting period (ISO 8601, with timezone offset). Must be on or after `start`, and within 32 days of it. - `subteam_ids` (query; array of string, uuid): Subteam that owns the unit. - `multifamily_property_ids` (query; array of string, uuid): Communities to include. Widens rather than narrows when combined with `unit_ids`. - `unit_ids` (query; array of string): Units to include. Widens rather than narrows when combined with `multifamily_property_ids`. - `zip_codes` (query; array of string): ZIP code of the unit's address. - `owner_ids` (query; array of string, uuid): Property owners. A unit with several owners matches any of them. - `floorplan_ids` (query; array of string, uuid): The unit's floorplan. - `agent_user_ids` (query; array of string, uuid): On lead reports, the lead's assigned agents, or, when it has none, the agent on its latest showing that was not self-guided. On `/reporting/showings`, the agent who ran the showing. - `prospect_sources` (query; array of string): Lead source. Case and surrounding spaces are ignored. - `showing_methods` (query; array of string): Showing method. - `bedrooms` (query; array of string): Exact count, or `5+` for that many and above. - `bathrooms` (query; array of string): Exact count such as `1.5`, or `3+` for that many and above. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated agent-performance report rows. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Branch on the value of `code`, not on the status. With `code: "report_timeout"` the report exceeded its time budget for this account and is not worth retrying unchanged - a narrower `start`/`end` will not necessarily help, because these reports do not cost in proportion to the window. With `code: "service_unavailable"` a dependency was briefly unavailable and the request is worth retrying. `200` body (`application/json`): object Paginated envelope for agent-performance report rows - `data` (array of object; required) - `agent_user_id` (string): The agent's user id. An empty string for the `Unassigned` row, which holds activity on prospects nobody owns. - `agent_name` (string): The agent's name, or their email address where no name is on file. `Unassigned` for the row holding activity on prospects nobody owns. - `showings_scheduled` (integer) - `showings_completed` (integer) - `upcoming_showings` (integer) - `rescheduled_showings` (integer) - `auto_canceled_showings` (integer) - `prospect_canceled_showings` (integer) - `agent_canceled_showings` (integer) - `missed_showings` (integer) - `failed_showings` (integer) - `apps_requested` (integer) - `apps_submitted` (integer) - `apps_approved` (integer) - `calls_made` (integer) - `calls_answered` (integer) - `messages_sent` (integer) - `inbound_calls_missed` (integer) - `median_call_minutes` (number | null) - `median_hours_to_first_contact` (number | null) - `unanswered_prospects` (integer) - `showings_with_feedback_pct` (number | null) - `prospects_contacted` (integer): Leads the agent reached at least once during the period. - `assigned_prospects` (integer): Leads attributed to the agent that had any leasing activity in the period — the denominator for the agent's lead-to-application rate. - `active_prospects` (integer): Size of the agent's book right now: leads attributed to them that are not in a terminal status. A LIVE SNAPSHOT — `start` and `end` do not filter it, so two different windows return the same number. Includes leads with no unit of interest, so this will sum higher than the account-level active-prospect figure, which counts only unit-bound leads; the two answer different questions. - `avg_response_minutes` (number | null): Mean minutes from an inbound message to the agent's first reply, over replies within a week. Null when the agent replied to nothing in the period. Not comparable with `median_hours_to_first_contact`, which is a median, in hours, of first OUTREACH to a new lead. - `avg_response_minutes_business_hours` (number | null): `avg_response_minutes` over the same replies, counting only the minutes inside the account's office hours (Company Info), in the account's timezone. Accounts with no office hours set use Monday to Friday, 9 AM to 5 PM. A reply that waited only outside office hours counts as 0, so this is never above `avg_response_minutes`. Null when `avg_response_minutes` is null. - `median_response_minutes` (number | null): Median of the same replies as `avg_response_minutes`, in minutes. A few long waits pull an average up but not a median, so this is usually the better read of how fast an agent replies. An even count averages the two middle replies. Null when `avg_response_minutes` is null. - `median_response_minutes_business_hours` (number | null): Median of the same replies as `avg_response_minutes_business_hours`, counting only minutes inside the account's office hours. Null when `avg_response_minutes` is null. - `lifetime_days_on_market` (number | null): Mean days on market of the distinct units behind the agent's leads, in each unit's own timezone, over the unit's whole listing life rather than the requested window. Null when no unit in scope has a days-on-market figure. - `avg_showing_rating` (number | null): Mean rating of the agent's rated showings. Null when none were rated. - `showings_rated` (integer): Rated showings behind `avg_showing_rating` — one per showing, however many ways it was rated. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ## Lockboxes Operations for managing lockboxes ### GET /lockboxes **Get lockboxes** Operation id: `getLockboxes` Retrieve lockboxes with optional filtering and pagination Parameters: - `serial_numbers` (query; array of string): Filter by comma-separated list of lockbox provider serial numbers - `lockbox_ids` (query; array of string): Filter by comma-separated list of RentEngine lockbox IDs - `account_id` (query; string): Filter by lockboxes associated with a specific RentEngine account by the account's id - `lockbox_type` (query; string; one of `Codebox`, `Sentrilock`, `IglooWorks`, `eRentalLock`, `PointCentral`, `Master Lock`, `Rently`, `TTLock`, `Manual`): Filter by lockbox type. All types are filterable; note that CREATING lockboxes via the API takes Sentrilock and Manual only (see PostLockboxesRequest). - `limit` (query; integer; default `50`; min 1; max 100): Maximum number of items to return per page (default 50, max 100) - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0) Responses: - `200`: Success. Returns a list of lockboxes. Pagination metadata is in `X-Has-More` / `X-Next-Page-Number`. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error Response headers: `X-Has-More`, `X-Next-Page-Number` `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier - `lockbox_type` (string; required; one of `Codebox`, `Sentrilock`, `IglooWorks`, `eRentalLock`, `PointCentral`, `Master Lock`, `Rently`, `TTLock`, `Manual`): Lockbox hardware/provider type - `serial_number` (string; required): Serial number of the lockbox - `account_id` (string; required): ID of the account that owns the lockbox - `created_at` (string, date-time; required): Timestamp when the lockbox was created - `updated_at` (string, date-time; required): Timestamp when the lockbox was last updated - `deleted` (boolean | null): True when the lockbox has been deleted. `GET /lockboxes` still lists deleted lockboxes. - `box_data` (object | null): Extra lockbox data. `notes` holds the lockbox's notes; set them with `PATCH /lockboxes/{id}`. Other keys depend on the lockbox type and may change. - `notes` (string): The lockbox's notes. An empty string means none. - `code` (string): A Manual lockbox's fixed code. Other types leave it out. ### POST /lockboxes **Create lockboxes** Operation id: `postLockboxes` Create Sentrilock or Manual lockboxes. A Manual lockbox is any box with a fixed code you set on it by hand; send that code as `code`, and every serial in the request gets it. Generating a code for a Manual lockbox by `lockbox_id` or `unit_id` returns this code. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `lockbox_type` (string; required; one of `Sentrilock`, `Manual`): Type of lockbox. Only Sentrilock and Manual can be created through the API. - `serial_numbers` (array of string; required): List of serial numbers for the lockboxes to create - `account_id` (string; required): ID of the account to associate with the lockboxes - `code` (string): The fixed code set on a Manual lockbox, 3 to 10 digits. Required when `lockbox_type` is `Manual`, and rejected for any other type. Read back as `box_data.code` on `GET /lockboxes`. ```json { "lockbox_type": "Sentrilock", "serial_numbers": [ "1234567", "7654321" ], "account_id": "4b88ff32-8ba0-4bbf-8e60-c789909ac176" } ``` Responses: - `201`: Lockboxes created successfully - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `409`: A lockbox with one of these serial numbers already exists (a Manual serial is unique within its account, any other serial across all accounts), or a request with this Idempotency-Key is already in progress. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `201` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier - `lockbox_type` (string; required; one of `Codebox`, `Sentrilock`, `IglooWorks`, `eRentalLock`, `PointCentral`, `Master Lock`, `Rently`, `TTLock`, `Manual`): Lockbox hardware/provider type - `serial_number` (string; required): Serial number of the lockbox - `account_id` (string; required): ID of the account that owns the lockbox - `created_at` (string, date-time; required): Timestamp when the lockbox was created - `updated_at` (string, date-time; required): Timestamp when the lockbox was last updated - `deleted` (boolean | null): True when the lockbox has been deleted. `GET /lockboxes` still lists deleted lockboxes. - `box_data` (object | null): Extra lockbox data. `notes` holds the lockbox's notes; set them with `PATCH /lockboxes/{id}`. Other keys depend on the lockbox type and may change. - `notes` (string): The lockbox's notes. An empty string means none. - `code` (string): A Manual lockbox's fixed code. Other types leave it out. ### PATCH /lockboxes/{id} **Update a lockbox's notes** Operation id: `patchLockbox` Set the notes on one lockbox, the same notes shown on the Lockboxes page in RentEngine. Only `notes` can be changed. Other lockbox data, such as provider details, is kept. Send `null` or `""` to clear the notes. A deleted lockbox returns `404`. Needs a key with Lockboxes: Write, from a user on the lockbox's account. Parameters: - `id` (path; string, uuid; required): The lockbox's RentEngine id. Request body (`application/json`): object - `notes` (string | null; required): The lockbox's new notes. `null` or `""` clears them. ```json { "notes": "Front door, left side of the porch" } ``` Responses: - `200`: The updated lockbox. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The API key is read-only, or is a Custom key without Lockboxes: Write. - `404`: Not found. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object - `id` (string, uuid; required): Unique identifier - `lockbox_type` (string; required; one of `Codebox`, `Sentrilock`, `IglooWorks`, `eRentalLock`, `PointCentral`, `Master Lock`, `Rently`, `TTLock`, `Manual`): Lockbox hardware/provider type - `serial_number` (string; required): Serial number of the lockbox - `account_id` (string; required): ID of the account that owns the lockbox - `created_at` (string, date-time; required): Timestamp when the lockbox was created - `updated_at` (string, date-time; required): Timestamp when the lockbox was last updated - `deleted` (boolean | null): True when the lockbox has been deleted. `GET /lockboxes` still lists deleted lockboxes. - `box_data` (object | null): Extra lockbox data. `notes` holds the lockbox's notes; set them with `PATCH /lockboxes/{id}`. Other keys depend on the lockbox type and may change. - `notes` (string): The lockbox's notes. An empty string means none. - `code` (string): A Manual lockbox's fixed code. Other types leave it out. ### DELETE /lockboxes/{id} **Delete a lockbox** Operation id: `deleteLockbox` Delete one lockbox, the same as deleting it on the Lockboxes page in RentEngine. The lockbox is removed from every unit and building it is installed on, and those removals are recorded as `Uninstall` lockbox events by the API key's user. Deleting does not cancel access codes already issued for the lockbox, and does not remove it from the lock provider's account. An Igloo lock that is still active in your Igloo account cannot be deleted (`409`): remove it in Igloo first. If RentEngine cannot check with Igloo, the request returns `502`; try again later. Deleting a lockbox that is already deleted returns `200`. If a delete returns `500` after the lockbox was deleted, send it again to finish removing the lockbox from its units. Needs a key with Lockboxes: Write, from a user on the lockbox's account. Parameters: - `id` (path; string, uuid; required): The lockbox's RentEngine id. Responses: - `200`: The lockbox was deleted. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The API key is read-only, or is a Custom key without Lockboxes: Write. - `404`: Not found. - `409`: The Igloo lock is still active in the Igloo account. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `502`: RentEngine could not check the lock's status with Igloo. `200` body (`application/json`): object - `id` (string, uuid; required): Unique identifier - `deleted` (boolean; required; one of `true`) ### POST /lockboxes/transfer_accounts **Transfer lockboxes between accounts** Operation id: `postLockboxesTransferAccounts` Moves lockboxes between accounts. The user must be an owner, member, or maintenance user in both the source and destination accounts. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `lockbox_ids` (array of string, uuid; required): List of lockbox IDs to be transferred to the new account - `new_account_id` (string, uuid; required): ID of the account to which the lockboxes should be transferred ```json { "lockbox_ids": [ "123e4567-e89b-12d3-a456-426614174000", "123e4567-e89b-12d3-a456-426614174001" ], "new_account_id": "4b88ff32-8ba0-4bbf-8e60-c789909ac176" } ``` Responses: - `200`: Lockboxes transferred successfully - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - User does not have access to the target account or the specified lockboxes - `409`: A lockbox with one of these serial numbers already exists (a Manual serial is unique within its account, any other serial across all accounts), or a request with this Idempotency-Key is already in progress. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Transfer temporarily unavailable. Retry after a short delay. `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier - `lockbox_type` (string; required; one of `Codebox`, `Sentrilock`, `IglooWorks`, `eRentalLock`, `PointCentral`, `Master Lock`, `Rently`, `TTLock`, `Manual`): Lockbox hardware/provider type - `serial_number` (string; required): Serial number of the lockbox - `account_id` (string; required): ID of the account that owns the lockbox - `created_at` (string, date-time; required): Timestamp when the lockbox was created - `updated_at` (string, date-time; required): Timestamp when the lockbox was last updated - `deleted` (boolean | null): True when the lockbox has been deleted. `GET /lockboxes` still lists deleted lockboxes. - `box_data` (object | null): Extra lockbox data. `notes` holds the lockbox's notes; set them with `PATCH /lockboxes/{id}`. Other keys depend on the lockbox type and may change. - `notes` (string): The lockbox's notes. An empty string means none. - `code` (string): A Manual lockbox's fixed code. Other types leave it out. ### POST /lockboxes/generate_code **Generate a lockbox code** Operation id: `postGenerateLockboxCode` Generate a one-time code for a lockbox. The code can be generated by providing either a lockbox_id, serial_number, or unit_id. The code will be valid for the specified date. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): any | any | any - `lockbox_id` (string, uuid): ID of the lockbox. Either this, serial_number, or unit_id must be provided. - `serial_number` (string): Serial number of the lockbox. Either this, lockbox_id, or unit_id must be provided. A Manual lockbox can't be found by serial number; use lockbox_id or unit_id. - `unit_id` (number): ID of the unit where the lockbox is installed. Either this, lockbox_id, or serial_number must be provided. - `date` (string, date; required): Date for which the code should be valid (YYYY-MM-DD format) - `created_for` (string): Optional name or identifierof the person the code is being created for - `code_type` (string; one of `ACCESS`, `SHACKLE`; default `"ACCESS"`): Type of code to generate. Only relevant for Sentrilock lockboxes. All other boxes can only generate ACCESS codes. ```json { "lockbox_id": "123e4567-e89b-12d3-a456-426614174000", "date": "2024-03-15", "created_for": "John Doe", "code_type": "ACCESS" } ``` Responses: - `200`: Success. Returns the generated code and lockbox type. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `code` (string): The generated lockbox code - `lockboxType` (string; one of `Codebox`, `Sentrilock`, `IglooWorks`, `eRentalLock`, `PointCentral`, `Master Lock`, `Rently`, `TTLock`, `Manual`): Lockbox hardware/provider type - `instructions` (string): Optional instructions for using the code. May or may not be provided, depending on the lockbox. ## Lockbox Events Operations for tracking and creating lockbox events ### GET /lockbox_events **Get lockbox events** Operation id: `getLockboxEvents` Retrieve lockbox events with optional filtering and pagination Parameters: - `serial_numbers` (query; array of string): Filter by comma-separated list of serial numbers - `lockbox_ids` (query; array of string): Filter by comma-separated list of lockbox IDs - `lockbox_event_ids` (query; array of string): Filter by comma-separated list of lockbox event IDs - `account_id` (query; string): Filter by account ID - `lockbox_type` (query; string; one of `Codebox`, `Sentrilock`, `IglooWorks`, `eRentalLock`, `PointCentral`, `Master Lock`, `Rently`, `TTLock`, `Manual`): Filter by lockbox type - `event_types` (query; array of string): Filter by event types - `created_at_from` (query; string, date-time): Filter events created after this timestamp (ISO 8601 format) - `created_at_to` (query; string, date-time): Filter events created before this timestamp (ISO 8601 format) - `unit_ids` (query; array of string): Filter by comma-separated list of unit IDs - `limit` (query; integer; default `50`; min 1; max 100): Maximum number of items to return per page (default 50, max 100) - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0) Responses: - `200`: Success. Returns a list of lockbox events. Pagination metadata is in `X-Has-More` / `X-Next-Page-Number`. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error Response headers: `X-Has-More`, `X-Next-Page-Number` `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier - `lockbox_id` (string, uuid; required): ID of the lockbox this event belongs to - `event_type` (string; required; one of `Install`, `Activate`, `Deactivate`, `Uninstall`, `Transfer Account`, `Generate Code`): Type of lockbox event - `unit_id` (integer | null): Unit the event relates to. Null when the event has no unit, the unit is not visible, or it belongs to a different company than the lockbox. - `multifamily_property_id` (string | null, uuid): Building the event relates to. Null when the building is not visible or belongs to a different company than the lockbox. - `created_by` (string | null, uuid): Auth user who caused the event. Null for events created by an automated process rather than a person. - `created_at` (string, date-time; required): Timestamp when the event occurred - `data` (object | null): Event-specific payload. The shape varies by `event_type` and is not guaranteed stable. Null for `Transfer Account` events. SENSITIVE: for `Generate Code` events this contains the lockbox access code in plain text (`data.code`), alongside `date`, `codeType` (e.g. ACCESS, INSTALL) and `createdFor`. Treat responses from this endpoint as containing physical access credentials and handle them accordingly. `Deactivate` events instead carry provider metadata such as `provider`, `kind` and `reason`. - `lockbox` (object | null): The associated lockbox. Null only when the lockbox row is not visible to the caller. Filtering by `serial_numbers`, `account_id` or `lockbox_type` restricts results to events whose lockbox matches. - `id` (string, uuid): Unique identifier - `serial_number` (string): Serial number of the lockbox - `lockbox_type` (string; one of `Codebox`, `Sentrilock`, `IglooWorks`, `eRentalLock`, `PointCentral`, `Master Lock`, `Rently`, `TTLock`, `Manual`): Lockbox hardware/provider type - `account_id` (string, uuid): ID of the account that owns the lockbox ### POST /lockbox_events **Create lockbox events** Operation id: `postLockboxEvents` Create new lockbox events (Install or Uninstall) Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `events` (array of object; required): List of lockbox events to create - `lockbox_id` (string; required): ID of the lockbox - `event_type` (string; required; one of `Install`, `Uninstall`): Type of event - `unit_id` (integer; required; min 1): ID of the unit to associate with the event ```json { "events": [ { "lockbox_id": "123e4567-e89b-12d3-a456-426614174000", "event_type": "Install", "unit_id": 12345 }, { "lockbox_id": "123e4567-e89b-12d3-a456-426614174001", "event_type": "Uninstall", "unit_id": 67890 } ] } ``` Responses: - `201`: Lockbox events created successfully - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `201` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier - `lockbox_id` (string, uuid; required): ID of the lockbox this event belongs to - `event_type` (string; required; one of `Install`, `Activate`, `Deactivate`, `Uninstall`, `Transfer Account`, `Generate Code`): Type of lockbox event - `unit_id` (integer | null): Unit the event relates to. Null when the event has no unit, the unit is not visible, or it belongs to a different company than the lockbox. - `multifamily_property_id` (string | null, uuid): Building the event relates to. Null when the building is not visible or belongs to a different company than the lockbox. - `created_by` (string | null, uuid): Auth user who caused the event. Null for events created by an automated process rather than a person. - `created_at` (string, date-time; required): Timestamp when the event occurred - `data` (object | null): Event-specific payload. The shape varies by `event_type` and is not guaranteed stable. Null for `Transfer Account` events. SENSITIVE: for `Generate Code` events this contains the lockbox access code in plain text (`data.code`), alongside `date`, `codeType` (e.g. ACCESS, INSTALL) and `createdFor`. Treat responses from this endpoint as containing physical access credentials and handle them accordingly. `Deactivate` events instead carry provider metadata such as `provider`, `kind` and `reason`. - `lockbox` (object | null): The associated lockbox. Null only when the lockbox row is not visible to the caller. Filtering by `serial_numbers`, `account_id` or `lockbox_type` restricts results to events whose lockbox matches. - `id` (string, uuid): Unique identifier - `serial_number` (string): Serial number of the lockbox - `lockbox_type` (string; one of `Codebox`, `Sentrilock`, `IglooWorks`, `eRentalLock`, `PointCentral`, `Master Lock`, `Rently`, `TTLock`, `Manual`): Lockbox hardware/provider type - `account_id` (string, uuid): ID of the account that owns the lockbox ## Lockbox Installations Operations for retrieving lockbox installations ### GET /lockbox_installations **Get lockbox installations** Operation id: `getLockboxInstallations` Retrieve lockbox installations with optional filtering and pagination. Lockbox installations can only be created by inserting a lockbox event with event_type "Install". Parameters: - `lockbox_ids` (query; array of string): Filter by comma-separated list of lockbox IDs - `unit_ids` (query; array of string): Filter by comma-separated list of unit IDs - `limit` (query; integer; default `50`; min 1; max 100): Maximum number of items to return per page (default 50, max 100) - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0) Responses: - `200`: Success. Returns a list of lockbox installations. Pagination metadata is in `X-Has-More` / `X-Next-Page-Number`. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error Response headers: `X-Has-More`, `X-Next-Page-Number` `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier - `lockbox_id` (string, uuid; required): Unique identifier - `unit_id` (integer; required): ID of the unit where the lockbox is installed ## Units Operations for managing rental units ### GET /units **Get units** Operation id: `getUnits` Retrieve units with optional filtering and pagination Parameters: - `unitIds` (query; array of number): Filter by comma-separated list of unit IDs - `extracted_from` (query; string): Any string that can be used to identify the unit in an external system. Essentially the same as an external_id, but not limited to an ID format. Uniqueness is not enforced. - `accountId` (query; string): Filter by account ID - `statuses` (query; array of string): Filter by comma-separated list of unit statuses - `formatted_address_contains` (query; string): Filter to units whose street line contains this text, case-insensitively. Matches `address.formatted_address` as returned in the response — street number, street name and unit, e.g. "5733 Montgomery Rd #2". It does NOT cover city, state or ZIP: pass a whole address like "5733 Montgomery Rd, Cincinnati, OH" and nothing matches. Use `city`, `state` and `zip_codes` for those parts, or the `street_number` / `street_name` / `unit` parameters for a component at a time. - `street_number` (query; string): Filter by street number, matched case-insensitively against the whole value. - `street_name` (query; string): Filter by street name, matched case-insensitively as a substring so "Montgomery" also finds "Montgomery Rd" and "Montgomery Road". - `unit` (query; string): Filter by unit/apartment number, matched case-insensitively and tolerant of how either side spells the designator. "2", "#2", "Apt 2", "Apt. 2", "APT #2", "Apt-2", "Apartment 2", "Suite 2", "Ste 2", "Unit 2", "Condo 2", "Penthouse 2", "Lot 2", "Space 2", "Room 2" and "Studio 2" are all the same filter and all find each other. Designators that name a different kind of space are NOT collapsed: a search for "2" never returns "Garage 2", "Parking 2", "Storage 2", "Floor 2" or "Building 2". Matched against the whole unit, so "2" finds neither "12" nor "Apt 12" nor "2B". - `city` (query; string): Filter by city name, matched case-insensitively as a substring. Substring rather than exact because some stored city names carry stray whitespace, and an exact match would silently drop those units; the trade-off is that a short value can also match a longer name ("Lee" finds "Leesburg"). Each result carries `address.city`, so an over-match is visible. - `state` (query; string; one of `Alabama`, `Alaska`, `Arizona`, `Arkansas`, `California`, `Colorado`, `Connecticut`, `District of Columbia`, `Delaware`, `Florida`, `Georgia`, `Hawaii`, `Idaho`, `Illinois`, `Indiana`, `Iowa`, `Kansas`, `Kentucky`, `Louisiana`, `Maine`, `Maryland`, `Massachusetts`, `Michigan`, `Minnesota`, `Mississippi`, `Missouri`, `Montana`, `Nebraska`, `Nevada`, `New Hampshire`, `New Jersey`, `New Mexico`, `New York`, `North Carolina`, `North Dakota`, `Ohio`, `Oklahoma`, `Oregon`, `Pennsylvania`, `Puerto Rico`, `Rhode Island`, `South Carolina`, `South Dakota`, `Tennessee`, `Texas`, `Utah`, `Vermont`, `Virginia`, `Washington`, `West Virginia`, `Wisconsin`, `Wyoming`, `Alberta`, `British Columbia`, `Manitoba`, `New Brunswick`, `Newfoundland and Labrador`, `Northwest Territories`, `Nova Scotia`, `Nunavut`, `Ontario`, `Prince Edward Island`, `Quebec`, `Saskatchewan`, `Yukon`, `American Samoa`, `Guam`, `Minor Outlying Islands`, `Northern Mariana Islands`, `U.S. Virgin Islands`): Filter by state or Canadian province, given as the full name as stored. - `zip_codes` (query; array of string): Filter by comma-separated list of ZIP codes. A unit matches when its ZIP is any one of them. - `updated_after` (query; string, date-time): Only include rows whose `updated_at` is at or after this ISO-8601 datetime - `updated_before` (query; string, date-time): Only include rows whose `updated_at` is at or before this ISO-8601 datetime - `limit` (query; integer; default `50`; min 1; max 100): Maximum number of items to return per page (default 50, max 100) - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0) Responses: - `200`: Success. Returns a list of units. Pagination metadata is in `X-Has-More` / `X-Next-Page-Number`. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error Response headers: `X-Has-More`, `X-Next-Page-Number` `200` body (`application/json`): array of object - `id` (integer; required): Unique identifier for the unit - `created_at` (string, date-time; required): Timestamp when the unit was created - `updated_at` (string, date-time; required): Timestamp when the unit was last updated - `address` (object; required): Address information for the unit - `formatted_address` (string | null): Formatted first line of the address. - `street_number` (string | null): Street number - `street_name` (string | null): Street name - `unit` (string | null): Unit/apartment number - `zip_code` (string | null): ZIP code - `coordinates` (array | null): Geographic coordinates as [longitude, latitude] - `timezone` (object | null): Timezone information for the address - `name` (string): IANA timezone name - `source` (string): Data source attribution - `utc_offset` (number): UTC offset in hours - `abbreviation` (string): Timezone abbreviation - `observes_dst` (boolean): Whether the timezone observes daylight saving time - `city` (string): City name - `state` (string): State full name - `country` (string): Country - `property_type` (string | null; one of `SINGLE FAMILY RESIDENCE`, `DUPLEX`, `TRIPLEX`, `MULTI-FAMILY`, `CONDO`, `TOWNHOUSE`, `ROOM`, `ADU`, `GARAGE`, `null`): Type of property - `highlighted_amenities` (string | null): Amenities to highlight in the listing, as free text - `bedrooms` (number | null): Number of bedrooms - `bathrooms` (number | null): Number of bathrooms - `sqft` (number | null): Square footage of the unit - `furnished` (boolean | null): Whether the unit is furnished - `renovated` (string | null): Whether the unit has been renovated - `num_parking_spots` (number | null): Number of parking spots - `laundry` (string | null; one of `In Unit`, `Shared`, `Coin-op`, `Hookups but no machines`, `Machines In Unit - Tenant Responsible`, `None`, `null`): Laundry options - `target_rental_rate` (number | null): Target rental rate for the unit in dollars per month. 1925 means $1925/month - `is_occupied` (boolean | null): (DEPRECATED) - Use earliest_move_in_date instead. Reads false once earliest_move_in_date has passed. - `earliest_move_in_date` (string | null, date): Earliest date the unit is available for move-in - `allow_cooperating_brokers` (boolean | null): Whether cooperating brokers are allowed - `desired_lease_duration_months` (array | null): Desired lease duration in months - `pets_allowed` (string | null; one of `Yes`, `Yes with pet fee`, `Dogs only`, `Dogs only with pet fee`, `Cats only`, `Cats only with pet fee`, `No`, `null`): Pet policy - `pet_restrictions` (string | null): Restrictions on pets (breed/weight/size limits, not fees) - `pet_fees` (array | null): Structured pet fees for the unit - `fee_name` (string; required): Name of the pet fee - `amount` (number; required; min 0): Fee amount (dollar value or percentage of rent) - `type` (string; required; one of `dollar`, `percent`): Whether amount is a flat dollar value or percentage of rent - `per_pet` (boolean): Whether the fee is charged per pet - `required` (boolean): Whether the fee is mandatory - `applies_to_esas` (boolean): Whether this fee applies to emotional support animals - `fee_timing` (string; required; one of `move_in`, `monthly`, `move_out`, `annually`): When the fee is charged - `fee_refundable` (string; required; one of `refundable`, `nonRefundable`, `partiallyRefundable`): Refundability of the fee - `depends_on_pet_screening_results` (boolean): Whether the fee amount may vary based on pet screening - `hoa_app_required` (boolean | null): Whether HOA application is required - `hoa_app_fee` (number | null): HOA application fee in dollars - `hoa_application_url` (string | null): URL for HOA application - `key_access` (string | null): How a showing gets the key. Units created or updated through the API hold one of `Digital Lockbox Connected to RentEngine`, `Single code lockbox with key`, `Digital door lock with code`, `I will add this later` or `Accompanied Showing`. Older units can hold other text. - `access_instructions` (string | null): Instructions for accessing the unit - `min_resident_qualifications` (string | null): Minimum qualifications for residents - `utilities_included` (array | null): Utilities included in rent - `parking_type` (array | null): Types of parking available. Values set through the API are `Street`, `Carport`, `Assigned Spots`, `Driveway`, `Shared Garage`, `Private Garage` or `Paid Parking`. Units imported from a property management system keep that system's text, such as `Garage` or `Parking Lot`. - `storm_protection` (string | null): Storm protection features - `status` (string): Current status of the unit - `send_showing_notifications` (boolean | null): Whether to send showing notifications - `send_leasing_update_email` (boolean | null): Whether to send leasing update emails - `extracted_from` (string | null): Source of the unit data. Can be a any string. Essentially the same as an external_id. Uniqueness is not enforced. - `marketing_description` (string | null): Marketing description of the unit - `marketing_photos` (array | null): Photos of the unit - `path` (string): EITHER an absolute image URL (starts with `http`) OR a path relative to RentEngine's public photo storage. Both forms occur in the same array, and there is no flag distinguishing them - test for the `http` prefix. A relative path is NOT fetchable as-is: prefix it with `https://cdn.public-photos.rentengine.io/` (e.g. `https://cdn.public-photos.rentengine.io/images/.jpg`). Always resolve `path` that way — do not substitute `original`. `original` is an absolute source URL only for PMS-imported photos that transformed successfully; on UI-uploaded photos it is always a relative storage key, equal to `path` only on the skip/failure stamp. - `hidden` (boolean): When true, the photo is marked not for display and should be excluded from anything user-facing. Check strictly (`hidden === true`); a truthy check would hide two historical rows that store the string "false" (visible photos). This endpoint returns hidden photos and does NOT filter them for you - the caller must honour this flag. (The marketing listings endpoint filters them out server-side; this one does not.) - `original` (string | null): The source image the photo was imported from, retained after RentEngine re-hosts or watermarks it. Absolute and fetchable only when the photo was PMS-imported and the transform succeeded (the cron copies the pre-transform `path`, e.g. an AppFolio/Buildium URL). On UI-uploaded photos it is always a relative storage key: after a successful transform it is the pre-transform key (`images/.jpg`) while `path` is the new key (`images/.jpg`); it equals `path` only on the skip/failure stamp so the queue stops retrying. Unprocessed UI-uploaded photos have no `original` until the first cron pass. Prefix a relative `path` with `https://cdn.public-photos.rentengine.io/` rather than assuming `original` is fetchable. - `commission_amount` (number | null): Commission amount - `commission_type` (string | null; one of `percent`, `fixed`, `none`, `contact_mls_agent`, `null`): Type of commission - `imported_by` (string | null): Who/what imported the unit - `floor_number` (integer | null): Floor number of the unit. Best to use the floor of the entrance door if the unit spans multiple floors. - `has_elevator` (boolean | null): Whether the building has an elevator - `hoa_details` (object | null): Details about the HOA - `isInHOA` (boolean) - `hoaAmenities` (array of string) - `account_id` (string, uuid): ID of the account that owns the unit. Must be a valid account for which the api key has access. - `owner_emails` (array | null): (DEPRECATED) - Use property_owner_id instead. Email addresses of the owners. - `block_syndication_to_ils` (boolean | null): Whether internet marketing is paused for this unit right now, which keeps it off ILS (Internet Listing Services). Reads false once a pause's resume date has passed. - `marketing_paused_until` (string | null, date): Date internet marketing resumes for a paused unit. Null when the unit is not paused, or is paused with no resume date. - `accepts_vouchers` (boolean | null): Whether the unit accepts housing vouchers. - `internal_notes` (string | null): Internal notes about the unit. - `amenities` (array | null): All amenities of the unit - `monthly_fees` (array | null): Monthly recurring fees - `name` (string) - `amount` (number): Depending on the type field, this can represet either $55.50 of 55.5% of 1 month's rent. - `type` (string; one of `percent`, `dollar`): Determines if amount is calculated as an absolute dollar value or as a percent of 1 month's rent. - `move_in_fees` (array | null): Fees required at move-in - `name` (string) - `amount` (number): Depending on the type field, this can represet either $55.50 of 55.5% of 1 month's rent. - `type` (string; one of `percent`, `dollar`): Determines if amount is calculated as an absolute dollar value or as a percent of 1 month's rent. - `multifamily_property_id` (string | null, uuid): ID of the multifamily property - `showing_method` (string | null; required; one of `Accompanied`, `Remote Guided`, `Remote Guided with Gated Access`, `Self Guided`, `Accompanied OR Self Guided`, `null`): Method for showing the unit - `floorplans_id` (string | null, uuid): ID of the floorplan - `video_url` (string | null): URL of video tour (such as YouTube, Vimeo, Zillow Tour, Matterport, Ricoh360, or zInspector tour). `null` or an empty string when there is none. - `subteam_id` (string | null, uuid): ID of the subteam managing the unit - `prescreen_template_id` (string | null, uuid): ID of the prescreening template to use for this unit, if it is null the default template will be used. - `structured_access_instructions` (null | object | object): How a showing gets into the unit: lockbox and gate details for self-guided and remote showings, or the assigned agents and notice rules for accompanied ones. The keys are the ones `POST /units` accepts. A unit that changed showing method can still hold keys from its previous method, so an object may carry keys from both shapes. `null` when none are set. - `enable_send_report` (boolean; required): Whether to enable sending reports - `earliest_showing_date` (string | null, date): Earliest date the unit can be shown - `security_deposit_amount` (number | null): Amount of security deposit in dollars. 1000 means $1000.21 - `security_deposit_amount_max` (number | null): Upper end of the security deposit in dollars, when the deposit is a range. `null` when the deposit is a single amount. - `require_last_month_rent` (boolean | null): Whether last month's rent is required upfront - `requires_voucher` (boolean | null): Whether a voucher is required - `custom_application_url` (string | null): URL for custom application - `include_feedback_leasing_report` (boolean | null): Whether to include feedback in leasing reports - `year_built` (number | null): Year the property was built. Units imported from a property management system can hold `0` when that system had no year. - `application_fee` (number | null; min 0): Application fee amount in dollars - `specials` (array of object): Move-in specials set on this unit, including expired ones. - `description` (string; required): What the special offers. Must contain a non-space character. - `start_date` (string, date; required): First day the special applies (YYYY-MM-DD). - `end_date` (string | null, date): Last day the special applies (YYYY-MM-DD). Must be on or after `start_date`. Omit or send `null` for no end date. Responses omit it when there is none. ### POST /units **Create or update a unit** Operation id: `postUnit` Create a new unit or update an existing one. ## Insert vs Update - **Insert**: When no `id` is provided, a new unit will be created. Required fields for creation include `address`, `property_type`, `target_rental_rate`, and `account_id`. - **Update**: When an `id` is provided, an existing unit will be updated. No other fields are required. - A unit cannot be moved between accounts. On an update, `account_id` may be sent only if it matches the unit's current account; any other value returns a `400`. ## Address Updates When updating a unit, if you include the `address` field, you must provide all address components (`street_number`, `street_name`, `zip_code`, `state`, `city`). Partial address updates are not supported. ## Structured Access Instructions When providing `structured_access_instructions`, the `showing_method` field must also be set. The structure of the access instructions depends on the showing method: - For "Self Guided", "Remote Guided", or "Remote Guided with Gated Access" methods: Include fields like `lockbox_location`, `lockbox_code`, etc. - For "Accompanied" method: Include fields like `assigned_user_ids`, `meeting_location`, etc. ## Numeric fields Count and money fields (`bedrooms`, `bathrooms`, `sqft`, `num_parking_spots`, `target_rental_rate`, `commission_amount`, and the other numeric properties on this request) are numbers. Numeric strings (e.g. `"1925"`) are still accepted and coerced. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): any | any - `id` (number): Unit ID. If provided, the unit will be updated; if not, a new unit will be created. - `address` (object): Unit address. All fields must be provided together when updating. - `street_number` (string; required): Street number - `street_name` (string; required): Street name - `unit` (string): Unit/apartment number - `zip_code` (string; required): ZIP code - `state` (string; required): State or Canadian province, as its full name (`California`) or two-letter code (`CA`), in any casing. It is stored, and returned by `GET /units`, as the full name. - `country` (string; one of `United States`; default `"United States"`): Country - `city` (string; required): City - `property_type` (string; one of `SINGLE FAMILY RESIDENCE`, `DUPLEX`, `TRIPLEX`, `MULTI-FAMILY`, `CONDO`, `TOWNHOUSE`, `ROOM`, `ADU`, `GARAGE`): Type of property - `bedrooms` (number): Number of bedrooms - `bathrooms` (number): Number of bathrooms - `sqft` (number): Square footage of the unit - `furnished` (boolean): Whether the unit is furnished - `renovated` (string): Whether the unit has been renovated - `num_parking_spots` (number): Number of parking spots - `laundry` (string; one of `In Unit`, `Shared`, `Coin-op`, `Hookups but no machines`, `Machines In Unit - Tenant Responsible`, `None`): Laundry options - `target_rental_rate` (number): Target rental rate in dollars per month - `is_occupied` (boolean): (DEPRECATED) - Still accepted and stored; omitting it keeps the stored value. To mark a unit occupied, send true together with a future earliest_move_in_date. Unit responses and webhooks report it false once that date has passed. - `earliest_move_in_date` (string, date): Earliest date the unit is available for move-in - `allow_cooperating_brokers` (boolean): Whether cooperating brokers are allowed - `desired_lease_duration_months` (array of number): Desired lease duration in months - `pets_allowed` (string; one of `Yes`, `Yes with pet fee`, `No`, `Dogs only`, `Dogs only with pet fee`, `Cats only`, `Cats only with pet fee`): Pet policy - `pet_restrictions` (string): Restrictions on pets (breed/weight/size limits, not fees) - `pet_fees` (array | null): Structured pet fees for the unit - `fee_name` (string; required): Name of the pet fee - `amount` (number; required; min 0): Fee amount (dollar value or percentage of rent) - `type` (string; required; one of `dollar`, `percent`): Whether amount is a flat dollar value or percentage of rent - `per_pet` (boolean; required): Whether the fee is charged per pet - `required` (boolean; required): Whether the fee is mandatory - `applies_to_esas` (boolean; required): Whether this fee applies to emotional support animals - `fee_timing` (string; required; one of `move_in`, `monthly`, `move_out`, `annually`): When the fee is charged - `fee_refundable` (string; required; one of `refundable`, `nonRefundable`, `partiallyRefundable`): Refundability of the fee - `depends_on_pet_screening_results` (boolean; required): Whether the fee amount may vary based on pet screening - `hoa_details` (object) - `isInHOA` (boolean): Whether the unit is in an HOA - `hoaAppRequired` (boolean): Whether HOA application is required - `hoaAppFee` (number; min 0): HOA application fee in dollars - `hoaApplicationUrl` (string, uri): URL for HOA application - `hoaApprovalTimeframe` (string): Timeframe for HOA approval - `hoaAmenities` (array of string): HOA amenities - `key_access` (string; one of `Digital Lockbox Connected to RentEngine`, `Single code lockbox with key`, `Digital door lock with code`, `I will add this later`, `Accompanied Showing`): Key access information - `structured_access_instructions` (object | object): Structured access instructions that vary based on showing_method. When providing structured_access_instructions, showing_method must also be set. - `earliest_showing_date` (string, date): Earliest date the unit can be shown - `additional_info` (string): Additional information about the unit - `min_resident_qualifications` (string): Minimum qualifications for residents - `utilities_included` (array of string): Utilities included in rent - `parking_type` (array of string): Type of parking available - `status` (string; one of `Incomplete`, `Available`, `On Hold`, `Leased`, `Archived`, `Withdrawn`, `Withdrawal Requested`): Current status of the unit - `extracted_from` (string): Source of the unit data. Can be a any string. Essentially the same as an external_id. Uniqueness is not enforced. Values that RentEngine's own PMS sync owns are reserved, because the sync uses this field to match a unit to its listing - sending a different value for a unit imported from a connected PMS returns 400, as does claiming a key another unit in the account already holds. Your own external IDs are unaffected. - `marketing_description` (string): Marketing description of the unit - `marketing_photos` (array of object) - `path` (string; required): Either the original image URL or the file path in the RentEngine storage - `hidden` (boolean; required): Whether the photo is hidden - `original` (string): The external image URL from where the image was imported - `commission_amount` (number): Commission amount - `commission_type` (string; one of `percent`, `fixed`, `none`, `contact_mls_agent`): Type of commission - `imported_by` (string): Who/what imported the unit - `floor_number` (number; min 0; max 150): Floor number of the unit - `has_elevator` (boolean): Whether the building has an elevator - `account_id` (string): ID of the account that owns the unit. Required when creating. On an update it must match the unit's current account, since a unit cannot be moved between accounts. - `accepts_vouchers` (boolean): Whether the unit accepts housing vouchers - `showing_method` (string; one of `Accompanied`, `Remote Guided`, `Remote Guided with Gated Access`, `Self Guided`): Method for showing the unit - `internal_notes` (string): Internal notes about the unit - `move_in_fees` (array of object) - `type` (string; required; one of `percent`, `dollar`): Type of fee calculation - `amount` (number; required; min 0): Fee amount - `name` (string; required): Name of the fee - `monthly_fees` (array of object) - `type` (string; required; one of `percent`, `dollar`): Type of fee calculation - `amount` (number; required; min 0): Fee amount - `name` (string; required): Name of the fee - `multifamily_property_id` (string | null, uuid): ID of the multifamily property. Pass string 'null' to clear this field. - `floorplans_id` (string | null, uuid): ID of the floorplan. Pass string 'null' to clear this field. - `video_url` (string): URL of video tour (such as YouTube, Vimeo, Zillow Tour, Matterport, Ricoh360, or zInspector tour) - `subteam_id` (string | null, uuid): ID of the subteam managing the unit. Pass string 'null' to clear this field. - `prescreen_template_id` (string, uuid): ID of the prescreening template to use for this unit - `enable_send_report` (boolean): Whether to enable sending reports - `security_deposit_amount` (number): Amount of security deposit in dollars - `require_last_month_rent` (boolean): Whether last month's rent is required upfront - `requires_voucher` (boolean): Whether a voucher is required - `include_feedback_leasing_report` (boolean): Whether to include feedback in leasing reports - `year_built` (number; min 1800): Year the property was built - `after_upsert_action` (object): Actions to perform after updating the unit - `action` (string; required; one of `cancel_scheduled_bookings`, `notify_all_prospects`): The action to perform after updating the unit - `should_cancel_scheduled_bookings` (boolean): Whether to cancel any scheduled/confirmed bookings when updating the unit (only applies to cancel_scheduled_bookings action) - `custom_sms_message` (string): Custom SMS message to send to prospects (applies to all actions) - `application_fee` (number; min 0): Application fee amount in dollars - `block_syndication_to_ils` (boolean | null): Send true to pause internet marketing, which keeps the unit off ILS (Internet Listing Services). With no marketing_paused_until, the pause has no end date. Send false to resume marketing. - `marketing_paused_until` (string | null, date): Date internet marketing resumes, after today. Sending a date pauses the unit until then. Send null to remove the resume date and keep the unit paused with no end date. Can't be sent with block_syndication_to_ils false. - `specials` (array of object): Move-in specials on this unit. Sending `specials` replaces the whole list, so include every special you want to keep. Send `[]` to remove them all. Omit `specials` to leave them unchanged. - `description` (string; required): What the special offers. Must contain a non-space character. - `start_date` (string, date; required): First day the special applies (YYYY-MM-DD). - `end_date` (string | null, date): Last day the special applies (YYYY-MM-DD). Must be on or after `start_date`. Omit or send `null` for no end date. Responses omit it when there is none. Responses: - `200`: Unit successfully created or updated - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `unit` (object) - `id` (integer; required): Unique identifier for the unit - `created_at` (string, date-time; required): Timestamp when the unit was created - `updated_at` (string, date-time; required): Timestamp when the unit was last updated - `address` (object; required): Address information for the unit - `formatted_address` (string | null): Formatted first line of the address. - `street_number` (string | null): Street number - `street_name` (string | null): Street name - `unit` (string | null): Unit/apartment number - `zip_code` (string | null): ZIP code - `coordinates` (array | null): Geographic coordinates as [longitude, latitude] - `timezone` (object | null): Timezone information for the address - `name` (string): IANA timezone name - `source` (string): Data source attribution - `utc_offset` (number): UTC offset in hours - `abbreviation` (string): Timezone abbreviation - `observes_dst` (boolean): Whether the timezone observes daylight saving time - `city` (string): City name - `state` (string): State full name - `country` (string): Country - `property_type` (string | null; one of `SINGLE FAMILY RESIDENCE`, `DUPLEX`, `TRIPLEX`, `MULTI-FAMILY`, `CONDO`, `TOWNHOUSE`, `ROOM`, `ADU`, `GARAGE`, `null`): Type of property - `highlighted_amenities` (string | null): Amenities to highlight in the listing, as free text - `bedrooms` (number | null): Number of bedrooms - `bathrooms` (number | null): Number of bathrooms - `sqft` (number | null): Square footage of the unit - `furnished` (boolean | null): Whether the unit is furnished - `renovated` (string | null): Whether the unit has been renovated - `num_parking_spots` (number | null): Number of parking spots - `laundry` (string | null; one of `In Unit`, `Shared`, `Coin-op`, `Hookups but no machines`, `Machines In Unit - Tenant Responsible`, `None`, `null`): Laundry options - `target_rental_rate` (number | null): Target rental rate for the unit in dollars per month. 1925 means $1925/month - `is_occupied` (boolean | null): (DEPRECATED) - Use earliest_move_in_date instead. Reads false once earliest_move_in_date has passed. - `earliest_move_in_date` (string | null, date): Earliest date the unit is available for move-in - `allow_cooperating_brokers` (boolean | null): Whether cooperating brokers are allowed - `desired_lease_duration_months` (array | null): Desired lease duration in months - `pets_allowed` (string | null; one of `Yes`, `Yes with pet fee`, `Dogs only`, `Dogs only with pet fee`, `Cats only`, `Cats only with pet fee`, `No`, `null`): Pet policy - `pet_restrictions` (string | null): Restrictions on pets (breed/weight/size limits, not fees) - `pet_fees` (array | null): Structured pet fees for the unit - `fee_name` (string; required): Name of the pet fee - `amount` (number; required; min 0): Fee amount (dollar value or percentage of rent) - `type` (string; required; one of `dollar`, `percent`): Whether amount is a flat dollar value or percentage of rent - `per_pet` (boolean): Whether the fee is charged per pet - `required` (boolean): Whether the fee is mandatory - `applies_to_esas` (boolean): Whether this fee applies to emotional support animals - `fee_timing` (string; required; one of `move_in`, `monthly`, `move_out`, `annually`): When the fee is charged - `fee_refundable` (string; required; one of `refundable`, `nonRefundable`, `partiallyRefundable`): Refundability of the fee - `depends_on_pet_screening_results` (boolean): Whether the fee amount may vary based on pet screening - `hoa_app_required` (boolean | null): Whether HOA application is required - `hoa_app_fee` (number | null): HOA application fee in dollars - `hoa_application_url` (string | null): URL for HOA application - `key_access` (string | null): How a showing gets the key. Units created or updated through the API hold one of `Digital Lockbox Connected to RentEngine`, `Single code lockbox with key`, `Digital door lock with code`, `I will add this later` or `Accompanied Showing`. Older units can hold other text. - `access_instructions` (string | null): Instructions for accessing the unit - `min_resident_qualifications` (string | null): Minimum qualifications for residents - `utilities_included` (array | null): Utilities included in rent - `parking_type` (array | null): Types of parking available. Values set through the API are `Street`, `Carport`, `Assigned Spots`, `Driveway`, `Shared Garage`, `Private Garage` or `Paid Parking`. Units imported from a property management system keep that system's text, such as `Garage` or `Parking Lot`. - `storm_protection` (string | null): Storm protection features - `status` (string): Current status of the unit - `send_showing_notifications` (boolean | null): Whether to send showing notifications - `send_leasing_update_email` (boolean | null): Whether to send leasing update emails - `extracted_from` (string | null): Source of the unit data. Can be a any string. Essentially the same as an external_id. Uniqueness is not enforced. - `marketing_description` (string | null): Marketing description of the unit - `marketing_photos` (array | null): Photos of the unit - `path` (string): EITHER an absolute image URL (starts with `http`) OR a path relative to RentEngine's public photo storage. Both forms occur in the same array, and there is no flag distinguishing them - test for the `http` prefix. A relative path is NOT fetchable as-is: prefix it with `https://cdn.public-photos.rentengine.io/` (e.g. `https://cdn.public-photos.rentengine.io/images/.jpg`). Always resolve `path` that way — do not substitute `original`. `original` is an absolute source URL only for PMS-imported photos that transformed successfully; on UI-uploaded photos it is always a relative storage key, equal to `path` only on the skip/failure stamp. - `hidden` (boolean): When true, the photo is marked not for display and should be excluded from anything user-facing. Check strictly (`hidden === true`); a truthy check would hide two historical rows that store the string "false" (visible photos). This endpoint returns hidden photos and does NOT filter them for you - the caller must honour this flag. (The marketing listings endpoint filters them out server-side; this one does not.) - `original` (string | null): The source image the photo was imported from, retained after RentEngine re-hosts or watermarks it. Absolute and fetchable only when the photo was PMS-imported and the transform succeeded (the cron copies the pre-transform `path`, e.g. an AppFolio/Buildium URL). On UI-uploaded photos it is always a relative storage key: after a successful transform it is the pre-transform key (`images/.jpg`) while `path` is the new key (`images/.jpg`); it equals `path` only on the skip/failure stamp so the queue stops retrying. Unprocessed UI-uploaded photos have no `original` until the first cron pass. Prefix a relative `path` with `https://cdn.public-photos.rentengine.io/` rather than assuming `original` is fetchable. - `commission_amount` (number | null): Commission amount - `commission_type` (string | null; one of `percent`, `fixed`, `none`, `contact_mls_agent`, `null`): Type of commission - `imported_by` (string | null): Who/what imported the unit - `floor_number` (integer | null): Floor number of the unit. Best to use the floor of the entrance door if the unit spans multiple floors. - `has_elevator` (boolean | null): Whether the building has an elevator - `hoa_details` (object | null): Details about the HOA - `isInHOA` (boolean) - `hoaAmenities` (array of string) - `account_id` (string, uuid): ID of the account that owns the unit. Must be a valid account for which the api key has access. - `owner_emails` (array | null): (DEPRECATED) - Use property_owner_id instead. Email addresses of the owners. - `block_syndication_to_ils` (boolean | null): Whether internet marketing is paused for this unit right now, which keeps it off ILS (Internet Listing Services). Reads false once a pause's resume date has passed. - `marketing_paused_until` (string | null, date): Date internet marketing resumes for a paused unit. Null when the unit is not paused, or is paused with no resume date. - `accepts_vouchers` (boolean | null): Whether the unit accepts housing vouchers. - `internal_notes` (string | null): Internal notes about the unit. - `amenities` (array | null): All amenities of the unit - `monthly_fees` (array | null): Monthly recurring fees - `name` (string) - `amount` (number): Depending on the type field, this can represet either $55.50 of 55.5% of 1 month's rent. - `type` (string; one of `percent`, `dollar`): Determines if amount is calculated as an absolute dollar value or as a percent of 1 month's rent. - `move_in_fees` (array | null): Fees required at move-in - `name` (string) - `amount` (number): Depending on the type field, this can represet either $55.50 of 55.5% of 1 month's rent. - `type` (string; one of `percent`, `dollar`): Determines if amount is calculated as an absolute dollar value or as a percent of 1 month's rent. - `multifamily_property_id` (string | null, uuid): ID of the multifamily property - `showing_method` (string | null; required; one of `Accompanied`, `Remote Guided`, `Remote Guided with Gated Access`, `Self Guided`, `Accompanied OR Self Guided`, `null`): Method for showing the unit - `floorplans_id` (string | null, uuid): ID of the floorplan - `video_url` (string | null): URL of video tour (such as YouTube, Vimeo, Zillow Tour, Matterport, Ricoh360, or zInspector tour). `null` or an empty string when there is none. - `subteam_id` (string | null, uuid): ID of the subteam managing the unit - `prescreen_template_id` (string | null, uuid): ID of the prescreening template to use for this unit, if it is null the default template will be used. - `structured_access_instructions` (null | object | object): How a showing gets into the unit: lockbox and gate details for self-guided and remote showings, or the assigned agents and notice rules for accompanied ones. The keys are the ones `POST /units` accepts. A unit that changed showing method can still hold keys from its previous method, so an object may carry keys from both shapes. `null` when none are set. - `enable_send_report` (boolean; required): Whether to enable sending reports - `earliest_showing_date` (string | null, date): Earliest date the unit can be shown - `security_deposit_amount` (number | null): Amount of security deposit in dollars. 1000 means $1000.21 - `security_deposit_amount_max` (number | null): Upper end of the security deposit in dollars, when the deposit is a range. `null` when the deposit is a single amount. - `require_last_month_rent` (boolean | null): Whether last month's rent is required upfront - `requires_voucher` (boolean | null): Whether a voucher is required - `custom_application_url` (string | null): URL for custom application - `include_feedback_leasing_report` (boolean | null): Whether to include feedback in leasing reports - `year_built` (number | null): Year the property was built. Units imported from a property management system can hold `0` when that system had no year. - `application_fee` (number | null; min 0): Application fee amount in dollars - `specials` (array of object): Move-in specials set on this unit, including expired ones. - `description` (string; required): What the special offers. Must contain a non-space character. - `start_date` (string, date; required): First day the special applies (YYYY-MM-DD). - `end_date` (string | null, date): Last day the special applies (YYYY-MM-DD). Must be on or after `start_date`. Omit or send `null` for no end date. Responses omit it when there is none. ## Market Tool Normalized, provider-free rental market comparables. Metered — each successful call incurs a per-call charge (see Rate Limiting). ### GET /market-tool/comps **Get market comps** Operation id: `getMarketToolComps` Retrieve normalized rental market comparables for a location, filtered by coordinates plus optional bed/bath/sqft/days-on-market/date criteria. Results are de-identified — no listing-provider references. Returns up to 200 most recently active comparables; narrow the radius or filters for a tighter result set. **Billing:** each successful call incurs a **$0.50** charge to your account. This charge, together with the strict limit of 60 requests per 24 hours, exists to prevent abuse of this data-intensive endpoint. Parameters: - `account_id` (query; string, uuid): Account to bill, as a UUID. Required only when your token can access more than one account; a single-account token is resolved automatically. - `latitude` (query; number; required; min -90; max 90): Latitude of the search center (WGS84). - `longitude` (query; number; required; min -180; max 180): Longitude of the search center (WGS84). - `radius_miles` (query; number; max 25): Search radius in miles (max 25). Provide this or `zipcodes` — at least one is required. - `zipcodes` (query; array of string): Comma-separated 5-digit ZIP codes (max 50). Provide this or `radius_miles` — at least one is required. - `min_beds` (query; number): Minimum bedrooms. - `max_beds` (query; number): Maximum bedrooms. - `min_baths` (query; number): Minimum bathrooms. - `max_baths` (query; number): Maximum bathrooms. - `min_sqft` (query; number): Minimum living area in square feet. - `max_sqft` (query; number): Maximum living area in square feet. - `min_days_on_market` (query; integer): Minimum days on market. - `max_days_on_market` (query; integer): Maximum days on market. - `start_date` (query; string, date): Earliest listing date (inclusive), `YYYY-MM-DD`. - `end_date` (query; string, date): Latest listing date (inclusive), `YYYY-MM-DD`. Responses: - `200`: Success. Returns a list of normalized market comparables. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): array of object - `address` (string) - `beds` (number) - `baths` (number) - `sqft` (number): Living area in square feet. - `rent` (number): Latest asking or rented price. - `days_on_market` (integer) - `date_rented` (string, date): Date the unit was rented; null while still available. - `features` (array of string): Human-readable feature labels. - `status` (string; one of `available`, `rented`) - `latitude` (number) - `longitude` (number) - `property_type` (string): Friendly property type (e.g. "Single Family", "Apartment", "Condo", "Townhouse", "Multi-Family", "Manufactured"). Null when unknown. - `image` (string): Listing photo URL routed through the RentEngine image proxy. Null when no photo is available. - `zipcode` (string) - `furnished` (boolean): Whether the unit is furnished; null when unknown. - `in_apartment_complex` (boolean): Whether the unit is part of an apartment complex; null when unknown. - `num_parking_spots` (integer): Number of parking spaces; null when unknown. - `description` (string): Listing description with all third-party rental-platform references removed. May be null or shortened when the original text consisted mostly of provider mentions. - `price_history` (array of object): Asking rents recorded for this home, oldest first, with the date each was seen. It can span earlier listings of the same home. Amounts outside $100–$25,000 are not monthly rents (sale prices, placeholders) and are left out, so a gap in the dates does not mean the rent was unchanged. Empty when nothing usable is recorded. - `date` (string, date; required) - `rent` (number; required) ## Prospects Events related to prospective tenants ### GET /prospects **Get prospects** Operation id: `getProspects` Retrieve prospects with optional filtering and pagination Parameters: - `id` (query; number): Filter by prospect ID - `account_id` (query; string, uuid): Filter by prospects associated with a specific RentEngine account by the account's id - `units_of_interest` (query; array of number): Filter by prospects interested in specific units (comma-separated list of unit IDs) - `status` (query; string): Filter prospects by status - `source` (query; string): Filter prospects by source - `created_after` (query; string, date-time): Filter prospects created after this timestamp (ISO 8601 format) - `created_before` (query; string, date-time): Filter prospects created before this timestamp (ISO 8601 format) - `updated_after` (query; string, date-time): Only include rows whose `updated_at` is at or after this ISO-8601 datetime - `updated_before` (query; string, date-time): Only include rows whose `updated_at` is at or before this ISO-8601 datetime - `limit` (query; integer; default `50`; min 1; max 100): Maximum number of items to return per page (default 50, max 100) - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0) Responses: - `200`: Success. Returns a list of prospects. Pagination metadata is in `X-Has-More` / `X-Next-Page-Number`. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error Response headers: `X-Has-More`, `X-Next-Page-Number` `200` body (`application/json`): array of object - `id` (number): Unique identifier for the prospect - `name` (string | null): Prospect's name - `email` (string | null): Prospect's email address - `phone` (string | null): Prospect's phone number - `status` (string): Current status of the prospect - `source` (string | null): Where the prospect came from - `unit_of_interest` (number | null): ID of the unit the prospect is interested in. `null` for building, floorplan, or account-level leads. - `account_id` (string | null, uuid): Account that owns this prospect. - `floorplan_id` (string | null, uuid): Floorplan this prospect is interested in. `null` when the lead is unit-bound or account-only. - `multifamily_property_id` (string | null, uuid): Multifamily building this prospect is interested in. `null` when the lead is unit-bound or account-only. - `notes` (string | null): Notes about the prospect - `prescreened` (boolean | null): Whether the prospect has been prescreened - `voucher_holder` (boolean | null): Whether the prospect holds a housing voucher - `normalized_phone_number_generated` (string | null): Normalized phone number if normalizable. Else null. - `license_number` (string | null): License number if applicable - `prospect_type` (string; one of `Self`, `Agent`, `Co-applicant`, `Co-signer`): Who the prospect is: `Self`, renting for themselves; `Agent`, a real-estate agent with a client; `Co-applicant` or `Co-signer`, someone on another applicant's rental application, who is not a lead. - `created_at` (string, date-time): When the prospect was created - `updated_at` (string, date-time): When the prospect was last updated ### POST /prospects **Create a prospect** Operation id: `postProspect` Create a new prospect. Reuses the standard new-prospect workflow, which handles the initial leasing event, the new-lead notification to the account team, and (by default) sending the acknowledgement SMS to the prospect. ## Identifying the property Provide exactly one of: - `unit_id` — the RentEngine unit ID. Access is scoped to the authenticated user's account; a `404` is returned if the unit is not visible. - `unit_address` — a free-text address that will be fuzzy-matched against units in the account named by `account_id`. If no unit matches, a `404` is returned. The top match is used when there is one. - `floorplan_id` — a multifamily floorplan. Creates a floorplan-level lead (not bound to a specific unit). `404` if the floorplan is not visible. - `multifamily_property_id` — a multifamily building/community. Creates a building-level lead. `404` if the property is not visible. - `account_id` alone — an account-level lead with no unit, floorplan, or building. `404` if the account is not visible to the caller. Floorplan, building, and account-level creates require `phone` (the unitless persist path keys on phone). `account_id` may also be sent alongside `unit_id` / `floorplan_id` / `multifamily_property_id`; it is ignored in favor of the account derived from that property. ## SMS By default the prospect receives the account's configured acknowledgement SMS (varies by unit availability / apply-first settings; building and floorplan leads use the matching inquiry templates). Set `sms.send` to `false` to skip sending entirely — useful when the integrating system has already messaged the prospect. `phone` is required whenever `sms.send` is `true` (the default), `ai_enabled` is `false` (the per-prospect AI flag is keyed on phone), or the lead is unitless. ## AI AI responses to this prospect are enabled by default. Set `ai_enabled` to `false` to opt this prospect out of AI replies for their phone number within the account. ## Duplicate handling This endpoint is idempotent on `(phone, scope)`. If a prospect with the same phone already exists for the resolved unit, floorplan, building, or account, the existing record is reused — no new row is created — and the response includes `re_engaged: true` with the existing `prospect_id`. The status code is `200 OK` on re-engagement and `201 Created` when a brand-new prospect row was inserted. `notes` and `prospect_type` are applied only on fresh creates so they don't clobber a re-engaged prospect mid-flow. ## Rate limiting This endpoint uses the **Strict** tier (10 requests / 5 seconds). Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): any | any | any | any | any - `source` (string; required): Where the prospect came from. Accepts the standard ProspectSource values (e.g. "Zillow", "Apartments.com", "Realtor.com", "MLS Agent", "Showing Smart", "Referral", "Company Website") as well as custom UTM-style values for your own integrations. - `name` (string; required): Prospect's full name. - `email` (string | null, email): Prospect's email address. Optional — when omitted, no acknowledgement email is sent and the prospect is stored without an email address. - `phone` (string): Prospect's phone number. Accepts US-style formats (e.g. "+12155551234", "215-555-1234"); 400 is returned if the value cannot be normalized. Required whenever `sms.send` is `true` (the default) or `ai_enabled` is `false`. - `account_id` (string, uuid): RentEngine account ID. Required when using `unit_address` to scope the fuzzy address search, and when creating an account-level lead (no unit / floorplan / building). Optional when using `unit_id`, `floorplan_id`, or `multifamily_property_id` (the account is derived from that property). - `unit_id` (number): RentEngine unit ID. Provide this, `unit_address`, `floorplan_id`, `multifamily_property_id`, or `account_id` alone. Access is scoped to the authenticated user's account; an unknown or inaccessible unit results in `404`. - `unit_address` (string): Free-text address that will be fuzzy-matched against units in the given `account_id`. Provide this, `unit_id`, `floorplan_id`, `multifamily_property_id`, or `account_id` alone. Returns `404` if no unit matches. - `floorplan_id` (string, uuid): Multifamily floorplan ID. Creates a floorplan-level lead rather than binding to a specific unit. Access is scoped to the authenticated user's account; an unknown or inaccessible floorplan results in `404`. - `multifamily_property_id` (string, uuid): Multifamily building/community ID. Creates a building-level lead. Access is scoped to the authenticated user's account; an unknown or inaccessible property results in `404`. - `notes` (string): Optional notes saved on the prospect record. - `prospect_type` (string; one of `Self`, `Agent`): Optional. Whether the prospect is applying for themselves (`Self`) or is a real-estate agent representing a client (`Agent`). When omitted, the system infers a default from the source for agent-style sources (e.g. "MLS Agent", "Showing Smart"). `Co-applicant` and `Co-signer` are not accepted: this endpoint creates leads. - `ai_enabled` (boolean; default `true`): Whether RentEngine's AI may respond to messages from this prospect. Defaults to `true`. Set to `false` to opt this prospect out of AI replies (applied for their phone number within the account). - `sms` (object): SMS controls. When omitted, the acknowledgement SMS is sent using the account's templates. - `send` (boolean; default `true`): Whether to send the acknowledgement SMS to the prospect. Defaults to `true`. Set to `false` to skip SMS entirely — no template is rendered and no message is dispatched. ```json { "source": "Zillow", "name": "Jane Doe", "email": "jane@example.com", "phone": "+12155551234", "unit_id": 12345, "notes": "Came in via partner site", "prospect_type": "Self" } ``` Responses: - `200`: An existing prospect was re-engaged. The `re_engaged` field is `true` and `prospect_id` references the pre-existing record. - `201`: A new prospect row was created. The `re_engaged` field is `false`. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `404`: The property could not be resolved — `unit_id`, `floorplan_id`, `multifamily_property_id`, or `account_id` is not visible to the caller, or `unit_address` did not fuzzy-match any unit in the given account. - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object Result of a successful `POST /prospects` call. - `prospect_id` (number; required): ID of the prospect that was created — or, on re-engagement, the existing prospect that was reused. - `unit_id` (number | null; required): ID of the resolved unit. `null` for floorplan, building, or account-level leads. - `floorplan_id` (string | null, uuid): Floorplan the prospect was created against. `null` when not a floorplan-level lead. - `multifamily_property_id` (string | null, uuid): Building the prospect was created against. `null` when not a building- or floorplan-level lead. - `account_id` (string | null, uuid): Account that owns the resolved property (or the account-level lead). - `re_engaged` (boolean; required): `true` when an existing prospect was reused (status 200); `false` when a brand-new prospect row was created (status 201). - `sms_sent` (boolean; required): `true` when the acknowledgement SMS was dispatched (or scheduled), `false` when SMS was skipped via `sms.send = false`. - `ai_enabled` (boolean; required): Effective AI setting applied for this prospect. - `message` (string | null): Human-readable workflow summary, useful for debugging. ### GET /prospects/{id}/profile **Get a prospect's profile** Operation id: `getProspectProfile` The prospect's profile: what they are looking for and their situation, such as budget, bedrooms and move-in date, as shown on the Profile panel in the Command Center. Each value says where it came from and when it was recorded. A profile belongs to the conversation (account and phone number), not to one prospect record, so every record with the same phone number on your account returns the same profile. A prospect with no profile values yet returns an empty `attributes` object. Needs a key with Prospects: Read, from an owner, member or showing agent on the prospect's account. Parameters: - `id` (path; integer; required; min 1): The prospect's id. Responses: - `200`: The prospect's profile. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `404`: Not found. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object - `prospect_id` (integer; required): The prospect's id, as requested. - `attributes` (object; required): The profile's values, keyed by attribute. Attributes with no value are left out. ### PATCH /prospects/{id}/profile **Update a prospect's profile** Operation id: `patchProspectProfile` Set or clear one or more profile values. Send only the attributes to change; the others are kept. Send `null` to clear an attribute. List the attributes and the values each accepts with `GET /prospects/profile_attributes`. Every value is checked before anything is saved, by the same rules as the Profile panel. If any attribute is unknown, or its value can't be read in full (`"1500-2000"` for a range, a list with one bad zip code, more than 20 items, a decimal where a count is expected, text over 200 characters, a field the attribute doesn't have), nothing is saved and the response is `400` with an `errors` entry for each one. Values are stored in a standard form: `"$1,500"` becomes `1500`, one number for a range becomes that exact range, `min` above `max` is swapped, money is rounded to the dollar and a comma-separated text becomes a list. Read `attributes` in the response for what was saved. Values you send outrank values RentEngine recorded on its own (from listing sites, prescreening, applications and conversations), but never a value a team member entered in RentEngine. When a team member has entered a different value, yours is kept as a suggestion they can accept on the Profile panel, and `results` reports it as `suggested`. Clearing a value a team member entered is ignored and reported as `kept`. Sending `null` or the team member's own value withdraws a suggestion you made earlier. The profile is shared by every prospect record with the same phone number on your account, so updating it through one record updates it for all of them. Needs a key with Prospects: Write, from an owner, member or showing agent on the prospect's account. Parameters: - `id` (path; integer; required; min 1): The prospect's id. Request body (`application/json`): object - `attributes` (object; required): The values to set, keyed by attribute. `null` clears an attribute. ```json { "attributes": { "budget": { "min": 1500, "max": 2000 }, "bedrooms": { "min": 2, "max": 3 }, "move_in_date": "2026-12-01", "has_guarantor": null } } ``` Responses: - `200`: The profile after the update, and what happened to each attribute sent. - `400`: The request is malformed, or an attribute is unknown or has a value that is not valid. Nothing was saved. - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `404`: Not found. - `409`: The profile changed while saving, because the prospect's phone number changed at the same moment. Send the request again. - `422`: The prospect can't have a profile, because it has no account or its phone number is not a US number. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object - `prospect_id` (integer; required): The prospect's id, as requested. - `attributes` (object; required): The profile's values, keyed by attribute. Attributes with no value are left out. - `results` (object; required): What happened to each attribute sent: `applied` it is now the profile's value (or it was cleared), `suggested` a team member's different value was kept and yours is offered to them as a suggestion, `kept` a team member's value stays, because it is the same as yours or you sent `null`; any suggestion you made earlier on that attribute is withdrawn. ### GET /prospects/profile_attributes **List profile attributes** Operation id: `getProfileAttributes` Every attribute a prospect profile can hold, with the kind of value each accepts. Use it to build requests to `PATCH /prospects/{id}/profile`. `sensitive` marks attributes protected by Fair Housing law, or close to it, such as housing voucher and household size. Never use them to turn a renter away. Needs a key with Prospects: Read. Responses: - `200`: The profile attributes, in the order the Profile panel shows them. - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object - `attributes` (array of object; required) - `key` (string; required): The attribute's key in `attributes`. - `label` (string; required): The attribute's name, as the Profile panel shows it. - `value_type` (string; required; one of `date`, `boolean`, `integer`, `integer_range`, `money_range`, `zip_list`, `text_list`, `text`, `enum`, `multi_enum`, `pets`): The kind of value the attribute holds. - `accepts` (string; required): The values the attribute accepts, in words. - `options` (array of object): The choices, for `enum` and `multi_enum` attributes. - `value` (string) - `label` (string) - `min` (number): The lowest value accepted, for numbers and ranges. - `max` (number): The highest value accepted, for numbers and ranges. - `sensitive` (boolean; required): Protected by Fair Housing law, or close to it. Never use it to turn a renter away. ## Multifamily Properties Operations for managing multifamily properties. Multifamily properties are used to syndicate large properties with paid advertising contracts to the paid rental feeds. For example, paid adverising contracts are required for the Zillow network if the building has more than 24 units, and for the Apartments.com if the building has more than 4 units. Other ILSs have different thresholds. ### GET /multifamily_properties **Get multifamily properties** Operation id: `getMultifamilyProperties` Retrieve multifamily properties with optional filtering Parameters: - `account_id` (query; string, uuid): Filter by account ID - `id` (query; string, uuid): Filter by multifamily property ID - `deleted` (query; boolean; default `false`): Filter by deleted status Responses: - `200`: Success. Returns a list of multifamily properties. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier for the multifamily property - `community_name` (string; required): Name of the multifamily community - `building_count` (integer; min 1; max 100): Number of buildings in the property - `unit_count` (integer; min 1; max 10000): Total number of units in the property - `description` (string): Description of the property - `structure_type` (string; one of `Mid Rise`, `High Rise`, `Garden Style`): Type of building structure - `year_built` (integer; min 1800; max 2025): Year the property was built - `photos` (array of object): Photos of the property - `path` (string; required): URL or path to the property photo - `hidden` (boolean; required): Whether the photo is hidden - `external_ids` (object): External identifiers for the property - `text_address` (string; required): Full text address of the property - `account_id` (string, uuid; required): ID of the account that owns the property - `created_at` (string, date-time; required): Timestamp when the property was created - `updated_at` (string, date-time; required): Timestamp when the property was last updated - `specials` (array of object): Move-in specials set on this multifamily property, including expired ones. Every unit in the building shows them in `/marketing/listings`. - `description` (string; required): What the special offers. Must contain a non-space character. - `start_date` (string, date; required): First day the special applies (YYYY-MM-DD). - `end_date` (string | null, date): Last day the special applies (YYYY-MM-DD). Must be on or after `start_date`. Omit or send `null` for no end date. Responses omit it when there is none. ### POST /multifamily_properties **Create or update a multifamily property** Operation id: `postMultifamilyProperties` Create a new multifamily property or update an existing one. An update must resend every required field, `photos` included, even when you only change `specials`. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `id` (string, uuid): Unique identifier for the multifamily property. If provided, the property will be updated; if not, a new property will be created. - `community_name` (string; required): Name of the multifamily community - `building_count` (integer; required; min 1; max 100): Number of buildings in the property - `unit_count` (integer; required; min 1; max 10000): Total number of units in the property - `description` (string): Description of the property - `structure_type` (string; required; one of `Mid Rise`, `High Rise`, `Garden Style`): Type of building structure - `year_built` (integer; required; min 1800): Year the property was built - `photos` (array of object; required): Photos of the property - `path` (string; required): URL or path to the property photo - `hidden` (boolean; required): Whether the photo is hidden - `external_ids` (object): External identifiers for the property - `text_address` (string; required): Full text address of the property - `account_id` (string, uuid; required): ID of the account that owns the property. Must be a valid account ID that the API key has access to. - `deleted` (boolean; default `false`): Whether the property is deleted - `specials` (array of object): Move-in specials on this multifamily property. Sending `specials` replaces the whole list, so include every special you want to keep. Send `[]` to remove them all. Omit `specials` to leave them unchanged. Every unit in the building shows them in `/marketing/listings`. - `description` (string; required): What the special offers. Must contain a non-space character. - `start_date` (string, date; required): First day the special applies (YYYY-MM-DD). - `end_date` (string | null, date): Last day the special applies (YYYY-MM-DD). Must be on or after `start_date`. Omit or send `null` for no end date. Responses omit it when there is none. ```json { "community_name": "Sunset Towers", "building_count": 3, "unit_count": 75, "description": "Luxury apartment community with amenities", "structure_type": "Mid Rise", "year_built": 2008, "photos": [ { "path": "https://example.com/images/sunset-towers.jpg", "hidden": false } ], "text_address": "123 Main St, San Francisco, CA 94111", "account_id": "4b88ff32-8ba0-4bbf-8e60-c789909ac176" } ``` Responses: - `200`: Multifamily property successfully created or updated - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier for the multifamily property - `community_name` (string; required): Name of the multifamily community - `building_count` (integer; min 1; max 100): Number of buildings in the property - `unit_count` (integer; min 1; max 10000): Total number of units in the property - `description` (string): Description of the property - `structure_type` (string; one of `Mid Rise`, `High Rise`, `Garden Style`): Type of building structure - `year_built` (integer; min 1800; max 2025): Year the property was built - `photos` (array of object): Photos of the property - `path` (string; required): URL or path to the property photo - `hidden` (boolean; required): Whether the photo is hidden - `external_ids` (object): External identifiers for the property - `text_address` (string; required): Full text address of the property - `account_id` (string, uuid; required): ID of the account that owns the property - `created_at` (string, date-time; required): Timestamp when the property was created - `updated_at` (string, date-time; required): Timestamp when the property was last updated - `specials` (array of object): Move-in specials set on this multifamily property, including expired ones. Every unit in the building shows them in `/marketing/listings`. - `description` (string; required): What the special offers. Must contain a non-space character. - `start_date` (string, date; required): First day the special applies (YYYY-MM-DD). - `end_date` (string | null, date): Last day the special applies (YYYY-MM-DD). Must be on or after `start_date`. Omit or send `null` for no end date. Responses omit it when there is none. ## Floorplans Operations for managing floorplans associated with multifamily properties. Floorplans are used to syndicate units to the paid rental feeds for paid advertising contracts. They must be used in conjunction with a multifamily property. ### GET /floorplans **Get floorplans** Operation id: `getFloorplans` Retrieve multifamily_prs with optional filtering Parameters: - `multifamily_property_id` (query; string, uuid): Filter by multifamily property ID - `account_id` (query; string, uuid): Filter by account ID - `id` (query; string, uuid): Filter by floorplan ID - `deleted` (query; boolean; default `false`): Filter by deleted status Responses: - `200`: Success. Returns a list of floorplans. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier for the floorplan - `multifamily_property_id` (string, uuid; required): ID of the multifamily property this floorplan belongs to - `name` (string): Name of the floorplan - `bedroom_count` (integer; min 0; max 100): Number of bedrooms - `bathroom_count` (number; min 0; max 100): Number of bathrooms - `unit_count` (integer; min 0; max 10000): Total number of units with this floorplan - `units_available` (integer; min 0; max 10000): Number of units currently available with this floorplan - `market_rent` (number; min 0): Market rent for this floorplan - `min_sqft` (integer; min 0; max 1000000): Minimum square footage for this floorplan - `max_sqft` (integer; min 0; max 1000000): Maximum square footage for this floorplan - `photos` (array of object): Photos of the floorplan - `path` (string; required): URL or path to the floorplan photo - `hidden` (boolean): Whether the photo is hidden - `created_at` (string, date-time; required): Timestamp when the floorplan was created - `updated_at` (string, date-time; required): Timestamp when the floorplan was last updated - `deleted` (boolean; required; default `false`): Whether the floorplan is deleted - `description` (string): Description of the floorplan - `specials` (array of object): Move-in specials set on this floorplan, including expired ones. Every unit on the floorplan shows them in `/marketing/listings`. - `description` (string; required): What the special offers. Must contain a non-space character. - `start_date` (string, date; required): First day the special applies (YYYY-MM-DD). - `end_date` (string | null, date): Last day the special applies (YYYY-MM-DD). Must be on or after `start_date`. Omit or send `null` for no end date. Responses omit it when there is none. ### POST /floorplans **Create or update a floorplan** Operation id: `postFloorplans` Create a new floorplan or update an existing one Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `id` (string, uuid): Unique identifier for the floorplan. If provided, the floorplan will be updated; if not, a new floorplan will be created. - `multifamily_property_id` (string, uuid; required): ID of the multifamily property this floorplan belongs to - `name` (string): Name of the floorplan - `bedroom_count` (integer; min 0): Number of bedrooms - `bathroom_count` (number; min 0): Number of bathrooms - `unit_count` (integer; min 0): Total number of units with this floorplan - `units_available` (integer; min 0): Number of units currently available with this floorplan - `market_rent` (number; min 0): Market rent for this floorplan - `min_sqft` (integer; min 0): Minimum square footage for this floorplan - `max_sqft` (integer; min 0): Maximum square footage for this floorplan - `photos` (array of object): Photos of the floorplan - `path` (string; required): URL or path to the floorplan photo - `hidden` (boolean; required): Whether the photo is hidden - `deleted` (boolean; default `false`): Whether the floorplan is deleted. Setting this to true unassigns every unit on the floorplan, and setting it back to false does not reassign them, so a floorplan that still has units is refused with a 409 until they are moved. - `description` (string): Description of the floorplan - `specials` (array of object): Move-in specials on this floorplan. Sending `specials` replaces the whole list, so include every special you want to keep. Send `[]` to remove them all. Omit `specials` to leave them unchanged. Every unit on the floorplan shows them in `/marketing/listings`. - `description` (string; required): What the special offers. Must contain a non-space character. - `start_date` (string, date; required): First day the special applies (YYYY-MM-DD). - `end_date` (string | null, date): Last day the special applies (YYYY-MM-DD). Must be on or after `start_date`. Omit or send `null` for no end date. Responses omit it when there is none. ```json { "multifamily_property_id": "123e4567-e89b-12d3-a456-426614174000", "name": "The Willow", "bedroom_count": 2, "bathroom_count": 2.5, "unit_count": 15, "units_available": 3, "market_rent": 1850, "min_sqft": 950, "max_sqft": 1100, "photos": [ { "path": "https://example.com/images/willow-floorplan.jpg", "hidden": false } ], "description": "Spacious 2-bedroom layout with modern finishes" } ``` Responses: - `200`: Floorplan successfully created or updated - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `409`: Either a request with this Idempotency-Key is already in progress, or `deleted: true` was sent for a floorplan that still has units assigned to it. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier for the floorplan - `multifamily_property_id` (string, uuid; required): ID of the multifamily property this floorplan belongs to - `name` (string): Name of the floorplan - `bedroom_count` (integer; min 0; max 100): Number of bedrooms - `bathroom_count` (number; min 0; max 100): Number of bathrooms - `unit_count` (integer; min 0; max 10000): Total number of units with this floorplan - `units_available` (integer; min 0; max 10000): Number of units currently available with this floorplan - `market_rent` (number; min 0): Market rent for this floorplan - `min_sqft` (integer; min 0; max 1000000): Minimum square footage for this floorplan - `max_sqft` (integer; min 0; max 1000000): Maximum square footage for this floorplan - `photos` (array of object): Photos of the floorplan - `path` (string; required): URL or path to the floorplan photo - `hidden` (boolean): Whether the photo is hidden - `created_at` (string, date-time; required): Timestamp when the floorplan was created - `updated_at` (string, date-time; required): Timestamp when the floorplan was last updated - `deleted` (boolean; required; default `false`): Whether the floorplan is deleted - `description` (string): Description of the floorplan - `specials` (array of object): Move-in specials set on this floorplan, including expired ones. Every unit on the floorplan shows them in `/marketing/listings`. - `description` (string; required): What the special offers. Must contain a non-space character. - `start_date` (string, date; required): First day the special applies (YYYY-MM-DD). - `end_date` (string | null, date): Last day the special applies (YYYY-MM-DD). Must be on or after `start_date`. Omit or send `null` for no end date. Responses omit it when there is none. ## Leasing Events Events related to leasing events ### GET /leasing_events **List a prospect's leasing events** Operation id: `getProspectLeasingEvents` Retrieve a prospect's leasing-event timeline (newest first), by prospect_id or phone (supply exactly one). Parameters: - `prospect_id` (query; integer; min 1): The prospect's numeric id. Provide either this or phone (exactly one). - `phone` (query; string): A US phone number in any human-readable format (normalized to E.164 server-side). Matches all prospect records sharing this number, so results may span more than one prospect_id. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated leasing-event rows for the prospect. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object Paginated envelope for a prospect's leasing-event rows - `data` (array of object; required) - `id` (integer, int64) - `created_at` (string, date-time) - `event_type` (string): The type of leasing event (see the LeasingEvent `event_type` enum). - `source` (string | null) - `notes` (string | null) - `planned_date_time` (string | null, date-time) - `next_follow_up` (string | null, date-time) - `created_by` (string | null) - `prospect_id` (integer, int64): ID of the prospect this event belongs to. - `prospect_name` (string | null): The prospect's display name. - `phone_number` (string | null): The prospect's contact phone number. - `email` (string | null, email): The prospect's email. - `unit_of_interest` (integer | null, int64): ID of the unit the prospect is interested in. - `property_address` (string | null): Formatted address of the unit the prospect is interested in. - `floorplan_id` (string | null, uuid): ID of the floorplan the prospect is interested in (multifamily leads). `null` for single-family leads. - `multifamily_property_id` (string | null, uuid): ID of the multifamily property the prospect is interested in. `null` for single-family leads. - `context` (object | null): Non-sensitive subset of the event's context, or `null`. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### POST /leasing_events **Create leasing events** Operation id: `postLeasingEvents` Create one or more leasing events. Additional event types will be supported in future releases. Currently supported event types: - **Assign to User** — set the users assigned to a prospect. The `context` object **must** include an `assignedToUserIds` array, which replaces the current assignees; send an empty array to unassign everyone. See `AssignToUserContext`. - **Application Received** — log that an application has been received from an external system. The `context` object accepts optional metadata about the external application; see `ApplicationReceivedContext`. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `events` (array of object | object; required): List of leasing events to create. Only 1 event is supported at a time. ```json { "events": [ { "prospect_id": 12345, "event_type": "Assign to User", "source": "Other", "notes": "Assigning to Alice", "context": { "assignedToUserIds": [ "1259ef6e-61ee-42cb-b6bd-7fe547569d7c" ], "applyActionInBulk": false } } ] } ``` Responses: - `201`: Leasing events created successfully - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `201` body (`application/json`): array of object - `id` (integer, int64): Unique identifier for the leasing event - `created_at` (string, date-time): Timestamp when the leasing event was created - `notes` (string): Optional notes about the leasing event - `prospect` (integer, int64): ID of the associated prospect - `planned_date_time` (string, date-time): Planned date and time for the leasing event - `source` (string; one of `Phone Call`, `Text Message`, `Email`, `Facebook Message`, `WhatsApp`, `Other`, `Showing Scheduler`, `Automation`): Source of the leasing event - `event_type` (string; one of `New`, `Contacted, Awaiting Information`, `Showing Desired`, `Showing Scheduled`, `Showing Complete`, `Missed Showing`, `Ghosting`, `Application Sent to Prospect`, `Application Received`, `Application Pending`, `Application in Owner Review`, `Application Approved`, `Withdrawn`, `Application Rejected`, `Prescreen Submitted`, `Prescreen Rejected - Self reported credit`, `Prescreen Rejected - Self reported income`, `Prescreen Rejected - ID Verification`, `Prescreen Approved`, `Looking too early`, `Lease out for signing`, `Lease Signed`, `Deposit Received`, `Move-in Scheduled`, `Moved In`, `Unit of Interest Unavailable`, `Not Interested`, `Duplicate Lead`, `Still Deciding`, `HOA Application Sent To Prospect`, `HOA Application Submitted`, `HOA Application Approved`, `HOA Application Rejected`, `Showing Failed`, `Showing Canceled`, `Showing Confirmed`, `Awaiting PM Response`, `PM Response`, `Arrived for Showing`, `Showing Started`, `Log Note`, `Assign to User`, `Blocklist Prospect`, `Unblock Prospect`, `Reassign Showing`): Type of the leasing event - `next_follow_up` (string, date-time): Timestamp for the next follow-up - `deleted` (boolean; default `false`): Flag indicating if the leasing event is deleted - `created_by` (string): Identifier of the user who created the event - `context` (object): Additional context information for the event. Structure varies based on event_type. ## Calls Operations for retrieving a prospect's call history ### GET /calls **List a prospect's calls** Operation id: `getProspectCalls` Retrieve a prospect's call history (newest first), by prospect_id or phone (supply exactly one). Each row carries the call's recordings and transcripts. `recordings` holds the voicemails and recorded conversations attached to the call, and the `ai_*` fields hold the Voice AI side of it when the AI took the call. Audio itself is fetched from `GET /calls/{call_sid}/recordings/{recording_id}`. Only calls between the prospect and your own leasing number are returned. One person can be a lead with several property managers at the same phone number, and the calls they placed to another company are not yours to read. Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `prospect_id` (query; integer; min 1): The prospect's numeric id. Provide either this or phone (exactly one). - `phone` (query; string): A US phone number in any human-readable format (normalized to E.164 server-side). Matches all prospect records sharing this number, so results may span more than one prospect_id. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated call rows for the prospect. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object Paginated envelope for a prospect's call rows - `data` (array of object; required) - `created_at` (string, date-time) - `call_sid` (string): Twilio Call SID (unique identifier). - `prospect_id` (integer, int64): ID of the prospect this call belongs to. - `direction` (string | null; one of `inbound`, `outbound`, `outbound-dial`, `null`): Call direction. - `call_status` (string | null): Call status (e.g. `queued`, `initiated`, `ringing`, `in-progress`, `completed`, `busy`, `no-answer`, `canceled`, `failed`, `missed-transfer`). - `call_duration` (integer | null): Duration of the call in seconds. - `from_number` (string | null): Caller's phone number (E.164). - `to_number` (string | null): Called destination phone number (E.164). - `prospect_name` (string | null): The prospect's display name. - `phone_number` (string | null): The prospect's contact phone number. - `email` (string | null, email): The prospect's email. - `unit_of_interest` (integer | null, int64): ID of the unit the prospect is interested in. - `property_address` (string | null): Formatted address of the unit the prospect is interested in. - `floorplan_id` (string | null, uuid): ID of the floorplan the prospect is interested in (multifamily leads). `null` for single-family leads. - `multifamily_property_id` (string | null, uuid): ID of the multifamily property the prospect is interested in. `null` for single-family leads. - `recordings` (array of object): Every recording attached to this call that you can download: voicemails, recorded conversations, and Voice AI audio. Empty when the call produced none. The Voice AI conversation leads the list when there is one, then the rest oldest first. A call can carry more than one kind, and a transferred call carries several recorded conversations because each transfer ends one recording and starts another, so use `kind` rather than assuming a call has at most one. Recorded conversations only exist for accounts with call recording enabled. - `recording_id` (string): Identifier for this recording, and the value to pass to `GET /calls/{call_sid}/recordings/{recording_id}` to fetch the audio. - `kind` (string; one of `voicemail`, `call`, `ai`): `voicemail`: the caller left a message, so the call was missed. `call`: the conversation itself was recorded. `ai`: audio of a Voice AI conversation. - `duration_seconds` (integer | null): Length of the audio in seconds. Usually shorter than the call, which includes ringing and greeting before recording starts. - `transcript_status` (string | null; one of `pending`, `processing`, `completed`, `failed`, `null`): State of transcription for this recording. `null` means transcription was never attempted, which is the state every voicemail stays in. Recorded conversations are transcribed; voicemails are not. Always `null` on a `kind: ai` entry. A Voice AI conversation is transcribed by the AI itself rather than by the recording pipeline, and its transcript has a different shape (speaker turns, not timed channel segments). Read it from the call's `ai_transcript_text` and `ai_transcript_messages`. - `transcript_language` (string | null): ISO 639-1 language detected in the recording. - `transcript_text` (string | null): The full transcript as plain text. `null` unless `transcript_status` is `completed`. - `transcript_segments` (array | null): The same transcript split into timed turns. `null` unless `transcript_status` is `completed`. - `start` (number): Seconds from the start of the recording. - `end` (number): Seconds from the start of the recording. - `channel` (integer | null): Which side of the call spoke. Calls are recorded in two channels: on an inbound call channel 1 is the caller and channel 2 is whoever answered, and on an outbound call they are reversed. This is the only speaker attribution available. The transcription provider's own diarization labels are not populated, so no speaker name is published rather than inventing one. - `text` (string | null): What was said in this turn. - `ai_conversation_id` (string | null): ID of the Voice AI conversation on this call. `null` when the AI did not take the call. To download the audio, use the `recording_id` of the `kind: ai` entry in `recordings` rather than this value. The two usually match, but not always: a conversation whose audio has not arrived gets no entry, and a call can hold more than one conversation record. - `ai_call_successful` (string | null): The AI's own verdict on the call (`success`, `failure`, `unknown`). `null` on a call the AI did not take, and on a live transfer, where reaching a person is the outcome rather than a success or failure of the AI's own. - `ai_is_transferred` (boolean | null): Whether the AI live-transferred this call to a person. `null` when the AI did not take the call. - `ai_transcript_summary` (string | null): The AI's narrative summary of the conversation. - `ai_transcript_text` (string | null): The AI conversation as plain text, each turn prefixed `Agent:` or `User:`. - `ai_transcript_messages` (array | null): The AI conversation turn by turn. `null` when the AI did not take the call. Turns that carry no spoken text (tool calls, interruptions, backchannel) are omitted, so this is shorter than the raw conversation and reads as a transcript rather than a trace. - `role` (string | null; one of `agent`, `user`, `null`): Who spoke. `agent` is the AI, `user` is the caller. - `message` (string | null): What was said. - `time_in_call_secs` (integer | null): Seconds from the start of the conversation. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /calls/{call_sid}/recordings/{recording_id} **Download a call recording** Operation id: `getCallRecording` Stream the raw audio of one recording attached to a call. Both identifiers come from `GET /calls`: `call_sid` from the call row, and `recording_id` from an entry in that row's `recordings` array. Every downloadable recording appears there, Voice AI audio included, so that one array is the whole story. The response is `audio/mpeg` whichever kind it is. Where the file is stored is an internal detail, and the stored URLs are not fetchable by a caller. Seeking is supported for voicemails and recorded conversations: send a `Range` header and the response is `206` with `Content-Range`, or `416` if the range falls past the end of the file. Voice AI audio (`kind: ai`) is always returned whole, with no `Accept-Ranges`. A recording that does not exist, and a recording on a call that does not belong to the supplied `account_ids`, both answer `404`. They are deliberately not distinguished. A `403` would confirm that a recording exists on a call the caller may not hear. **Rate limit:** Strict tier — 2 req/s (10 per 5 seconds). Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `call_sid` (path; string; required): The call the recording belongs to, as returned by `GET /calls`. - `recording_id` (path; string; required): The `recording_id` from an entry in the call's `recordings` array. Responses: - `200`: The audio bytes. - `206`: The requested byte range, when a `Range` header was sent. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `404`: No such recording, or it belongs to a call outside the supplied account_ids. - `416`: The requested range falls past the end of the recording. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `502`: The recording could not be retrieved from storage. - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. Response headers: `Content-Type`, `Content-Length`, `Accept-Ranges` `200` body (`audio/mpeg`): string, binary Raw MP3 bytes of the recording. ## Messages Operations for retrieving a prospect's SMS history ### POST /external-messages **Copy an external conversation** Operation id: `postExternalMessages` Copy messages from a Facebook Marketplace conversation into the Command Center, where they show read-only on the prospect's thread. The thread is identified by `external_thread_id`. The first copy of a thread creates a prospect with source `FB Marketplace`, the given name and no phone or email, so RentEngine sends it no texts or emails and RentEngine AI does not reply. Later copies add to the same prospect. A message already copied, by `external_message_id`, is skipped, so a conversation can be copied again safely. A 503 also covers a copy that raced another copy of the same thread or a transfer of its prospect; send it again. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `account_id` (string, uuid; required): Account the conversation is copied into. The token's user must be a member. - `channel` (string; required; one of `facebook_marketplace`): Platform the conversation came from. - `external_thread_id` (string; required): The platform's id for the conversation. - `external_listing_id` (string): The Facebook Marketplace item id the conversation is about. Omit to keep the one already stored. - `unit_id` (string): The `id` of the listing the conversation is about, as returned by the marketing listings endpoint. A new lead is filed under this unit, and an existing lead without a unit gets it; a lead that already has a unit keeps it. Ignored when the unit is not in the account. - `prospect` (object; required) - `name` (string; required): The prospect's display name on the platform. Used only when the first copy creates the prospect. - `messages` (array of object; required) - `external_message_id` (string; required): The platform's id for the message. A message already copied is skipped. - `direction` (string; required; one of `inbound`, `outbound`): `inbound` when the prospect sent it (sender `prospect`); `outbound` when you did (sender `pm` or `assistant`). - `sender` (string; required; one of `prospect`, `pm`, `assistant`): `pm` for a message you typed; `assistant` for an automatic reply sent for you. - `body` (string; required) - `sent_at` (string, date-time; required) ```json { "account_id": "6b90f2d1-4c37-4a58-9e21-8d5b0c7a3f42", "channel": "facebook_marketplace", "external_thread_id": "1234567890", "external_listing_id": "998877665544", "prospect": { "name": "Jane Doe" }, "messages": [ { "external_message_id": "mid.$cAAA", "direction": "inbound", "sender": "prospect", "body": "Is this still available?", "sent_at": "2026-11-12T10:00:00Z" } ] } ``` Responses: - `200`: Messages copied. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `prospect_id` (integer, int64; required): The prospect the conversation belongs to. - `thread_id` (string, uuid; required) - `inserted` (integer; required): Messages copied by this request. - `skipped` (integer; required): Messages not inserted because they were copied before or repeat within this request. ### GET /messages **List a prospect's messages** Operation id: `getProspectMessages` Retrieve a prospect's SMS history (newest first), by prospect_id or phone (supply exactly one). Parameters: - `account_ids` (query; array of string, uuid; required): Comma-separated account IDs to query. The token may only query accounts its user belongs to; requesting any other account yields 403. - `prospect_id` (query; integer; min 1): The prospect's numeric id. Provide either this or phone (exactly one). - `phone` (query; string): A US phone number in any human-readable format (normalized to E.164 server-side). Matches all prospect records sharing this number, so results may span more than one prospect_id. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated message rows for the prospect. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object Paginated envelope for a prospect's message rows - `data` (array of object; required) - `created_at` (string, date-time) - `message_sid` (string): Twilio Message SID (unique identifier). - `prospect_id` (integer, int64): ID of the prospect this message belongs to. - `direction` (string | null; one of `inbound`, `outbound`, `null`): Message direction. - `body` (string | null): Message text content. - `status` (string | null): Delivery status (e.g. `queued`, `sent`, `delivered`, `failed`, `undelivered`). - `from_number` (string | null): Sender's phone number (E.164). - `to_number` (string | null): Recipient's phone number (E.164). - `num_media` (integer | null): Number of media attachments on this message. - `media_content_types` (array | null): MIME types of any media attachments (URLs themselves are not exposed). - `prospect_name` (string | null): The prospect's display name. - `phone_number` (string | null): The prospect's contact phone number. - `email` (string | null, email): The prospect's email. - `unit_of_interest` (integer | null, int64): ID of the unit the prospect is interested in. - `property_address` (string | null): Formatted address of the unit the prospect is interested in. - `floorplan_id` (string | null, uuid): ID of the floorplan the prospect is interested in (multifamily leads). `null` for single-family leads. - `multifamily_property_id` (string | null, uuid): ID of the multifamily property the prospect is interested in. `null` for single-family leads. - `sender_user_id` (string | null, uuid): The team member the text is attributed to: they sent it, or it went out automatically right after an action they took, such as booking a showing. `null` for other automated texts and for inbound texts. Matches `agent_user_id` in `GET /reporting/agent-performance`, where `agent_name` gives the name. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ## Subteams Operations for managing subteams ### GET /subteams **Get subteams** Operation id: `getSubteams` Retrieve subteams with optional filtering and pagination Parameters: - `subteam_ids` (query; array of string): Filter by comma-separated list of subteam IDs - `account_id` (query; string): Filter by account ID - `limit` (query; integer; default `50`; min 1; max 100): Maximum number of items to return per page (default 50, max 100) - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0) Responses: - `200`: Success. Returns a list of subteams. Pagination metadata is in `X-Has-More` / `X-Next-Page-Number`. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error Response headers: `X-Has-More`, `X-Next-Page-Number` `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier for the subteam - `name` (string; required): Name of the subteam - `account_id` (string, uuid): ID of the account to associate with the subteam ## Users Operations for listing an account's users, adding them, and changing or removing their roles. ### GET /users **List users** Operation id: `getUsers` The users on an account: their name, email, role, and whether they have accepted their invitation yet. Removed users (role `deleted`) are left out unless `include_deleted` is `true`. Any user on the account can list its users. Returns every user at once; not paginated. Parameters: - `account_id` (query; string, uuid; required): The account whose users to list. Call `GET /accounts` to find it. - `include_deleted` (query; string; one of `true`, `false`; default `"false"`): `true` also returns removed users, whose role is `deleted`. Responses: - `200`: Success. Returns the account's users, sorted by name. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The token's user isn't on the account, or isn't an owner of it for a change. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): array of object - `user_id` (string, uuid; required): Unique identifier for the user. - `name` (string | null; required): The user's name. `null` until they accept their invitation. - `email` (string | null; required): The user's email address. - `role` (string; required; one of `owner`, `member`, `reports_only`, `showing_agent`, `maintenance`, `deleted`): The user's role on the account. `deleted` means they were removed. - `is_primary_owner` (boolean; required): Whether the user is the account's primary owner, whose role can't be changed. - `invite_pending` (boolean; required): Whether the user hasn't accepted their invitation yet. ### POST /users **Add a user** Operation id: `postUsers` Adds someone to the account with a role and emails them, the same as Add Member on the Team page in RentEngine. Someone new gets an invitation to set up their login; someone who already has a login gets a sign-in link. A removed user (role `deleted`) is restored with the new role. Adding someone who is already on the account returns `409`. Only an owner of the account can add users. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `account_id` (string, uuid; required): The account to add the user to. - `email` (string, email; required): The person's email address. - `role` (string; required; one of `owner`, `member`, `reports_only`, `showing_agent`, `maintenance`): The role to give them. ```json { "account_id": "4b88ff32-8ba0-4bbf-8e60-c789909ac176", "email": "jordan@example.com", "role": "showing_agent" } ``` Responses: - `201`: The user is on the account. `email_sent` is `false` when they have access but the email didn't go out, so let them know directly. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The token's user isn't on the account, or isn't an owner of it for a change. - `409`: That person is already on the account, or a request with this Idempotency-Key is already in progress. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `502`: The invitation email to a new address couldn't be sent, so the user wasn't added. `201` body (`application/json`): object A user on an account. - `user_id` (string, uuid; required): Unique identifier for the user. - `name` (string | null; required): The user's name. `null` until they accept their invitation. - `email` (string | null; required): The user's email address. - `role` (string; required; one of `owner`, `member`, `reports_only`, `showing_agent`, `maintenance`, `deleted`): The user's role on the account. `deleted` means they were removed. - `is_primary_owner` (boolean; required): Whether the user is the account's primary owner, whose role can't be changed. - `invite_pending` (boolean; required): Whether the user hasn't accepted their invitation yet. - `email_sent` (boolean; required): Whether the invitation or sign-in email was sent. ### PATCH /users/{user_id} **Change a user's role** Operation id: `patchUser` Changes a user's role on the account. Set `role` to `deleted` to remove them, or set a removed user's role to bring them back. Bringing someone back this way sends them no email, as on the Team page; `POST /users` restores them and emails them. Moving a user to `deleted`, `maintenance` or `reports_only` does what removing them on the Team page does: their upcoming showings, active leads and unit default-agent spots go to `reassign_to_user_id`, and they leave every subteam on the account. `reassign_to_user_id` is required for that move. The teammate must be on the account as `owner`, `member` or `showing_agent`. Send `null` to leave the work unassigned. Send `"auto"` to give each upcoming showing to someone who can take it over at its time, picked as a rebooked showing is: the lead's other assignees when it has any, otherwise the unit's other agents; the unit's Smart Assign primary first among them, otherwise the first one free. Showings are picked in time order and each check counts the picks before it, so nobody is double-booked or given more than the unit allows. With `"auto"`, the user's leads and unit spots are dropped rather than handed on, so they stay with whoever else holds them. The response's `showings` says who got each showing. An accompanied showing always keeps an agent. If `null`, or `"auto"` finding nobody free, would leave one of the user's accompanied showings with nobody, nothing changes and the response is `409`, listing those showings: send a teammate's id, or reassign them first. On a unit that allows either method, a showing left with nobody becomes self-guided. Upcoming showings include unassigned ones on units where the user is a showing agent, as on the Team page, so those are handed off too. A user already on `maintenance` or `reports_only` moves between those two without it, and so does a removed user being brought back: they hold nothing to hand off, so sending it returns `400`. You can't change your own role or the primary owner's. Sending the user's current role changes nothing and returns the user, so a removal sent again with the same `reassign_to_user_id` is safe to retry. Only an owner of the account can change roles. Parameters: - `user_id` (path; string, uuid; required): The user's `user_id` from `GET /users`. Request body (`application/json`): object - `account_id` (string, uuid; required): The account the user is on. - `role` (string; required; one of `owner`, `member`, `reports_only`, `showing_agent`, `maintenance`, `deleted`): The new role. `deleted` removes the user. - `reassign_to_user_id` (string, uuid | string | null): Required when moving a user to `deleted`, `maintenance` or `reports_only`: the teammate who takes their upcoming showings, active leads and unit default-agent spots; `"auto"` to give each showing to an agent free at that time and drop the leads and unit spots; or `null` to leave all of it unassigned. Accompanied showings always keep an agent, so either of the last two can answer `409`. Not allowed when there is nothing to hand off: with any other role, between `maintenance` and `reports_only`, or when bringing back a removed user. ```json { "account_id": "4b88ff32-8ba0-4bbf-8e60-c789909ac176", "role": "deleted", "reassign_to_user_id": "7d1e3b52-0c4a-4f8e-9a6b-2e5f1c8d4a90" } ``` Responses: - `200`: The role is changed. Returns the user with their new role, and, when their work was handed off, `showings`: who got each upcoming showing. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The token's user isn't on the account, or isn't an owner of it for a change. - `404`: Not found. - `409`: One or more of the user's accompanied showings would be left with no agent. Nothing changed. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object A user on an account. - `user_id` (string, uuid; required): Unique identifier for the user. - `name` (string | null; required): The user's name. `null` until they accept their invitation. - `email` (string | null; required): The user's email address. - `role` (string; required; one of `owner`, `member`, `reports_only`, `showing_agent`, `maintenance`, `deleted`): The user's role on the account. `deleted` means they were removed. - `is_primary_owner` (boolean; required): Whether the user is the account's primary owner, whose role can't be changed. - `invite_pending` (boolean; required): Whether the user hasn't accepted their invitation yet. - `showings` (array of object): Present when the user's work was handed off: each upcoming showing and who now has it. - `leasing_event_id` (integer; required): The leasing event that booked the showing. - `prospect_id` (integer; required) - `assigned_to_user_id` (string | null, uuid; required): The agent who now has it, or `null` when it has none (a showing that was already unassigned, or one that became self-guided). ## Prescreening Templates Operations for managing prescreening templates used for prospect qualification ### GET /prescreening_templates **Get prescreening templates** Operation id: `getPrescreeningTemplates` Retrieve prescreening templates with optional filtering and pagination Parameters: - `templateIds` (query; array of string): Filter by comma-separated list of template IDs - `accountId` (query; string): Filter by account ID - `isDefault` (query; boolean): Filter by default template status - `limit` (query; integer; default `50`; min 1; max 100): Maximum number of items to return per page (default 50, max 100) - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0) Responses: - `200`: Success. Returns a list of prescreening templates. Pagination metadata is in `X-Has-More` / `X-Next-Page-Number`. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error Response headers: `X-Has-More`, `X-Next-Page-Number` `200` body (`application/json`): array of object - `id` (string, uuid; required): Unique identifier for the prescreening template - `name` (string; required): Name of the prescreening template - `rules` (object; required): Rules for prescreening - `minimumCreditScore` (number): Minimum credit score required - `minimumIncomeRentMultiplier` (number): Minimum income as multiple of rent - `enableVoIPPhoneVerification` (boolean): Whether to enable VoIP phone verification - `enableIDVerification` (boolean): Whether to enable ID verification - `enableSelfieVerification` (boolean): Whether to enable selfie verification - `allowIDWithoutExpiryDate` (boolean): Whether to allow IDs without expiry date - `allowIDExpiredInDays` (number): Number of days an expired ID is still acceptable - `minimumAge` (number): Minimum age required - `enableShowingLocationVerification` (boolean): Whether to enable showing location verification - `questions` (array of object; required): List of prescreening questions - `fixedQuestionType` (string): Fixed question type (if any) - `question` (string): Question text - `type` (string): Question type - `rejectAnswers` (array of string): Answers that cause rejection - `isDefault` (boolean; required): Whether this is the default template - `accountId` (string; required): ID of the account that owns the template - `createdAt` (string, date-time; required): Timestamp when the template was created - `updatedAt` (string, date-time; required): Timestamp when the template was last updated ## Showings Operations for managing showing availability and scheduling ### GET /showings/availability **Get unit showing availability** Operation id: `getShowingAvailability` Retrieve showing availability for a specific unit, including available and preferred showing windows Parameters: - `unitId` (query; number; required): ID of the unit to get availability for Responses: - `200`: Success. Returns showing availability for the unit. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object - `availability` (object) - `unitId` (number; required): ID of the unit - `preferredShowingWindows` (array of object; required): Preferred showing windows (e.g., with stacking opportunities) - `start` (string, date-time; required): Start time of the showing window - `end` (string, date-time; required): End time of the showing window - `invitedUserIdsArray` (array of string, uuid): Array of user IDs invited for this showing window (for accompanied showings) - `showingMethodsAvailable` (array of string): Available showing methods for this time slot - `availableShowingWindows` (array of object; required): Available showing windows - `start` (string, date-time; required): Start time of the showing window - `end` (string, date-time; required): End time of the showing window - `invitedUserIdsArray` (array of string, uuid): Array of user IDs invited for this showing window (for accompanied showings) - `showingMethodsAvailable` (array of string): Available showing methods for this time slot - `showingMethod` (string; required; one of `Accompanied`, `Remote Guided`, `Remote Guided with Gated Access`, `Self Guided`): The showing method configured for this unit - `timezoneName` (string; required): Timezone name for the unit - `timezoneAbbreviation` (string; required): Timezone abbreviation - `unitStatus` (string | null; one of `Available`, `Leased`, `On Hold`, `Archived`, `Withdrawn`, `Withdrawal Requested`, `Incomplete`, `Under Review`, `Expired`, `Price Analysis`): Current status of the unit ### POST /showings/create **Create a showing** Operation id: `createShowing` Create a new showing for a unit. This endpoint handles both new showings and rescheduling of existing showings. ## Prospect Types - **Self**: Regular prospect who needs to complete prescreening - **Agent**: Real estate agent who needs to provide a valid agent token ## Prescreening For self prospects, the system will automatically run prescreening based on the unit's prescreen template. If prescreening fails, the showing will not be created and an appropriate error will be returned. ## Agent Tokens For agent prospects, a valid 6-character agent token must be provided in the `agentTk` field. ## Showing Methods The `desiredShowingMethod` field allows specifying the preferred showing method: - "Accompanied": Agent-guided showing - "Self Guided": Self-guided showing - "Remote Guided": Remote-guided showing - "Remote Guided with Gated Access": Remote-guided showing with gate access Request body (`application/json`): object - `unitId` (number; required): ID of the unit to schedule the showing for - `plannedForTime` (string, date-time; required): Planned date and time for the showing (ISO 8601 format) - `prospectData` (object; required) - `firstName` (string; required): Prospect's first name - `lastName` (string; required): Prospect's last name - `email` (string; required): Prospect's email address - `phone` (string; required): Prospect's phone number (10 digits) - `creditScore` (string; required): Prospect's credit score range - `income` (string; required): Prospect's household monthly income range - `questionAnswers` (array of object; required): Answers to prescreening questions - `question` (string; required): The question text - `fixedQuestionType` (string): Fixed question type identifier - `type` (string; required; one of `yes_no`, `free_text`, `date_picker`): Question type. Discriminates the type of `answer`. - `answer` (boolean | string; required): The prospect's answer. Boolean when `type` is `yes_no`; a string when `type` is `free_text` or `date_picker`. `date_picker` answers are `MM/DD/YYYY` (US format, as written by the prescreen form) — not ISO. `Date.parse` and ISO parsers will reject or misread them (e.g. `05/14/2026`). Previously documented as boolean only, which was wrong for two of the three question types. - `prospectType` (string; required; one of `Self`, `Agent`): Type of prospect - `voucherHolder` (boolean): Whether the prospect holds a housing voucher - `licenseNumber` (string): License number (for agent prospects) - `notes` (string): Additional notes about the prospect - `agentTk` (string): Agent token (required for agent prospects, must be 6 characters) - `desiredShowingMethod` (string; one of `Accompanied`, `Self Guided`, `Remote Guided`, `Remote Guided with Gated Access`): Preferred showing method - `files` (array of string): Array of file paths for uploaded documents - `livenessResult` (object): Liveness verification result from ID verification - `rescheduleEvent` (string | number): ID of the event to reschedule (if rescheduling an existing showing) ```json { "unitId": 12345, "plannedForTime": "2024-03-15T10:00:00Z", "prospectData": { "firstName": "John", "lastName": "Doe", "email": "john.doe@example.com", "phone": "5551234567", "creditScore": "700+", "income": "$5000-$6000/month", "questionAnswers": [ { "question": "Do you have a housing voucher (e.g. Section 8)?", "fixedQuestionType": "housing_voucher", "type": "yes_no", "answer": false }, { "question": "Have you been convicted of a felony?", "type": "yes_no", "answer": false } ], "prospectType": "Self", "voucherHolder": false }, "desiredShowingMethod": "Accompanied" } ``` Responses: - `200`: Showing created successfully - `400`: Bad request - validation error or business logic error - `500`: Internal server error `200` body (`application/json`): object - `statusText` (string; required): Success status message ## Marketing Operations for retrieving marketing listings for external display and embedding on websites ### GET /marketing/listings/{accountId} **Get marketing listings** Operation id: `getMarketingListings` Retrieve marketing listings for a specific account. This endpoint is designed for embedding listings on external websites and marketing platforms. Parameters: - `accountId` (path; string, uuid; required): The account ID to retrieve listings for - `utm_source` (query; string): UTM source parameter for tracking - `limit` (query; integer; default `50`; min 1; max 100): Maximum number of items to return per page (default 50, max 100) - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0) Responses: - `200`: Success. Returns a list of marketing listings. - `404`: Not found. - `500`: Internal server error `200` body (`application/json`): array of object - `id` (string; required): Unique identifier for the listing - `email` (string): Contact email for the listing - `phone` (string): Contact phone number (digits only) - `propertyType` (string; required; one of `Single Family`, `Duplex`, `Apartment Unit`, `Condo Unit`, `Townhouse`, `ADU`, `Room`, `Commercial Office`, `Commercial Retail`, `Commercial Industrial`, `Garage`): Type of property - `companyName` (string): Name of the property management company - `address` (string; required): Formatted address - `city` (string; required): City name - `state` (string; required): Full state name - `zip` (string; required): ZIP code - `title` (string): Marketing title for the listing - `description` (string): Marketing description of the property - `beds` (string; required): Number of bedrooms - `baths` (string; required): Number of bathrooms - `dateAvailable` (string): Date the property is available for move-in - `rentAmount` (string; required): Monthly rent amount in dollars - `depositAmount` (string): Security deposit amount in dollars. Low end of a range when `depositAmountMax` is set. - `depositAmountMax` (string | null): Upper bound of a security deposit range in dollars. Null when the deposit is a single value; `depositAmount` is then the amount. - `squareFootage` (string): Square footage of the property - `latitude` (number | null): Latitude coordinate - `longitude` (number | null): Longitude coordinate - `applicationFee` (string): Application fee amount in dollars - `leaseProcessingFee` (string): Total lease processing/move-in fees in dollars - `isFurnished` (boolean): Whether the property is furnished - `isFeatured` (boolean): Whether the property manager has marked this listing as a Featured Listing - `dogs` (boolean): Whether dogs are allowed - `cats` (boolean): Whether cats are allowed - `applyUrl` (string): URL to apply for the listing - `btnUrl` (string): URL for the schedule showing button - `btnText` (string): Text for the call-to-action button - `waitlistIcon` (string): Icon identifier for waitlist status - `waitlistLabel` (string): Label for waitlist status - `waitlistTurnOffDate` (string): Date when waitlist status ends - `virtualTour` (string | null): URL for virtual tour video - `pmName` (string): Property manager name - `pmEmail` (string): Property manager email - `pmPhone` (string): Property manager phone (digits only) - `externalId` (string): External system identifier - `propertyGroup` (string | null): Property group identifier - `leaseDescription` (string): Description of lease terms - `moveInFees` (array of object): One-time fees required at move-in - `name` (string): Name of the fee - `amount` (number): Fee amount (dollar value or percentage based on type) - `type` (string; one of `percent`, `dollar`): Whether the amount is a fixed dollar value or percentage of rent - `monthlyFees` (array of object): Recurring monthly fees in addition to rent - `name` (string): Name of the fee - `amount` (number): Fee amount (dollar value or percentage based on type) - `type` (string; one of `percent`, `dollar`): Whether the amount is a fixed dollar value or percentage of rent - `specials` (array of object): Move-in specials and promotional offers. Combines specials from the unit, floorplan, and multifamily property (if applicable). Expired specials are filtered out. When end_date is omitted, the special has no end date (ongoing). Public listing pages should conditionally show the date range only when end_date is present. - `description` (string): Description of the special offer - `start_date` (string, date): Start date of the special offer (YYYY-MM-DD) - `end_date` (string, date): Optional. End date of the special offer (YYYY-MM-DD). When omitted, the special has no end date (ongoing). - `photos` (array of string; required): Array of photo URLs ## Rental Applications Operations for rental application groups, applicant records (with PII), and application documents. ### GET /rental_application_groups **List rental application groups** Operation id: `listRentalApplicationGroups` Retrieve rental application groups with filters, sorting, and pagination. Each group represents a single party applying to a unit and bundles one or more applicants. The response embeds a non-PII summary for each applicant including screening status. For the full applicant record including PII (personal details, income, address history), fetch the individual applicant via `GET /rental_applications/{id}`. Parameters: - `id` (query; array of string, uuid): Filter by one or more rental application group IDs (comma-separated) - `account_id` (query; string, uuid): Filter by account ID (via the associated unit) - `subteam_id` (query; string, uuid): Filter by subteam ID (via the associated unit) - `unit_id` (query; array of integer): Filter by one or more unit IDs (comma-separated) - `status` (query; array of string): Filter by one or more application group statuses (comma-separated) - `created_after` (query; string, date-time): Only include groups created at or after this ISO-8601 datetime - `created_before` (query; string, date-time): Only include groups created at or before this ISO-8601 datetime - `updated_after` (query; string, date-time): Only include groups updated at or after this ISO-8601 datetime - `updated_before` (query; string, date-time): Only include groups updated at or before this ISO-8601 datetime - `sort` (query; string; one of `created_at`, `updated_at`, `status`; default `"created_at"`): Field to sort by - `direction` (query; string; one of `asc`, `desc`; default `"desc"`): Sort direction - `limit` (query; integer; default `50`; min 1; max 100): Maximum number of items to return per page (default 50, max 100) - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0) Responses: - `200`: Paginated list of rental application groups. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object Paginated envelope for rental application groups - `data` (array of object; required) - `id` (string, uuid; required) - `unit_id` (integer | null): ID of the unit the group is applying to - `account_id` (string | null, uuid): RentEngine account that owns the unit - `subteam_id` (string | null, uuid) - `status` (string; required; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant - `submitted_at` (string | null, date-time) - `move_in_date` (string | null, date): Move-in date (YYYY-MM-DD) - `primary_application_id` (string | null, uuid): ID of the primary applicant's rental_applications row - `created_at` (string | null, date-time) - `updated_at` (string | null, date-time) - `applicants` (array of object; required) - `id` (string, uuid; required): Rental application ID - `user_id` (string | null, uuid): RentEngine user ID for the applicant - `status` (string; required; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant - `progress` (string | null): Application completion progress marker - `created_at` (string | null, date-time) - `updated_at` (string | null, date-time) - `screening` (object | null) - `page` (object; required) - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null) ### GET /rental_application_groups/{id} **Get a rental application group** Operation id: `getRentalApplicationGroup` Retrieve a single rental application group with its applicants (non-PII summary), screening status for each applicant, and the full decision history. Parameters: - `id` (path; string, uuid; required): Rental application group ID Responses: - `200`: The rental application group. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `404`: Not found. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object A rental application group — one party applying to one unit, bundling 1+ applicants - `id` (string, uuid; required) - `unit_id` (integer | null): ID of the unit the group is applying to - `account_id` (string | null, uuid): RentEngine account that owns the unit - `subteam_id` (string | null, uuid) - `status` (string; required; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant - `submitted_at` (string | null, date-time) - `move_in_date` (string | null, date): Move-in date (YYYY-MM-DD) - `primary_application_id` (string | null, uuid): ID of the primary applicant's rental_applications row - `created_at` (string | null, date-time) - `updated_at` (string | null, date-time) - `applicants` (array of object; required) - `id` (string, uuid; required): Rental application ID - `user_id` (string | null, uuid): RentEngine user ID for the applicant - `status` (string; required; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant - `progress` (string | null): Application completion progress marker - `created_at` (string | null, date-time) - `updated_at` (string | null, date-time) - `screening` (object | null) - `decision_history` (array of object; required): Chronological decision history for the group, most recent first - `decision` (string | null): The decision recorded on the group - `decided_at` (string | null, date-time) - `context` (object | null) - `info_required` (string | null): Populated when `decision` is `Awaiting Additional Info` - `approval_condition` (string | null): Populated when `decision` is `Conditional Approval` - `rejection_reasons` (array | null): Reasons chosen when the group was rejected; null if none were chosen - `notes` (string | null): Notes entered when the group was archived ### GET /rental_application_groups/{id}/summary **Get a rental application group's application summary** Operation id: `getRentalApplicationGroupSummary` The Application Summary as the review page shows it: one row per criterion, with each applicant's cell and the household's, and the household's overall state. Results include your team's overrides, and anything the page holds back (a criminal report under the fair-chance two-step, a figure a state rule or a housing voucher sets aside) is held back here too. `state` is `needs_review` when a row is not met or needs review, `pending` when a report has no answer yet or a fair-chance hold is in place, `no_criteria_set` when the application template sets no criteria, and `no_issues` otherwise. Each row's `review_reasons` says why the page's Review only view keeps it; `in_review_only` is true when there is any. Screening reports, ID verification and income connections are read live, so a call can take up to a few minutes. Poll with `If-None-Match`: the response carries an `ETag`, and a summary that hasn't changed answers `304` with no body. A `304` still counts toward the rate limit. A Custom key needs Read on both Rental applications and Screening reports. A group your key can't see answers `404`. Parameters: - `id` (path; string, uuid; required): Rental application group ID - `If-None-Match` (header; string): The `ETag` of a summary you already hold. If it still matches, the response is `304` with no body. Responses: - `200`: The Application Summary. - `304`: The summary hasn't changed since the `ETag` sent in `If-None-Match`. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The token can't access the group's account (`forbidden`), or the account's TransUnion credentialing deadline has passed and application data is locked until it's complete (`credentialing_required`). - `404`: Not found. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error Response headers: `ETag`, `Cache-Control` `200` body (`application/json`): object - `rental_application_group_id` (string, uuid; required) - `state` (string; required; one of `needs_review`, `pending`, `no_criteria_set`, `no_issues`): Checked in this order: `needs_review` when a row is `not_met` or `needs_review`, or a cell is flagged `warn` or `bad`; `pending` when a cell's report has no answer yet (`screening` is `pending`, `not_requested`, `hidden` or `unreadable`), a row is held by the fair-chance two-step, or a row is `pending`; `no_criteria_set` when the application template sets no criteria; `no_issues` otherwise. - `criteria_set` (boolean; required): Whether the application template sets any criteria with a value. - `counts` (object; required): Rows behind `state`, each counted once, under the first of these that applies. - `not_met` (integer; required) - `needs_review` (integer; required) - `pending` (integer; required) - `fingerprint` (string; required): A SHA-256 hash of the rest of the body, as 64 hex characters. It changes exactly when the summary does, and is the `ETag`. - `applicants` (array of object; required): Lead applicant first, then in the order they applied. Cells follow the same order. - `id` (string, uuid; required): Rental application ID - `role` (string; required; one of `applicant`, `co_signer`) - `first_name` (string; required) - `last_name` (string; required) - `rows` (array of object; required): One row per criterion, in the page's order. - `metric` (string; required; one of `credit_score`, `credit_average`, `verified_income`, `self_reported_income`, `cosigner_income`, `criminal_records`, `evictions`, `bankruptcies`, `identity`, `landlord_reference`, `employer_reference`, `pets`, `housing_voucher`, `vehicles`, `additional_occupants`, `move_in`, `showing`): `credit_score` is the lowest credit score and `credit_average` the average. `verified_income` and `self_reported_income` share the `income_multiple` criterion. `cosigner_income` appears only when the group has a co-signer, and `pets` and `vehicles` only when the application asks about them. - `label` (string; required): The row's name, as the page labels it. - `criterion` (string | null; required; one of `credit_floor`, `credit_average`, `income_multiple`, `cosigner_income`, `criminal_records`, `evictions`, `bankruptcies`, `identity_verified`, `pets`, `housing_voucher`, `vehicles`, `move_in_date`, `showing_complete`, `null`): The criterion the row is judged by. `null` for a row that is shown, never judged, such as references and additional occupants. - `requirement` (string | null; required): The criterion's rule as the page words it, such as "620 minimum". - `result` (string | null; required; one of `pass`, `not_met`, `needs_review`, `pending`, `not_considered`, `no_criterion_set`, `null`): The row's result, overrides applied. `not_considered`: the criterion is off, or held (see `held_by`). `no_criterion_set`: the template has no value for the criterion, so it judges nothing; a criterion the template never set reads this way, as on the page. `null` on rows with no criterion, and on the income row the household isn't judged on (self-reported once any income is verified, verified until then). - `held_by` (string | null; required; one of `fair_chance`, `state_rule`, `housing_voucher`, `null`): Why the row isn't judged, when it isn't: `fair_chance`, criminal results stay hidden until the household is conditionally approved or the two-step is confirmed; `state_rule`, the property's state bars using it; `housing_voucher`, a housing voucher sets income aside. - `in_review_only` (boolean; required): Whether the page's Review only view keeps the row. True when `review_reasons` has any. - `review_reasons` (array of string; required): `flagged`: a cell reads `warn` or `bad`. `reference_incomplete`: a reference is still out. `report_outstanding`: a screening report has no answer yet. `no_criterion_set`: a credit or income criterion has no value. `overridden`: a cell carries an override. - `household` (object; required) - `display` (string; required): The cell's text exactly as the page shows it, such as "$4,200 · 2.80x", "Needs review" or "Hidden until conditional approval". - `flag` (string | null; required; one of `ok`, `warn`, `bad`, `null`): The cell's tone on the page. `null` is plain. - `screening` (string | null; required; one of `not_requested`, `pending`, `hidden`, `unreadable`, `no_ssn`, `null`): For a screening cell with no answer: `not_requested`, never ordered; `pending`, not back yet; `hidden`, held by the fair-chance two-step; `unreadable`, back but couldn't be read, so open the report; `no_ssn`, the provider can't screen an applicant with no SSN. - `override` (null | object; required) - `score` (integer | null): On credit rows, the score the cell shows. `null` when it shows none. - `amount_cents` (integer | null): On income rows, the exact gross monthly income behind the cell, in cents. The cell rounds it to whole dollars. `null` when the cell shows no figure. - `multiple` (number | null): On an income row's household cell, the income-to-rent multiple it shows. `null` when it shows none. - `applicants` (array of object; required): Each applicant's cell, in `applicants` order. Empty on rows judged only for the household. - `id` (string, uuid; required): Rental application ID - `display` (string; required): The cell's text exactly as the page shows it, such as "$4,200 · 2.80x", "Needs review" or "Hidden until conditional approval". - `flag` (string | null; required; one of `ok`, `warn`, `bad`, `null`): The cell's tone on the page. `null` is plain. - `screening` (string | null; required; one of `not_requested`, `pending`, `hidden`, `unreadable`, `no_ssn`, `null`): For a screening cell with no answer: `not_requested`, never ordered; `pending`, not back yet; `hidden`, held by the fair-chance two-step; `unreadable`, back but couldn't be read, so open the report; `no_ssn`, the provider can't screen an applicant with no SSN. - `override` (null | object; required) - `score` (integer | null): On credit rows, the score the cell shows. `null` when it shows none. - `amount_cents` (integer | null): On income rows, the exact gross monthly income behind the cell, in cents. The cell rounds it to whole dollars. `null` when the cell shows no figure. - `multiple` (number | null): On an income row's household cell, the income-to-rent multiple it shows. `null` when it shows none. - `footnotes` (array of object; required): The notes the page prints under the table, in its order. Empty when it prints none. - `code` (string; required; one of `invited_not_yet_applied`, `state_rules`): `invited_not_yet_applied`: co-applicants or co-signers someone invited who haven't started an application, so they have no cells. `state_rules`: the property's state changed how the criteria are applied. - `text` (string; required): The note as the page shows it. ### POST /rental_applications **Create a rental application** Operation id: `createRentalApplication` Create an application as a property manager would through manual entry, on a unit, on an account with a template (generic), or by joining an existing application group as a co-applicant. Send the applicant's details in the same request, or add them later with `PATCH /rental_applications/{id}`. The application is created as `Incomplete`. The target account must be TransUnion IP credentialed and the template's screening provider must be TransUnion IP. Otherwise the request returns 403 with code `TU_IP_REQUIRED`. `applicant_consent` must be `true`: you attest that the applicant agreed to you submitting their information. The key's user and the time are recorded. Joining a group returns 409 if the group is `Submitted`, `Approved`, `Conditional Approval`, `Awaiting Additional Info`, `Rejected`, `Archived` or `Moved In`. Creating doesn't bill the account. If the application is created but its details can't be saved, the error body carries `application_id` and `rental_application_group_id`. Send the details with `PATCH` instead of retrying the create. A retry with the same `Idempotency-Key` returns the same response. Without that key, a retry returns 409 if the applicant has a phone, and creates a second application if they don't. If an applicant with no phone is created but consent isn't recorded, the 500 carries the same ids and a same-key retry returns it again. That application can't be submitted, so create another with a new `Idempotency-Key`. If a create on a unit or account fails right after the application is written, the 500 carries the same ids and a same-key retry returns it again. That application can't be edited or submitted, so archive it in RentEngine and create another with a new `Idempotency-Key`. A Custom key needs Rental applications: Write. **Rate limit:** Strict tier — 2 req/s (10 per 5 seconds). Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object The applicant's details. Stored as sent, with the same clean-up as manual entry. - `address_history` (array of object) - `address` (string) - `city` (string) - `state` (string) - `zipCode` (string) - `isInternationalAddress` (boolean) - `isCurrent` (boolean) - `moveInDate` (string): A month, as `YYYY-MM`. - `moveOutDate` (string): A month, as `YYYY-MM`. - `ownRent` (string; one of `rent`, `own`, `family`): With `family`, the rent amount and landlord fields are cleared. - `monthlyPayment` (string) - `reasonForMoving` (string) - `landlordName` (string) - `landlordPhone` (string) - `landlordEmail` (string) - `permitLandlordContact` (boolean | null) - `income_details` (array of object): Rows with no values are dropped. - `incomeType` (string; one of `Employed`, `Self Employed`, `Gig Work`, `Receiving Benefits`, `Student`, `Unemployed`) - `employerName` (string) - `benefitSource` (string) - `sourceName` (string) - `address` (string) - `monthlyIncome` (string) - `paymentMethod` (string) - `positionTitle` (string) - `startDate` (string): A month, as `YYYY-MM`. - `endDate` (string): A month, as `YYYY-MM`. - `isCurrent` (boolean) - `supervisorName` (string) - `supervisorPhone` (string) - `supervisorEmail` (string) - `permitEmployerContact` (boolean | null) - `universityName` (string) - `gradDate` (string): A month, as `YYYY-MM`. - `vehicles` (array of object) - `make` (string) - `model` (string) - `year` (string) - `color` (string) - `licensePlate` (string) - `pets` (array of object) - `type` (string) - `breed` (string) - `name` (string) - `weight` (string) - `animalKind` (string; one of `pet`, `esa`, `service`; default `"pet"`) - `other_occupants` (array of object) - `firstName` (string; required) - `lastName` (string; required) - `dateOfBirth` (string, date; required) - `emergency_contact` (object) - `name` (string) - `phone` (string) - `email` (string) - `relationship` (string) - `custom_questions` (array of object) - `question` (string) - `answer` (string | array of string) - `first_name` (string; required) - `last_name` (string; required) - `email` (string, email) - `phone` (string) - `applicant_consent` (boolean; required; one of `true`): Must be `true`. Attests that the applicant agreed to you submitting their information. - `unit_id` (integer; min 1): Send with `move_in_date`, and without `account_id`, `template_id` or `group_id`. - `account_id` (string, uuid): For a generic application. Send with `template_id` and `move_in_date`. - `template_id` (string, uuid): The application template for a generic application. - `group_id` (string, uuid): Joins this group as a co-applicant. Send without `unit_id`, `account_id`, `template_id` or `move_in_date`; the group's move-in date applies. - `move_in_date` (string, date): Required with `unit_id` or `account_id`. Not allowed with `group_id`. - `personal_details` (object) - `middleName` (string) - `dob` (string, date) - `ssn` (string): Nine digits, with or without dashes. Encrypted when stored. - `applicantDoesNotHaveSsn` (boolean) - `housingVoucher` (boolean) - `housingVoucherCaseworker` (object) - `name` (string) - `phone` (string) - `email` (string) Responses: - `201`: The application was created. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Code `TU_IP_REQUIRED`: the account or template doesn't use TransUnion IP. Code `APPLICATION_NOT_VIEWABLE`: on a create with `account_id`, the key's user can't view this account's applications, so nothing was created. Code `read_only_token`: the key is read-only. Code `insufficient_permission`: a Custom key lacks Rental applications: Write. - `404`: Not found. - `409`: The applicant already has an application here, the group can't be joined, the SSN is already used in the group (code `DUPLICATE_SSN_IN_GROUP`), or a request with this `Idempotency-Key` is still in progress. If an earlier create for an applicant with a phone returned 500 because consent wasn't recorded, this retry records it and you can continue with the existing application. Its details aren't saved, so send them with `PATCH /rental_applications/{id}`. - `422`: Code `GENERIC_NOT_ALLOWED`: on a create with `account_id`, the account can't take applications without a unit, because it isn't TransUnion IP credentialed or its template uses TransUnion Shareable. Code `TEMPLATE_UNAVAILABLE`: `template_id` isn't a template on this account. Without a code: `applicant_consent` is missing or not `true`, or an `Idempotency-Key` was reused with a different body. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: The SSN can't be stored right now, or `Idempotency-Key` handling is unavailable. If the application was created, the body carries its ids, so send the details with `PATCH`. `201` body (`application/json`): object - `application_id` (string, uuid; required) - `rental_application_group_id` (string, uuid; required) - `status` (string; required; one of `Incomplete`) ### GET /rental_applications/{id} **Get a rental application** Operation id: `getRentalApplication` Retrieve a single rental application (applicant record) with all data broken out and structured, including PII (personal details, income, address history, co-applicants, pets, vehicles, custom questions). Includes a `documents` array with opaque `document_id` values that can be passed to `GET /rental_applications/{id}/documents/{documentId}` to stream the actual file bytes. Access is gated by the authenticated user's permissions on the underlying account. **Rate limit:** Strict tier — 2 req/s (10 per 5 seconds). Parameters: - `id` (path; string, uuid; required): Rental application ID Responses: - `200`: The rental application with PII and document listing. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `404`: Not found. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object Full rental application with PII and document listing - `id` (string, uuid; required) - `rental_application_group_id` (string | null, uuid) - `unit_id` (integer | null) - `account_id` (string | null, uuid): RentEngine account that owns the unit (denormalized from the unit) - `subteam_id` (string | null, uuid): Subteam on the unit (denormalized from the unit) - `user_id` (string | null, uuid) - `status` (string; required; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant - `rental_application_group_status` (string | null): Denormalized copy of the parent group's status - `phone` (string | null) - `move_in_date` (string | null, date): Move-in date (YYYY-MM-DD) - `progress` (string | null) - `created_at` (string | null, date-time) - `updated_at` (string | null, date-time) - `personal_details` (object | null) - `income_details` (array of object) - `incomeType` (string) - `employerName` (string) - `monthlyIncome` (string) - `positionTitle` (string) - `supervisorName` (string | null) - `supervisorPhone` (string | null) - `supervisorEmail` (string | null) - `permitEmployerContact` (string | boolean | null) - `address` (string) - `paymentMethod` (string) - `startDate` (string) - `endDate` (string) - `isCurrent` (boolean): The applicant still receives this income - `recordedAt` (string, date): Date the amount was first entered (YYYY-MM-DD) - `sourceName` (string) - `universityName` (string) - `benefitSource` (string) - `gradDate` (string) - `referenceCheckId` (string) - `address_history` (array of object) - `address` (string) - `city` (string) - `state` (string | null) - `zipCode` (string) - `ownRent` (string) - `moveInDate` (string) - `moveOutDate` (string) - `isCurrent` (boolean): The applicant lives here now - `isInternationalAddress` (boolean): The address is outside the United States - `isGap` (boolean): This row is a gap between residences, with dates and no address - `landlordName` (string | null) - `landlordPhone` (string | null) - `landlordEmail` (string | null) - `monthlyPayment` (string | number) - `reasonForMoving` (string) - `permitLandlordContact` (string | boolean | null) - `referenceCheckId` (string) - `co_applicants` (array of object) - `name` (string) - `type` (string) - `phone` (string) - `skipped` (boolean): The applicant chose not to add one - `other_occupants` (array of object) - `firstName` (string) - `lastName` (string) - `name` (string) - `dateOfBirth` (string | null): The date of birth as YYYY-MM-DD. Once the date has been redacted, only the birth year (YYYY). - `skipped` (boolean): The applicant chose not to add one - `pets` (array of object) - `breed` (string) - `name` (string) - `type` (string) - `weight` (string) - `animalKind` (string; one of `pet`, `esa`, `service`): Pet, emotional support animal or service animal - `isESA` (boolean) - `hasEsaDocumentation` (boolean): Whether an emotional support animal letter is on file for this pet. Always false unless the animal is an emotional support animal. - `skipped` (boolean): The applicant chose not to add one - `vehicles` (array of object) - `make` (string) - `model` (string) - `year` (string) - `color` (string) - `licensePlate` (string) - `skipped` (boolean): The applicant chose not to add one - `custom_questions` (array of object) - `question` (string) - `answer` (string | array of string) - `question_type` (string) - `required` (boolean) - `response_options` (array of string) - `screening` (object | null) - `documents` (array of object; required): Documents available for this application — call the download endpoint with `document_id` to fetch the bytes - `document_id` (string; required): Opaque identifier for the document. Treat as an opaque string — pass it back verbatim to `GET /rental_applications/{id}/documents/{documentId}`. The value is an AES-256-GCM encrypted token (not a JWT) minted fresh on every `GET /rental_applications/{id}` call, so the same underlying document produces a different `document_id` each time. Do **not** cache clients by this value or treat it as a stable key — it is safe to use once and should be re-fetched if needed again. Tokens remain valid as long as the underlying artifact exists and the server's signing key has not rotated. - `kind` (string; required; one of `app_doc`, `transunion_credit`, `transunion_criminal`, `transunion_eviction`, `id_front`, `id_back`, `id_selfie`): Source + type of document. - `app_doc`: applicant-uploaded file (pay stub, bank statement, etc.) - `transunion_credit` / `transunion_criminal` / `transunion_eviction`: TransUnion screening report (PDF) - `id_front` / `id_back` / `id_selfie`: Stripe Identity verification artifacts (JPEG) - `doc_type` (string; required): Human-readable document category (e.g. "Pay Stub", "screening_report", "id_verification") - `filename` (string | null): Suggested filename for download - `status` (string | null): Status of the underlying artifact when applicable (e.g. ReportCompleted for screening reports) ### PATCH /rental_applications/{id} **Edit a rental application** Operation id: `updateRentalApplication` Edit an application's details while its status is `Incomplete`. Any other status returns 409. An application a property manager didn't enter returns 403 with code `APPLICATION_NOT_PM_ENTERED`. Each top-level field you send replaces the stored value, except `personal_details`, whose fields merge over the stored ones. Fields you leave out keep their stored value. To change one address, send the whole `address_history` list. Omit `ssn` from `personal_details` to keep the SSN on file. A Custom key needs Rental applications: Write. **Rate limit:** Strict tier — 2 req/s (10 per 5 seconds). Parameters: - `id` (path; string, uuid; required): Rental application ID Request body (`application/json`): object The applicant's details. Stored as sent, with the same clean-up as manual entry. - `address_history` (array of object) - `address` (string) - `city` (string) - `state` (string) - `zipCode` (string) - `isInternationalAddress` (boolean) - `isCurrent` (boolean) - `moveInDate` (string): A month, as `YYYY-MM`. - `moveOutDate` (string): A month, as `YYYY-MM`. - `ownRent` (string; one of `rent`, `own`, `family`): With `family`, the rent amount and landlord fields are cleared. - `monthlyPayment` (string) - `reasonForMoving` (string) - `landlordName` (string) - `landlordPhone` (string) - `landlordEmail` (string) - `permitLandlordContact` (boolean | null) - `income_details` (array of object): Rows with no values are dropped. - `incomeType` (string; one of `Employed`, `Self Employed`, `Gig Work`, `Receiving Benefits`, `Student`, `Unemployed`) - `employerName` (string) - `benefitSource` (string) - `sourceName` (string) - `address` (string) - `monthlyIncome` (string) - `paymentMethod` (string) - `positionTitle` (string) - `startDate` (string): A month, as `YYYY-MM`. - `endDate` (string): A month, as `YYYY-MM`. - `isCurrent` (boolean) - `supervisorName` (string) - `supervisorPhone` (string) - `supervisorEmail` (string) - `permitEmployerContact` (boolean | null) - `universityName` (string) - `gradDate` (string): A month, as `YYYY-MM`. - `vehicles` (array of object) - `make` (string) - `model` (string) - `year` (string) - `color` (string) - `licensePlate` (string) - `pets` (array of object) - `type` (string) - `breed` (string) - `name` (string) - `weight` (string) - `animalKind` (string; one of `pet`, `esa`, `service`; default `"pet"`) - `other_occupants` (array of object) - `firstName` (string; required) - `lastName` (string; required) - `dateOfBirth` (string, date; required) - `emergency_contact` (object) - `name` (string) - `phone` (string) - `email` (string) - `relationship` (string) - `custom_questions` (array of object) - `question` (string) - `answer` (string | array of string) - `personal_details` (object) - `firstName` (string; required) - `lastName` (string; required) - `email` (string, email) - `middleName` (string) - `dob` (string, date) - `ssn` (string): Nine digits, with or without dashes. Encrypted when stored. - `applicantDoesNotHaveSsn` (boolean) - `housingVoucher` (boolean) - `housingVoucherCaseworker` (object) - `name` (string) - `phone` (string) - `email` (string) Responses: - `200`: The application was saved. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `404`: Not found. - `409`: The application is no longer `Incomplete`, or the SSN is already used in its group. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: The SSN can't be stored right now. Nothing was saved, so send the request again. `200` body (`application/json`): object - `application_id` (string, uuid; required) - `status` (string; required; one of `Incomplete`) ### POST /rental_applications/{id}/documents **Upload a rental application document** Operation id: `uploadRentalApplicationDocument` Upload one file to an application as `multipart/form-data`, with the file in `file` and its document type in `doc_type`. Use `_PREDEFINED_INCOME_DOCUMENTS` for proof of income. `doc_type` must be one of the types listed under `doc_type`, or a type the application's template requires. Anything else returns 422 with code `DOC_TYPE_NOT_ALLOWED`. The application must have been entered by a property manager and be `Incomplete`. Otherwise this returns 403 with code `APPLICATION_NOT_PM_ENTERED`, or 409. Accepts PDF, JPEG and PNG up to 4 MB. The contents must match the declared type, otherwise this returns 422 with code `DOCUMENT_CONTENT_MISMATCH`. The file name can be up to 255 characters, without `/`, `\` or `..`, and is stored with the extension of the verified type (`.pdf`, `.jpg` or `.png`). Vercel rejects any request body over 4.5 MB with a 413 before it reaches this API. An `Idempotency-Key` retry must send the same bytes. Most clients generate a new multipart boundary per request, which changes the body and returns 422, so reuse the encoded body. This operation is not available as an MCP tool, because MCP tools send JSON. A Custom key needs Rental applications: Write. **Rate limit:** Strict tier — 2 req/s (10 per 5 seconds). Parameters: - `id` (path; string, uuid; required): Rental application ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`multipart/form-data`): object - `file` (string, binary; required): PDF, JPEG or PNG, up to 4 MB. - `doc_type` (string; required): One of `_PREDEFINED_INCOME_DOCUMENTS`, `Bank Statement`, `Employment Letter`, `Tax Returns`, `Pay Stub`, `Government ID`, `Rental History`, `Credit Report`, `Reference Letter`, or a document type the application's template requires. Responses: - `201`: The document was stored and added to the application. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `404`: Not found. - `409`: The application is no longer `Incomplete`, or a request with this `Idempotency-Key` is still in progress. - `413`: The request body is over Vercel's 4.5 MB limit. - `422`: `doc_type` isn't allowed on this application (code `DOC_TYPE_NOT_ALLOWED`), the file's contents don't match its declared type (code `DOCUMENT_CONTENT_MISMATCH`), or the `Idempotency-Key` was reused with a different request body. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: `Idempotency-Key` handling is unavailable, or a query timed out. The document wasn't added to the application, so send the request again. `201` body (`application/json`): object - `application_id` (string, uuid; required) - `doc_type` (string; required) ### GET /rental_applications/{id}/consent **Get the consent text for a rental application** Operation id: `getRentalApplicationConsent` Returns the text of the application's Disclaimer step, without RentEngine's service fee, which an API submit doesn't charge. Show it to the applicant, then send it back in `consent_text` on `POST /rental_applications/{id}/submit`. The text can change when the account edits its application template, so fetch it again if submit returns 422 with code `CONSENT_TEXT_MISMATCH`. A Custom key needs Rental applications: Read. **Rate limit:** Strict tier: 2 req/s (10 per 5 seconds). Parameters: - `id` (path; string, uuid; required): Rental application ID Responses: - `200`: The current consent text. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `404`: The application doesn't exist, or this key can't see it. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object - `application_id` (string, uuid; required) - `consent_text` (string; required): The Disclaimer step's text, in Markdown. ### POST /rental_applications/{id}/submit **Submit a rental application** Operation id: `submitRentalApplication` Moves an `Incomplete` application to `Submitted` and starts its screening and verification work. The applicant pays nothing through RentEngine: collect any application fee yourself. The account is billed when the application is submitted or screened, whichever comes first, and not when it's created: the base fee once on the base fee plan, otherwise screening, document verification and other services as used. Send the text from `GET /rental_applications/{id}/consent` back in `consent_text`, with `applicant_consent: true` and how the applicant agreed in `consent_method`. Differences in line endings, trailing spaces and blank lines are ignored; the words must match exactly. The application must have been created through `POST /rental_applications`. The account and template must still use TransUnion IP. The key's user must be the account owner or have permission to approve and reject applications. A Custom key needs Rental applications: Write and Screening reports: Write. **Rate limit:** Strict tier: 2 req/s (10 per 5 seconds). Parameters: - `id` (path; string, uuid; required): Rental application ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `applicant_consent` (boolean; required; one of `true`): Confirms the applicant agreed to `consent_text`. - `consent_text` (string; required): The text from `GET /rental_applications/{id}/consent`. - `consent_method` (string; required; one of `electronic_signature`, `checkbox`, `paper`): How the applicant agreed. Responses: - `200`: The application was submitted. Its screening and verification work is queued. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: Code `TU_IP_REQUIRED`: the account or template no longer uses TransUnion IP. Code `APPLICATION_NOT_PM_ENTERED`: the application wasn't entered by a property manager. Code `SUBMIT_PERMISSION_REQUIRED`: the key's user isn't the account owner and can't approve and reject applications. Code `read_only_token`: the key is read-only. Code `insufficient_permission`: a Custom key lacks a grant above. Without a code (`forbidden`): the key's user is the applicant on this application. - `404`: The application doesn't exist, or this key can't see it. - `409`: Code `APPLICATION_NOT_SUBMITTABLE`: the application isn't `Incomplete`, which includes one already submitted, or its group is closed. Code `OPEN_APPLICATION_PERIOD_NOT_STARTED`: the unit's open application period hasn't started; `open_application_period_starts_at` says when. Without a code: a request with this `Idempotency-Key` is still in progress. - `422`: Code `CONSENT_TEXT_MISMATCH`: `consent_text` isn't the current text, so fetch it again. Code `CONSENT_ATTESTATION_MISSING`: the application wasn't created through `POST /rental_applications`. Code `DOB_REQUIRED`: the applicant has no valid date of birth, which TransUnion needs to screen them. Set `dob` with `PATCH /rental_applications/{id}`. Without a code: a consent field is missing or invalid, or an `Idempotency-Key` was reused with a different body. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: The application couldn't be submitted (`Failed to submit application`), or a check before it failed, such as reading the key user's permission to submit. Send the request again. A retry that returns 409 with code `APPLICATION_NOT_SUBMITTABLE` doesn't confirm the first request. Read the application with `GET /rental_applications/{id}` to see its status. - `503`: `Idempotency-Key` handling is unavailable, or a query timed out. Nothing was submitted, so send the request again. `200` body (`application/json`): object - `application_id` (string, uuid; required) - `status` (string; required; one of `Submitted`) ### GET /rental_applications/{id}/documents/{documentId} **Download a rental application document** Operation id: `getRentalApplicationDocument` Stream the raw bytes of a document associated with a rental application. The `documentId` is an opaque encrypted identifier returned by `GET /rental_applications/{id}` on each entry in the `documents` array. It identifies which underlying artifact to fetch — an applicant-uploaded file, a TransUnion screening report (credit / criminal / eviction), or an ID verification artifact (front / back / selfie). A fresh `documentId` is minted on every detail fetch, so the same document yields a different value each time — do not cache by this id. Response `Content-Type` reflects the underlying document (typically `application/pdf` for screening reports, `image/jpeg` for ID artifacts, and the original MIME type for applicant uploads). By default the `Content-Disposition` is `inline`; pass `?download=true` to force `attachment` for a browser download prompt. **Rate limit:** Strict tier — 2 req/s (10 per 5 seconds). Parameters: - `id` (path; string, uuid; required): Rental application ID - `documentId` (path; string; required): Opaque document identifier from the `documents` array on the rental application - `download` (query; boolean; default `false`): When true, responds with `Content-Disposition: attachment` to trigger a browser download Responses: - `200`: The document bytes. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The criminal report is held back by the fair-chance two-step: on a property where the law requires it, criminal results open once the household is conditionally approved, or once your team confirms the applicant meets the minimum credit and eviction requirements. - `404`: The rental application or the requested document could not be found, or the caller does not have access. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error Response headers: `Content-Type`, `Content-Disposition`, `Content-Length` `200` body (`*/*`): string, binary Raw bytes of the underlying document. The actual MIME type is returned in the `Content-Type` response header. Typical values: `application/pdf` for TransUnion screening reports, `image/jpeg` for ID verification artifacts, and the original upload MIME type for applicant-uploaded documents (which can be any of png, jpeg, pdf, heic, webp, etc.). ### GET /rental_applications/{id}/income **Get a rental application's income** Operation id: `getRentalApplicationIncome` Retrieve the applicant's **submitted income**, computed exactly as the Household / Applicant Summary does — the average of every present income source (income documents, payroll connection, bank connection) at its raw OCR / provider amount. No income is excluded for needing review; every present source with a positive amount contributes. The response also carries the applicant's **verified income**, computed like the Household / Applicant Summary's Verified Income on the review page: proof that passes review (or that a property manager approved), with any amount a property manager edited by hand. When the applicant's income sources carry their own proof, each source gets a figure (`income_sources[].verified`) and verified income is their sum, averaged with any payroll or bank connection no source claims; otherwise it is the average of the documents, payroll and bank connections that pass review. See `verified_monthly_income`. Each document, payroll employment and bank account says whether it needs review and why (`needs_review`, `review_reasons`). `income_sources` lists what the applicant reported for each job or income source, and `verified_sources` lists the evidence behind verified income, linked back to `income_sources` where possible. This is a secondary sub-resource kept separate from `GET /rental_applications/{id}` because computing payroll/bank income requires live provider fetches. Each source is returned both as a summary total and with the underlying per-document / per-employment / per-account detail shown on screen. Income document PDFs are downloadable: each entry in `sources.documents.items` carries a `document_id` — pass it to `GET /rental_applications/{id}/documents/{documentId}` to stream the file bytes. A fresh `document_id` is minted on every call, so do not cache by this id. Identity data is minimized: SSN is returned as the last four digits only (`ssn_last4`), and payroll date of birth / home address are not included. Bank account numbers are likewise returned as the last four digits only. Access is controlled by the API token. **Rate limit:** Strict tier — 2 req/s (10 per 5 seconds). Parameters: - `id` (path; string, uuid; required): Rental application ID Responses: - `200`: The applicant's submitted and verified income with per-source detail. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `404`: Not found. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error `200` body (`application/json`): object An applicant's submitted and verified income, computed like the Household / Applicant Summary, with per-source detail. - `rental_application_id` (string, uuid) - `submitted_monthly_income` (number): The headline figure — the average of the applicant's present income sources (documents / payroll / bank), each counted only when it reports a positive amount. `0` when no source reports income. Scoped to this one application. Summing it across the applicants of a group can double-count a document two of them uploaded — a joint bank statement, most often — because the de-duplication that the Household Summary applies across a group is not applied here. - `self_reported_monthly_income` (number): Monthly income the applicant entered themselves (from `income_details`). - `verified_monthly_income` (number): The applicant's verified income, as the review page's Household Summary shows it. On most applications, the average of the applicant's sources that pass review: documents that pass review, and payroll and bank connections with no name or date of birth mismatch. When an income source carries its own proof (see `income_sources[].verified`), the sources' figures are added up instead, and averaged with any payroll or bank connection no source claims. A finding a property manager approved no longer holds its document or connection out, and a source a property manager edited counts at the edited amount. `0` when no source counts. Scoped to this one application, like `submitted_monthly_income`. - `income_sources` (array of object): Each job or income source the applicant reported, in the order they entered them. `income_source_index` elsewhere in this response points into this list. - `income_type` (string | null) - `name` (string | null): Employer or source name. - `is_current` (boolean): The applicant still earns this income. - `self_reported_monthly_income` (number | null): Monthly income the applicant entered for this source. - `verified` (object | null): This source's verified income, on applications whose income sources carry their own proof (documents uploaded for a source, or a payroll or bank connection linked to one). It is present for every source on such an application, including one with no proof yet, which reads `0` with nothing to review and adds nothing to `verified_monthly_income`. `null` on applications from before sources carried their own proof. - `verified_monthly_income` (number; required): What this source adds to `verified_monthly_income`: its strongest proof that passes review (payroll, then documents, then bank), or a property manager's edit. `0` when the applicant no longer earns it or none of its proof passes review. - `overridden` (boolean; required): A property manager edited this source's amount by hand. - `needs_review` (boolean; required): True when any of its proof has a `review_reasons` entry, unless a property manager edited the source or the applicant no longer earns it. The review page can also ask for review when the proof doesn't meet the template's document requirements, or a document gave no figure; those aren't reported here. - `review_reasons` (array of string; required): Every reason across this source's proof. - `verified_sources` (array of object): The evidence behind verified income: one entry per document group that passes review, per payroll employment, and per active bank income stream. Only sources that count toward `verified_monthly_income` are listed: payroll and bank appear when they do not need review or a property manager edited them. For an income source with its own proof, only the evidence its figure is read from is listed, linked to it by `income_source_index`. - `source` (string; one of `documents`, `payroll`, `bank`) - `name` (string | null): Employer, payer or income stream name. - `monthly_income` (number): Monthly income computed from this evidence. For documents, only files that pass review are counted. A property manager's edit to a total is not applied here; it is on `sources.*` or `income_sources[].verified` (`verified_monthly_income`, `overridden`). - `needs_review` (boolean): Always false, since only sources that pass review are listed. A payroll or bank source a property manager edited still lists its `review_reasons`. - `review_reasons` (array of string) - `income_source_index` (integer | null): Index into `income_sources` of the income source this evidence backs. When income sources carry their own proof, evidence links to the source that holds it, and evidence no source holds is `null`, whatever its name. Otherwise documents link through the upload, and payroll and bank by matching names, so `null` when no single source matches. - `document_ids` (array of string): Downloadable ids of the files behind a document group, as in `sources.documents.items[].document_id`. Empty for payroll and bank. - `sources` (object): Income by kind of proof. When an income source carries its own proof (see `income_sources[].verified`), each kind's `verified_monthly_income`, `overridden`, `needs_review` and `review_reasons` cover only the proof no source claims, and are `0` (`null` for documents), `false`, `false` and empty when sources claim all of it. Its `items`, `employments` and `accounts` still list every document, job and account, with their own `review_reasons`. - `documents` (object): Income derived from applicant-uploaded documents (OCR). Files an income source carries as its own proof count on that source (`income_sources[].verified`), so here `verified_monthly_income` is `null` once any source carries its own proof. - `verified_monthly_income` (number | null): Document income that counts toward `verified_monthly_income`: documents that need review are left out, and a property manager's edit replaces the amount. `null` when no document counts. - `document_count` (integer): The number of entries in `items`: the applicant's processed income documents. `0` means none. A positive count with a `null` `verified_monthly_income` means none of them counts here: usually each needs review, or, once an income source carries its own proof, its files count on that source (`income_sources[].verified`) instead. Files the application template does not accept, such as photos when it requires PDFs, are not counted but can still set `needs_review`. - `overridden` (boolean): A property manager edited the document income amount by hand. - `needs_review` (boolean): True when any income document needs review and a property manager has not edited the document income. Always false once an income source carries its own proof: leftover documents count toward nothing, though each still reports its own `needs_review` in `items`. - `review_reasons` (array of string): Every reason across the applicant's income documents. - `monthly_income` (number | null): De-duplicated total across document sources; `null` when there is no document income. - `estimates` (object): `monthly_income` measured both ways. `average` mirrors it. `ytd` sums the per-source year-to-date estimates and is null unless EVERY source has one — a partial sum would understate. See `estimates` on a breakdown row for what the year-to-date measurement is and why it is reported rather than selected. - `average` (number | null): Mirrors `monthly_income`. - `ytd` (number | null): Null when any source has no year-to-date estimate, which is common: a payroll register often prints no year-to-date column at all. - `breakdown` (array of object): Per-source rollup (de-duplicated by employer/account), as shown on the summary card. - `source_key` (string) - `doc_type` (string) - `display_name` (string) - `monthly_income` (number) - `document_count` (integer): Distinct uploaded files behind this source. - `period_count` (integer): Pay periods this source's figure averages over. A PDF that bundles several paystubs or statements can hold several periods, so this can exceed `document_count`. Checks for one pay period, such as a regular check and a commission check, count once. - `estimator` (string; one of `ytd`, `average`): How `monthly_income` was measured. With `average`, reads of one check are averaged. Checks paid on the same payday add up. When a pay period's hours checks span more than one payday, the hours totals for those paydays are averaged. The source averages across its pay periods. A pay period of 28 to 31 days counts as one month's pay. A one-off check beside a period's regular check, such as retro pay, is left out when the source's other periods show its regular pay. Currently always `average`: the `ytd` estimator (the newest paystub's year-to-date gross over the months elapsed) is deselected, and `ytd` is retained in the enum so it can return without a breaking change. Do not remove handling for it. - `estimates` (object): Both measurements, so you can see what the other would have said. `average` is what `monthly_income` currently carries. `ytd` is the RAW year-to-date estimate — the newest paystub's `gross_pay_ytd` over the months elapsed — and is NOT filtered by the plausibility check that used to reject it. It divides by the months since Jan 1 unless the applicant's self-reported hire date matches the employer, so it reads implausibly low for a mid-year hire who gave no start date. That is why it is reported rather than selected: a second opinion, not an alternative figure to act on. - `average` (number): The pay-period average described under `estimator`. - `ytd` (number | null): Null when there is nothing to compute from — no stub carries a year-to-date gross, the span is under 60 days, or the source holds a single stub. - `items` (array of object): Per-document detail, one entry per completed income document. - `document_id` (string | null): Opaque, encrypted id for downloading this PDF via `GET /rental_applications/{id}/documents/{documentId}`. Minted fresh per call — do not cache. `null` if the document is no longer a listed application document. - `document_type` (string; one of `paystub`, `w2`, `bank_statement`, `1099`, `1040`, `tax_return`, `employment_letter`, `unknown`) - `status` (string) - `applicant_name` (string | null): Name extracted from this document (may differ per document; useful for mismatch detection). - `computed_monthly_income` (number | null): The card's "Est. Monthly" value derived from this document; `null` when it can't be computed. - `income_basis` (string; one of `gross`, `net`) - `estimator` (string; one of `ytd`, `average`): How `computed_monthly_income` was measured. With `average`, checks paid on the same payday add up. When a pay period's hours checks span more than one payday, the hours totals for those paydays are averaged. The file averages across its pay periods, like a source in the document breakdown. It matches the mean of `periods[]` only when each period holds one usable check and the file covers one employer. Checks we cannot value and one-off checks are excluded from the figure and still listed. A file spanning two employers adds their averages. Currently always `average`: the `ytd` estimator (the newest paystub's year-to-date gross over the months elapsed this year) is deselected, and `ytd` is retained in the enum so it can return without a breaking change. A `ytd` figure cannot be reproduced from the per-period figures alone, so keep reading this before reconciling. - `estimates` (object): Both measurements, so you can see what the other would have said. `average` is what `computed_monthly_income` currently carries. `ytd` is the RAW year-to-date estimate — the newest paystub's `gross_pay_ytd` over the months elapsed — and is NOT filtered by the plausibility check that used to reject it. It divides by the months since Jan 1 unless the applicant's self-reported hire date matches the employer, so it reads implausibly low for a mid-year hire who gave no start date. That is why it is reported rather than selected: a second opinion, not an alternative figure to act on. - `average` (number | null): The pay-period average described under `estimator`; null exactly when `computed_monthly_income` is. - `ytd` (number | null): Null when there is nothing to compute from — no stub carries a year-to-date gross, the span is under 60 days, or the source holds a single stub. A file covering two employers sums their estimates, to stay comparable with `average`, and is null unless BOTH have one: a partial sum would understate. - `period_count` (integer): How many individual results this file holds: 1 for a normal upload, more for a PDF that bundles several paystubs or statements. Unlike the breakdown's `period_count`, two checks for one pay period count as two. - `details` (object): Fields specific to `document_type`. For a file holding more than one result (`period_count` > 1) these describe the **most recent** one, and `periods[]` carries every result newest-first — `periods[0]` is the result these fields describe. `periods` is absent when `period_count` is 1, and for document types that cannot repeat. - **paystub** `periods[]`: `pay_frequency`, `pay_period_start`, `pay_period_end`, `pay_date`, `check_number`, `gross_pay_current`, `net_pay_current`, `gross_pay_ytd`, `hourly_rate` - **bank_statement** `periods[]`: `bank_name`, `account_last4`, `statement_period_start`, `statement_period_end`, `opening_balance`, `closing_balance`, `total_deposits`, `total_withdrawals`, `payroll_deposits[]` Top-level keys, by `document_type`: - **paystub**: `employer_name`, `pay_frequency`, `pay_period_start`, `pay_period_end`, `gross_pay_current`, `net_pay_current`, `gross_pay_ytd`, `hourly_rate` - **w2**: `employer_name`, `employer_ein`, `tax_year`, `wages_tips_compensation`, `federal_tax_withheld`, `social_security_wages`, `medicare_wages`, `state_tax_withheld` - **bank_statement**: `bank_name`, `account_last4`, `statement_period_start`, `statement_period_end`, `opening_balance`, `closing_balance`, `total_deposits`, `total_withdrawals`, `payroll_deposits[]` (`date`, `description`, `amount`) - **employment_letter**: `employer_name`, `position_title`, `employment_status`, `annual_salary`, `hourly_rate`, `pay_frequency`, `employment_start_date`, `letter_date`, `signatory_name`, `signatory_title` - **1040 / tax_return**: `tax_year`, `filing_status`, `ssn_last4`, `spouse_name`, `spouse_ssn_last4`, `total_income`, `adjusted_gross_income`, `total_tax` - **1099**: `payer_name`, `form_variant`, `tax_year`, `gross_income`, `nonemployee_compensation`, `federal_tax_withheld` - `needs_review` (boolean): True when `review_reasons` is not empty. - `review_reasons` (array of string) - `income_source_index` (integer | null): Index into `income_sources` of the income source this file was uploaded for. `null` when the upload isn't linked to one. - `payroll` (object | null): Payroll-connection income (Argyle VOIE); `null` when no payroll report exists. - `bank` (object | null): Bank-connection income (Argyle open banking); `null` when no bank report exists. ### POST /rental_application_groups/{id}/approve **Approve a rental application group** Operation id: `postRentalApplicationGroupApprove` Approves every applicant in the group, like Approve under Take Action in the app. Sends the approval email unless `sendEmail` is false, and runs the same follow-up steps: PMS writeback, turning off the AI, and the approval SMS. Answers `409` while an applicant's ID is under review; approve or reject the ID in RentEngine first. Needs the Approve/Reject Applications or Admin permission on the application's template, or the account owner role. A Custom key also needs Write on Rental applications. Parameters: - `id` (path; string, uuid; required): Rental application group ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `sendEmail` (boolean | null): Whether to email the applicant. Defaults to true. - `customEmailSubject` (string | null): Custom email subject. Ignored unless customEmailBody is also set. - `customEmailBody` (string | null): Custom email body. Ignored unless customEmailSubject is also set. Without both, the email uses the template's saved email for this decision, or the default email when the template has none. - `customEmailCc` (array | null): Email addresses to CC. An empty array removes the template's default CC list. - `approvedSmsBody` (string | null): Replaces the text of the approval SMS. Emoji count as two characters. Over 1600 answers `400` with `code` `sms_too_long`. - `skipApprovedSms` (boolean | null): Don't send the approval SMS. ```json { "sendEmail": true } ``` Responses: - `200`: The group's decision was recorded. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The caller can see the group but doesn't have the permission to change it, or the token can't. - `404`: Not found. - `409`: The group already has this decision with the same reasons, condition, information or notes (`code` `decision_already_applied`); an applicant's ID is under review, on approve and conditional approval only (`code` `id_review_pending`); the applicant has another active application from the last 90 days; or a request with this Idempotency-Key is already in progress. Sending the same decision with new text isn't a conflict. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `group_id` (string, uuid) - `status` (string; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant ### POST /rental_application_groups/{id}/conditional_approval **Conditionally approve a rental application group** Operation id: `postRentalApplicationGroupConditionalApproval` Approves the group with conditions, such as a higher deposit, like Conditional Approval under Take Action in the app. `approvalCondition` is included in the email to the applicant, and in an SMS only when `skipConditionalApprovalSms` is `false` or `conditionalApprovalSmsBody` is set. Needs the Approve/Reject Applications or Admin permission on the application's template, or the account owner role. A Custom key also needs Write on Rental applications. Parameters: - `id` (path; string, uuid; required): Rental application group ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `sendEmail` (boolean | null): Whether to email the applicant. Defaults to true. - `customEmailSubject` (string | null): Custom email subject. Ignored unless customEmailBody is also set. - `customEmailBody` (string | null): Custom email body. Ignored unless customEmailSubject is also set. Without both, the email uses the template's saved email for this decision, or the default email when the template has none. - `customEmailCc` (array | null): Email addresses to CC. An empty array removes the template's default CC list. - `approvalCondition` (string; required): What the applicant must meet for final approval. When the SMS that lists the conditions goes out, this fills `{{ approval_condition }}`, and a message over 1600 characters answers `400` with `code` `sms_too_long`. - `notificationOverrideBody` (string | null): Replaces the text of the schedule-a-showing SMS sent after conditional approval. Supported variables: `{{ first_name }}`, `{{ prospect_name }}`, `{{ unit_address }}` and `{{ showing_url }}`. Emoji count as two characters. Over 1600 answers `400` with `code` `sms_too_long`. - `skipNotification` (boolean | null): Don't send the schedule-a-showing SMS. - `includeAdverseAction` (boolean | null): Add the FCRA adverse action disclosure to the email. - `writebackToPms` (boolean | null): Write back to the PMS, as Approved, after this decision. - `conditionalApprovalSmsBody` (string | null): Replaces the text of the SMS that lists the conditions. Supported variables: `{{ first_name }}`, `{{ unit_address }}`, `{{ company_name }}` and `{{ approval_condition }}`. Emoji count as two characters. A message over 1600 with its variables filled in answers `400` with `code` `sms_too_long`. - `skipConditionalApprovalSms` (boolean | null): Set to `false` to send the SMS that lists the conditions. If this is left out and `conditionalApprovalSmsBody` isn't set, no SMS goes out. ```json { "approvalCondition": "Requires a $500 higher security deposit", "sendEmail": true } ``` Responses: - `200`: The group's decision was recorded. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The caller can see the group but doesn't have the permission to change it, or the token can't. - `404`: Not found. - `409`: The group already has this decision with the same reasons, condition, information or notes (`code` `decision_already_applied`); an applicant's ID is under review, on approve and conditional approval only (`code` `id_review_pending`); the applicant has another active application from the last 90 days; or a request with this Idempotency-Key is already in progress. Sending the same decision with new text isn't a conflict. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `group_id` (string, uuid) - `status` (string; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant ### POST /rental_application_groups/{id}/request_additional_info **Request additional info from a rental application group** Operation id: `postRentalApplicationGroupRequestAdditionalInfo` Asks the applicant for more information, like Request Additional Info under Take Action in the app. `infoRequired` is included in the email and SMS to the applicant. Needs the Approve/Reject Applications or Admin permission on the application's template, or the account owner role. A Custom key also needs Write on Rental applications. Parameters: - `id` (path; string, uuid; required): Rental application group ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `sendEmail` (boolean | null): Whether to email the applicant. Defaults to true. - `customEmailSubject` (string | null): Custom email subject. Ignored unless customEmailBody is also set. - `customEmailBody` (string | null): Custom email body. Ignored unless customEmailSubject is also set. Without both, the email uses the template's saved email for this decision, or the default email when the template has none. - `customEmailCc` (array | null): Email addresses to CC. An empty array removes the template's default CC list. - `infoRequired` (string; required): What the applicant needs to provide. Unless `skipAdditionalInfoSms` is true, this fills `{{ info_required }}` in the first SMS, and a message over 1600 characters answers `400` with `code` `sms_too_long`. - `additionalInfoSmsBody` (string | null): Replaces the text of the first SMS asking for the information. Supported variables: `{{ first_name }}`, `{{ unit_address }}`, `{{ company_name }}`, `{{ info_required }}` and `{{ existing_applications_url }}`. Emoji count as two characters. A message over 1600 with its variables filled in answers `400` with `code` `sms_too_long`, counting the link at its full length. - `skipAdditionalInfoSms` (boolean | null): Don't send the first SMS or the follow-up reminder texts. Follow-up emails still go out unless `sendEmail` is `false`; with both off, no follow-ups go out. ```json { "infoRequired": "A copy of your most recent pay stub", "sendEmail": true } ``` Responses: - `200`: The group's decision was recorded. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The caller can see the group but doesn't have the permission to change it, or the token can't. - `404`: Not found. - `409`: The group already has this decision with the same reasons, condition, information or notes (`code` `decision_already_applied`); an applicant's ID is under review, on approve and conditional approval only (`code` `id_review_pending`); the applicant has another active application from the last 90 days; or a request with this Idempotency-Key is already in progress. Sending the same decision with new text isn't a conflict. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `group_id` (string, uuid) - `status` (string; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant ### POST /rental_application_groups/{id}/reject **Reject a rental application group** Operation id: `postRentalApplicationGroupReject` Rejects the application, like Reject under Take Action in the app. `rejectionReasons` is included in the email to the applicant, with the FCRA adverse action disclosure, unless `sendEmail` is false. Needs the Approve/Reject Applications or Admin permission on the application's template, or the account owner role. A Custom key also needs Write on Rental applications. Parameters: - `id` (path; string, uuid; required): Rental application group ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `sendEmail` (boolean | null): Whether to email the applicant. Defaults to true. - `customEmailSubject` (string | null): Custom email subject. Ignored unless customEmailBody is also set. - `customEmailBody` (string | null): Custom email body. Ignored unless customEmailSubject is also set. Without both, the email uses the template's saved email for this decision, or the default email when the template has none. - `customEmailCc` (array | null): Email addresses to CC. An empty array removes the template's default CC list. - `rejectionReasons` (array of string; required): Reasons for rejection, included in the email to the applicant. ```json { "rejectionReasons": [ "Insufficient income" ], "sendEmail": true } ``` Responses: - `200`: The group's decision was recorded. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The caller can see the group but doesn't have the permission to change it, or the token can't. - `404`: Not found. - `409`: The group already has this decision with the same reasons, condition, information or notes (`code` `decision_already_applied`); an applicant's ID is under review, on approve and conditional approval only (`code` `id_review_pending`); the applicant has another active application from the last 90 days; or a request with this Idempotency-Key is already in progress. Sending the same decision with new text isn't a conflict. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `group_id` (string, uuid) - `status` (string; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant ### POST /rental_application_groups/{id}/archive **Archive a rental application group** Operation id: `postRentalApplicationGroupArchive` Archives the application, like Archive under Take Action in the app. The applicant gets no email. Needs the Approve/Reject Applications or Admin permission on the application's template, or the account owner role. A Custom key also needs Write on Rental applications. Parameters: - `id` (path; string, uuid; required): Rental application group ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object Archiving never emails the applicant, so this has no email fields. - `notes` (string | null): Internal notes on why the application was archived. ```json { "notes": "Applicant asked to pause for now" } ``` Responses: - `200`: The group's decision was recorded. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The caller can see the group but doesn't have the permission to change it, or the token can't. - `404`: Not found. - `409`: The group already has this decision with the same reasons, condition, information or notes (`code` `decision_already_applied`); an applicant's ID is under review, on approve and conditional approval only (`code` `id_review_pending`); the applicant has another active application from the last 90 days; or a request with this Idempotency-Key is already in progress. Sending the same decision with new text isn't a conflict. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `group_id` (string, uuid) - `status` (string; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant ### POST /rental_application_groups/{id}/revert **Revert a rental application group's decision** Operation id: `postRentalApplicationGroupRevert` Moves the group back to its prior status, which RentEngine works out from the group's current status. The app labels this Move back to Submitted, Unarchive or Revert to Approved. It counts as a correction, so the applicant gets no notification and the follow-up steps (PMS writeback, SMS, AI changes) don't run. Only a group in Conditional Approval, Awaiting Additional Info, Archived or Moved In can be reverted. Any other status, including Approved and Rejected, answers `400`. Needs the Approve/Reject Applications or Admin permission on the application's template, or the account owner role. A Custom key also needs Write on Rental applications. Parameters: - `id` (path; string, uuid; required): Rental application group ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Responses: - `200`: The group's decision was recorded. - `400`: The group's current status can't be reverted, or the request is invalid. - `401`: Unauthorized - missing or invalid Bearer token - `403`: The caller can see the group but doesn't have the permission to change it, or the token can't. - `404`: Not found. - `409`: The applicant has another active application from the last 90 days, or a request with this Idempotency-Key is already in progress. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `group_id` (string, uuid) - `status` (string; one of `Incomplete`, `Partially Submitted`, `Submitted`, `Awaiting Additional Info`, `Conditional Approval`, `Approved`, `Rejected`, `Payment Pending`, `Paid - Incomplete`, `Archived`, `Refunded`, `Moved In`): Status of a rental application group or applicant ### POST /rental_applications/{id}/regroup **Move a rental application to another group** Operation id: `postRentalApplicationRegroup` Moves the applicant into an existing group with `new_group_id`, or into a new group with `split_to_new_group: true`. Sending both or neither returns `400`. Splitting needs the applicant to share their current group with someone else. The move re-saves the applicants' prospect records, bills the application base fee when the new group's status bills, and appears in the activity feed. Needs the Approve/Reject Applications permission on both groups' templates, or the account owner role. A Custom key also needs Write on Rental applications. Parameters: - `id` (path; string, uuid; required): Rental application ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object Send new_group_id, or split_to_new_group set to true, not both. - `new_group_id` (string | null, uuid): Existing group to move the application into. - `split_to_new_group` (boolean | null): Move the application into a new group. The applicant must share their current group with someone else. ```json { "new_group_id": "223e4567-e89b-12d3-a456-426614174111" } ``` Responses: - `200`: The application was moved. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The caller can see the group but doesn't have the permission to change it, or the token can't. - `404`: Not found. - `409`: The application is already in that group (`code` `already_in_group`), or a request with this Idempotency-Key is already in progress. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `application_id` (string, uuid) - `group_id` (string, uuid): The group the application now belongs to. ### POST /rental_applications/{id}/refund **Refund a rental application's fee** Operation id: `postRentalApplicationRefund` Refunds the application's most recent completed checkout through Stripe. `amount` defaults to the checkout total minus any service fee, like the Refund dialog in the app; send the full total to include the fee, or a lower value for a partial refund. A checkout can be refunded once, so a partial refund can't be followed by a second one. If the refund goes through but can't be recorded, the response is `500` with `refund_id`; retry the request to finish recording it. Needs the Issue Refunds or Admin permission on the application's template, or the account owner role. A Custom key also needs Write on Rental applications. Parameters: - `id` (path; string, uuid; required): Rental application ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `amount` (number | null; min 0.01): Refund amount in dollars, to the cent. Defaults to the checkout total minus any service fee, and can't exceed the total. ```json { "amount": 45 } ``` Responses: - `200`: The refund was issued. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The caller doesn't have the permission to refund this application, or the token can't. - `404`: The rental application, or a completed checkout for it, was not found. - `409`: This checkout has already been refunded or has an active dispute, another refund for it is in progress or used a different amount, or a request with this Idempotency-Key is already in progress. - `422`: The checkout has no payment on file to refund, or this Idempotency-Key was reused with a different request body. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `application_id` (string, uuid) - `refund_id` (string): The Stripe refund ID. - `amount` (number): The amount refunded, in dollars. ### POST /rental_applications/{id}/screening **Start screening for a rental application** Operation id: `postRentalApplicationScreening` Starts TransUnion screening for this applicant, like Initiate Screening in the app, and can bill your account the same way. RentEngine picks TransUnion Shareable or TransUnion Integration Partner the way the app does. This doesn't cover the Integration Partner's follow-up criminal report. A `500` can mean TransUnion couldn't be reached to confirm an earlier request. With TransUnion Shareable, a retry won't order twice. With TransUnion Integration Partner, a retry after a `500` can order and bill a second screening, so don't retry it automatically. Needs the Approve/Reject Applications or Admin permission on the application's template, or the account owner role. A Custom key also needs Write on both Rental applications and Screening reports. Parameters: - `id` (path; string, uuid; required): Rental application ID - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Responses: - `200`: Screening was started. - `400`: Screening couldn't start. On TransUnion Shareable, `code` is `applicant_no_ssn` when the applicant has no SSN, `id_verification_expired` when their identity verification has expired, and `id_verification_incomplete` when the applicant hasn't finished TransUnion identity verification. With `code` `validation_error`, TransUnion's status for the applicant doesn't allow reports, for example a canceled or expired screening request, and `error` names the status. On either provider, `code` is `no_reports_requested` when the template requests no reports for this applicant, and nothing is sent or billed. On TransUnion Integration Partner, `code` is `applicant_details_rejected` when TransUnion rejects the applicant's details, such as their address, birthdate, or email. Correct them and retry. - `401`: Unauthorized - missing or invalid Bearer token - `403`: Forbidden - the token cannot access one or more requested accounts - `404`: Not found. - `409`: Screening has already started for this applicant and nothing new was ordered, or a request with this Idempotency-Key is already in progress. On TransUnion Integration Partner, a failed report can be retried, so this applies only when no report failed. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object - `provider` (string; one of `transunion_ip`, `transunion_shareable`): The screening provider used. - `application_number` (string | null): The TransUnion application number, only when provider is transunion_ip. - `report_types` (array of string): Report types requested, only when provider is transunion_shareable. ## Notes & Follow-ups Operations for reading and creating a prospect's notes and follow-up reminders. ### GET /notes **List a prospect's notes** Operation id: `getNotes` Retrieve a prospect's notes (newest first), by prospect_id or phone (supply exactly one). Parameters: - `prospect_id` (query; integer; min 1): The prospect's numeric id. Provide either this or phone (exactly one). - `phone` (query; string): A US phone number in any human-readable format (normalized to E.164 server-side). Matches all prospect records sharing this number, so results may span more than one prospect_id. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated note rows for the prospect. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object Paginated envelope for note rows - `data` (array of object; required) - `id` (string, uuid) - `prospect_id` (integer | null, int64): ID of the prospect the note is attached to, when known. - `note` (string | null): Free-text note about the prospect. - `pinned` (boolean): Whether the note is pinned in the Command Center. Set on creation via the `pinned` request field (defaults to false). First notes are always pinned. - `created_at` (string, date-time) - `prospect_name` (string | null): The prospect's display name. - `phone_number` (string | null): The prospect's contact phone number. Null for a lead with no phone. - `email` (string | null, email): The prospect's email. - `unit_of_interest` (integer | null, int64): ID of the unit the prospect is interested in. - `property_address` (string | null): Formatted address of the unit the prospect is interested in. - `floorplan_id` (string | null, uuid): ID of the floorplan the prospect is interested in (multifamily leads). `null` for single-family leads. - `multifamily_property_id` (string | null, uuid): ID of the multifamily property the prospect is interested in. `null` for single-family leads. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### POST /notes **Create a prospect note** Operation id: `postNote` Create a note on a prospect. Notes are keyed by phone number, so the note appears on every prospect record sharing that number. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `prospect_id` (integer, int64; required; min 1): ID of the prospect the note is being recorded on. - `note` (string; required): Free-text note about the prospect / interaction. Plain text only; HTML isn't rendered and shows as typed. - `pinned` (boolean; default `false`): Whether to pin the note in the Command Center. Pinning un-pins the prospect's other notes — a prospect has at most one pinned note. Defaults to false. First notes are always pinned. ```json { "prospect_id": 12345, "note": "Spoke with prospect — interested in unit 5B" } ``` Responses: - `201`: Note created. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `201` body (`application/json`): object A single note on a prospect. - `id` (string, uuid) - `prospect_id` (integer | null, int64): ID of the prospect the note is attached to, when known. - `note` (string | null): Free-text note about the prospect. - `pinned` (boolean): Whether the note is pinned in the Command Center. Set on creation via the `pinned` request field (defaults to false). First notes are always pinned. - `created_at` (string, date-time) - `prospect_name` (string | null): The prospect's display name. - `phone_number` (string | null): The prospect's contact phone number. Null for a lead with no phone. - `email` (string | null, email): The prospect's email. - `unit_of_interest` (integer | null, int64): ID of the unit the prospect is interested in. - `property_address` (string | null): Formatted address of the unit the prospect is interested in. - `floorplan_id` (string | null, uuid): ID of the floorplan the prospect is interested in (multifamily leads). `null` for single-family leads. - `multifamily_property_id` (string | null, uuid): ID of the multifamily property the prospect is interested in. `null` for single-family leads. ### GET /followups **List a prospect's follow-ups** Operation id: `getFollowups` Retrieve a prospect's active follow-ups (newest first), by prospect_id or phone (supply exactly one). Parameters: - `prospect_id` (query; integer; min 1): The prospect's numeric id. Provide either this or phone (exactly one). - `phone` (query; string): A US phone number in any human-readable format (normalized to E.164 server-side). Matches all prospect records sharing this number, so results may span more than one prospect_id. - `limit` (query; integer; default `100`; min 1; max 2000): Maximum number of rows to return per page (default 100, max 2000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: Paginated follow-up rows for the prospect. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object Paginated envelope for follow-up rows - `data` (array of object; required) - `id` (string, uuid) - `prospect_id` (integer | null, int64): ID of the prospect the follow-up is attached to, when known. - `note` (string | null): Free-text note for the follow-up. - `remind_at` (string | null, date-time): Scheduled reminder timestamp, when set. `null` if no reminder is queued. - `channel` (string | null; one of `SMS`, `PHONE`, `EMAIL`, `OTHER`, `null`): Channel hint for how the user plans to follow up, when set. - `created_at` (string, date-time) - `prospect_name` (string | null): The prospect's display name. - `phone_number` (string | null): The prospect's contact phone number. Null for a lead with no phone. - `email` (string | null, email): The prospect's email. - `unit_of_interest` (integer | null, int64): ID of the unit the prospect is interested in. - `property_address` (string | null): Formatted address of the unit the prospect is interested in. - `floorplan_id` (string | null, uuid): ID of the floorplan the prospect is interested in (multifamily leads). `null` for single-family leads. - `multifamily_property_id` (string | null, uuid): ID of the multifamily property the prospect is interested in. `null` for single-family leads. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### POST /followups **Create a prospect follow-up** Operation id: `postFollowup` Create a follow-up (a scheduled reminder) on a prospect. If `remind_at` is set, a push notification is sent to the user at that time. Parameters: - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Request body (`application/json`): object - `prospect_id` (integer, int64; required; min 1) - `note` (string; required): Free-text note for the follow-up. - `remind_at` (string | null, date-time): Future timestamp at which a push-notification reminder should fire. Must be strictly in the future. - `channel` (string | null; one of `SMS`, `PHONE`, `EMAIL`, `OTHER`, `null`): Optional channel hint for how the user plans to follow up. ```json { "prospect_id": 12345, "note": "Touch base next week about renewal" } ``` Responses: - `201`: Follow-up created. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `201` body (`application/json`): object A single follow-up (scheduled reminder) on a prospect. - `id` (string, uuid) - `prospect_id` (integer | null, int64): ID of the prospect the follow-up is attached to, when known. - `note` (string | null): Free-text note for the follow-up. - `remind_at` (string | null, date-time): Scheduled reminder timestamp, when set. `null` if no reminder is queued. - `channel` (string | null; one of `SMS`, `PHONE`, `EMAIL`, `OTHER`, `null`): Channel hint for how the user plans to follow up, when set. - `created_at` (string, date-time) - `prospect_name` (string | null): The prospect's display name. - `phone_number` (string | null): The prospect's contact phone number. Null for a lead with no phone. - `email` (string | null, email): The prospect's email. - `unit_of_interest` (integer | null, int64): ID of the unit the prospect is interested in. - `property_address` (string | null): Formatted address of the unit the prospect is interested in. - `floorplan_id` (string | null, uuid): ID of the floorplan the prospect is interested in (multifamily leads). `null` for single-family leads. - `multifamily_property_id` (string | null, uuid): ID of the multifamily property the prospect is interested in. `null` for single-family leads. ## Tasks Operations for reading, resolving and reopening the tasks your team works from, and the webhook for task changes. ### GET /tasks **List an account's tasks** Operation id: `getTasks` Retrieve one account's tasks, open by default. Open tasks and `status=all` are sorted by `created_at`, newest first; resolved tasks by `resolved_at`, newest first. A task is open until someone on your team resolves it, or, for a task that tracks a condition (for example, a prospect waiting on a reply), until the condition clears. A condition task resolved while its condition still holds is raised again as a new task. To keep a copy in sync, subscribe to the `tasks` webhook, or poll with `status=resolved&resolved_after=` for what closed since. Pages are read fresh on each request, so tasks created or resolved while you page can shift rows between pages. Date filters ending in `_after` include the boundary and those ending in `_before` exclude it, so consecutive windows neither overlap nor leave a gap. Parameters: - `account_id` (query; string, uuid; required): The account to list tasks for. Required. - `status` (query; string; one of `open`, `resolved`, `all`; default `"open"`): Which tasks to return. - `prospect_id` (query; integer; min 1): Only return tasks for this prospect. - `task_type` (query; string; one of `unresponded-message`, `ai-reviewed-no-reply`, `manual-follow-up`, `ai-escalation`, `missed-call`, `showing-awaiting-approval`, `showing-canceled-by-prospect`, `missed-showing`, `at-risk-showing`, `self-guided-feedback-added`, `self-guided-no-feedback`, `frustrated-with-ai`, `prospect-unresponsive`, `new-featured-listing-lead`, `replied-stop`): Only return tasks of this type. - `assigned_agent_user_id` (query; string, uuid): Only return tasks assigned to this agent. - `created_after` (query; string, date-time): Only return tasks created at or after this time. - `created_before` (query; string, date-time): Only return tasks created before this time. - `resolved_after` (query; string, date-time): Only return tasks resolved at or after this time. Needs `status=resolved` or `status=all`. - `resolved_before` (query; string, date-time): Only return tasks resolved before this time. Needs `status=resolved` or `status=all`. - `limit` (query; integer; default `100`; min 1; max 1000): Maximum number of tasks to return per page (default 100, max 1000). - `page_number` (query; integer; default `0`; min 0): Page number for pagination (0-indexed, default 0). Responses: - `200`: A page of the account's tasks. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object Paginated envelope for tasks - `data` (array of object; required) - `id` (integer; required) - `account_id` (string, uuid; required) - `prospect_id` (integer; required) - `task_type` (string; required; one of `unresponded-message`, `ai-reviewed-no-reply`, `manual-follow-up`, `ai-escalation`, `missed-call`, `showing-awaiting-approval`, `showing-canceled-by-prospect`, `missed-showing`, `at-risk-showing`, `self-guided-feedback-added`, `self-guided-no-feedback`, `frustrated-with-ai`, `prospect-unresponsive`, `new-featured-listing-lead`, `replied-stop`): What the task asks of your team. `task_type_label` on a task carries the name shown in RentEngine. - `task_type_label` (string; required): The task type's name as shown in RentEngine. - `reason` (string | null; required): Why the task was raised, when RentEngine recorded one. - `assigned_agent_user_id` (string | null, uuid; required): The agent assigned to the prospect when the task was created. Null if the prospect had no assigned agent. - `created_at` (string, date-time; required) - `status` (string; required; one of `open`, `resolved`): Whether the task is still waiting on your team. - `resolved_at` (string | null, date-time; required): When the task was resolved. Null while it is open. - `resolved_by` (string | null, uuid; required): The user who resolved the task. Null while it is open, and when RentEngine resolved it because the condition behind it cleared. - `page` (object; required): Pagination metadata for intelligence reporting responses - `limit` (integer; required) - `page_number` (integer; required) - `has_more` (boolean; required) - `next_page_number` (integer | null; required) ### GET /tasks/{id} **Get a task** Operation id: `getTask` Retrieve one task, open or resolved. Parameters: - `id` (path; integer; required; min 1): The task's id. Responses: - `200`: The task. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `404`: Not found. - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object A task on a prospect. - `id` (integer; required) - `account_id` (string, uuid; required) - `prospect_id` (integer; required) - `task_type` (string; required; one of `unresponded-message`, `ai-reviewed-no-reply`, `manual-follow-up`, `ai-escalation`, `missed-call`, `showing-awaiting-approval`, `showing-canceled-by-prospect`, `missed-showing`, `at-risk-showing`, `self-guided-feedback-added`, `self-guided-no-feedback`, `frustrated-with-ai`, `prospect-unresponsive`, `new-featured-listing-lead`, `replied-stop`): What the task asks of your team. `task_type_label` on a task carries the name shown in RentEngine. - `task_type_label` (string; required): The task type's name as shown in RentEngine. - `reason` (string | null; required): Why the task was raised, when RentEngine recorded one. - `assigned_agent_user_id` (string | null, uuid; required): The agent assigned to the prospect when the task was created. Null if the prospect had no assigned agent. - `created_at` (string, date-time; required) - `status` (string; required; one of `open`, `resolved`): Whether the task is still waiting on your team. - `resolved_at` (string | null, date-time; required): When the task was resolved. Null while it is open. - `resolved_by` (string | null, uuid; required): The user who resolved the task. Null while it is open, and when RentEngine resolved it because the condition behind it cleared. ### POST /tasks/{id}/resolve **Resolve a task** Operation id: `resolveTask` Mark a task as done, as the API key's user, the same as resolving it in RentEngine. `resolved_at` is set to the current time and `resolved_by` to the key's user. Resolving a task that is already resolved returns it unchanged. A task that tracks a condition is raised again as a new task if the condition still holds. Needs a key that is not read-only, from a user who is an owner, member or showing agent on the task's account. Parameters: - `id` (path; integer; required; min 1): The task's id. - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Responses: - `200`: The resolved task. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The API key is read-only, or its user's role on the task's account cannot resolve or reopen tasks. - `404`: Not found. - `409`: A request with this Idempotency-Key is already in progress - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object A task on a prospect. - `id` (integer; required) - `account_id` (string, uuid; required) - `prospect_id` (integer; required) - `task_type` (string; required; one of `unresponded-message`, `ai-reviewed-no-reply`, `manual-follow-up`, `ai-escalation`, `missed-call`, `showing-awaiting-approval`, `showing-canceled-by-prospect`, `missed-showing`, `at-risk-showing`, `self-guided-feedback-added`, `self-guided-no-feedback`, `frustrated-with-ai`, `prospect-unresponsive`, `new-featured-listing-lead`, `replied-stop`): What the task asks of your team. `task_type_label` on a task carries the name shown in RentEngine. - `task_type_label` (string; required): The task type's name as shown in RentEngine. - `reason` (string | null; required): Why the task was raised, when RentEngine recorded one. - `assigned_agent_user_id` (string | null, uuid; required): The agent assigned to the prospect when the task was created. Null if the prospect had no assigned agent. - `created_at` (string, date-time; required) - `status` (string; required; one of `open`, `resolved`): Whether the task is still waiting on your team. - `resolved_at` (string | null, date-time; required): When the task was resolved. Null while it is open. - `resolved_by` (string | null, uuid; required): The user who resolved the task. Null while it is open, and when RentEngine resolved it because the condition behind it cleared. ### POST /tasks/{id}/reopen **Reopen a task** Operation id: `reopenTask` Undo a resolution, the same as Undo in RentEngine. Clears `resolved_at` and `resolved_by`. Reopening a task that is already open returns it unchanged. A task cannot be reopened once the same task has been raised again for the prospect; that returns 409. Needs a key that is not read-only, from a user who is an owner, member or showing agent on the task's account. Parameters: - `id` (path; integer; required; min 1): The task's id. - `Idempotency-Key` (header; string): Optional. Printable ASCII, 1–256 characters, no spaces. Scoped to the authenticated user, method, and path. Replayed for 24 hours. Concurrent reuse while the first request is in flight returns 409; a different body with the same key returns 422. Responses: - `200`: The reopened task. - `400`: Bad request - invalid input parameters or request body - `401`: Unauthorized - missing or invalid Bearer token - `403`: The API key is read-only, or its user's role on the task's account cannot resolve or reopen tasks. - `404`: Not found. - `409`: The task has already been raised again, so there is nothing to reopen; or a request with this Idempotency-Key is already in progress. - `422`: Idempotency-Key reused with a different request body - `429`: Rate limit exceeded - too many requests in the current time window - `500`: Internal server error - `503`: Service temporarily unavailable - the underlying query exceeded its time budget (Postgres statement timeout). Safe to retry after a short backoff. `200` body (`application/json`): object A task on a prospect. - `id` (integer; required) - `account_id` (string, uuid; required) - `prospect_id` (integer; required) - `task_type` (string; required; one of `unresponded-message`, `ai-reviewed-no-reply`, `manual-follow-up`, `ai-escalation`, `missed-call`, `showing-awaiting-approval`, `showing-canceled-by-prospect`, `missed-showing`, `at-risk-showing`, `self-guided-feedback-added`, `self-guided-no-feedback`, `frustrated-with-ai`, `prospect-unresponsive`, `new-featured-listing-lead`, `replied-stop`): What the task asks of your team. `task_type_label` on a task carries the name shown in RentEngine. - `task_type_label` (string; required): The task type's name as shown in RentEngine. - `reason` (string | null; required): Why the task was raised, when RentEngine recorded one. - `assigned_agent_user_id` (string | null, uuid; required): The agent assigned to the prospect when the task was created. Null if the prospect had no assigned agent. - `created_at` (string, date-time; required) - `status` (string; required; one of `open`, `resolved`): Whether the task is still waiting on your team. - `resolved_at` (string | null, date-time; required): When the task was resolved. Null while it is open. - `resolved_by` (string | null, uuid; required): The user who resolved the task. Null while it is open, and when RentEngine resolved it because the condition behind it cleared. # Webhooks ## Leasing events Webhook for leasing events. Fires `INSERT` when an event is recorded and `UPDATE` when one changes, such as its notes, planned time or `context`. Leasing events aren't deleted: removing one sets `deleted` to `true`, which arrives as an `UPDATE`. Leasing events of the following types are supported: - "New" - "Contacted, Awaiting Information" - "Showing Desired" - "Showing Scheduled" - "Showing Complete" - "Missed Showing" - "Ghosting" - "Application Sent to Prospect" - "Application Received" - "Application Pending" - "Application in Owner Review" - "Application Approved" - "Withdrawn" - "Application Rejected" - "Prescreen Submitted" - "Prescreen Rejected - Self reported credit" - "Prescreen Rejected - Self reported income" - "Prescreen Rejected - ID Verification" - "Prescreen Approved" - "Looking too early" - "Lease out for signing" - "Lease Signed" - "Deposit Received" - "Move-in Scheduled" - "Moved In" - "Unit of Interest Unavailable" - "Not Interested" - "Duplicate Lead" - "Still Deciding" - "HOA Application Sent To Prospect" - "HOA Application Submitted" - "HOA Application Approved" - "HOA Application Rejected" - "Showing Failed" - "Showing Canceled" - "Showing Confirmed" - "Arrived for Showing" - "Showing Started" - "Log Note" - "Assign to User" - "Blocklist Prospect" - "Unblock Prospect" - "Reassign Showing" Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object | object | object Generic structure of webhook payloads ## Lockbox events Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object | object | object Generic structure of webhook payloads ## Prospects Webhook for prospect changes (creates, updates, deletes). Only the below fields are included in the record and old_record objects. Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object Generic structure of webhook payloads - `record` (object) - `id` (string, uuid): Unique identifier for the prospect - `created_at` (string, date-time): When the prospect was created - `name` (string): Prospect's name - `phone` (string): Prospect's phone number - `email` (string): Prospect's email address - `unit_of_interest` (number | null): ID of the unit the prospect is interested in. `null` for building, floorplan, or account-level leads. - `status` (string): Current status of the prospect - `source` (string): Where the prospect came from - `notes` (string): Notes about the prospect - `prescreened` (boolean): Whether the prospect has been prescreened - `voucher_holder` (boolean): Whether the prospect holds a housing voucher - `normalized_phone_number_generated` (string): Normalized phone number if normalizable. Else null. - `license_number` (string): License number if applicable - `prospect_type` (string; one of `Self`, `Agent`, `Co-applicant`, `Co-signer`): Who the prospect is: `Self`, renting for themselves; `Agent`, a real-estate agent with a client; `Co-applicant` or `Co-signer`, someone on another applicant's rental application, who is not a lead. - `updated_at` (string, date-time): When the prospect was last updated - `assigned_to_user_ids` (array of string, uuid): IDs of users assigned to this prospect - `old_record` (object) - `id` (string, uuid): Unique identifier for the prospect - `created_at` (string, date-time): When the prospect was created - `name` (string): Prospect's name - `phone` (string): Prospect's phone number - `email` (string): Prospect's email address - `unit_of_interest` (number | null): ID of the unit the prospect is interested in. `null` for building, floorplan, or account-level leads. - `status` (string): Current status of the prospect - `source` (string): Where the prospect came from - `notes` (string): Notes about the prospect - `prescreened` (boolean): Whether the prospect has been prescreened - `voucher_holder` (boolean): Whether the prospect holds a housing voucher - `normalized_phone_number_generated` (string): Normalized phone number if normalizable. Else null. - `license_number` (string): License number if applicable - `prospect_type` (string; one of `Self`, `Agent`, `Co-applicant`, `Co-signer`): Who the prospect is: `Self`, renting for themselves; `Agent`, a real-estate agent with a client; `Co-applicant` or `Co-signer`, someone on another applicant's rental application, who is not a lead. - `updated_at` (string, date-time): When the prospect was last updated - `assigned_to_user_ids` (array of string, uuid): IDs of users assigned to this prospect ```json { "type": "UPDATE", "table": "prospects", "record": { "id": "123e4567-e89b-12d3-a456-426614174000", "created_at": "2023-01-15T12:00:00Z", "name": "John Doe", "phone": "+15551234567", "email": "john.doe@example.com", "unit_of_interest": 123, "status": "Not Interested", "source": "Zillow", "notes": "Interested in 2BR units", "prescreened": true, "voucher_holder": false, "normalized_phone_number_generated": "+15551234567", "license_number": "ABC123", "prospect_type": "Agent", "updated_at": "2023-01-16T14:30:00Z", "assigned_to_user_ids": [ "123e4567-e89b-12d3-a456-426614174001" ] }, "old_record": { "id": "123e4567-e89b-12d3-a456-426614174000", "created_at": "2023-01-15T12:00:00Z", "name": "John Doe", "phone": "+15551234567", "email": "john.doe@example.com", "unit_of_interest": 123, "status": "Showing SCheduled", "source": "RentEngine", "notes": "Interested in 2BR units", "prescreened": false, "voucher_holder": false, "normalized_phone_number_generated": "+15551234567", "license_number": "null", "updated_at": "2023-01-15T12:00:00Z", "prospect_type": "Self", "assigned_to_user_ids": [] } } ``` ## Units Webhook for unit changes. Fires `INSERT` when a unit is created, including by `POST /units` and property management system imports, and `UPDATE` when one changes. Units are archived rather than deleted: archiving sets `status` to `Archived`, which arrives as an `UPDATE`. `DELETE` fires only for a unit removed outright. Only the below fields are included in the record and old_record objects. Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object Generic structure of webhook payloads - `record` (object) - `id` (integer): Unique identifier for the unit - `property_type` (string): Type of property - `highlighted_amenities` (array of string): Highlighted amenities - `bedrooms` (number): Number of bedrooms - `bathrooms` (number): Number of bathrooms - `sqft` (number): Square footage of the unit - `furnished` (boolean): Whether the unit is furnished - `renovated` (string): Whether the unit has been renovated - `num_parking_spots` (number): Number of parking spots - `laundry` (string): Laundry options - `target_rental_rate` (number): Target rental rate for the unit in dollars per month - `is_occupied` (boolean): (DEPRECATED) - Use earliest_move_in_date instead. Reads false once earliest_move_in_date has passed. - `earliest_move_in_date` (string, date): Earliest date the unit is available for move-in - `allow_cooperating_brokers` (boolean | null): Whether cooperating brokers are allowed - `desired_lease_duration_months` (array of integer): Desired lease duration in months - `pets_allowed` (string | null): Pet policy - `pet_restrictions` (string): Restrictions on pets (breed/weight/size limits, not fees) - `pet_fees` (array | null): Structured pet fees for the unit - `fee_name` (string; required): Name of the pet fee - `amount` (number; required): Fee amount (dollar value or percentage of rent) - `type` (string; required; one of `dollar`, `percent`): Whether amount is a flat dollar value or percentage of rent - `per_pet` (boolean): Whether the fee is charged per pet - `required` (boolean): Whether the fee is mandatory - `applies_to_esas` (boolean): Whether this fee applies to emotional support animals - `fee_timing` (string; required; one of `move_in`, `monthly`, `move_out`, `annually`): When the fee is charged - `fee_refundable` (string; required; one of `refundable`, `nonRefundable`, `partiallyRefundable`): Refundability of the fee - `depends_on_pet_screening_results` (boolean): Whether the fee amount may vary based on pet screening - `hoa_app_required` (boolean | null): Whether HOA application is required - `hoa_app_fee` (number | null): HOA application fee in dollars - `hoa_application_url` (string | null): URL for HOA application - `key_access` (string): Key access information - `structured_access_instructions` (object): Structured access instructions - `earliest_showing_date` (string, date): Earliest date the unit can be shown - `min_resident_qualifications` (string): Minimum qualifications for residents - `utilities_included` (array of string): Utilities included in rent - `parking_type` (array of string): Type of parking available - `status` (string): Current status of the unit - `extracted_from` (string): Source of the unit data - `marketing_description` (string): Marketing description of the unit - `marketing_photos` (array of object): Photos of the unit - `path` (string) - `hidden` (boolean) - `original` (string | null) - `commission_amount` (number): Commission amount - `commission_type` (string): Type of commission - `imported_by` (string | null): Who/what imported the unit - `floor_number` (integer): Floor number of the unit - `has_elevator` (boolean | null): Whether the building has an elevator - `hoa_details` (object): Details about the HOA - `account_id` (string): ID of the account that owns the unit - `owner_emails` (array of string): (DEPRECATED) - Use property_owner_id instead. Email addresses of the owners. - `block_syndication_to_ils` (boolean): Whether to block syndication of this unit to ILS (Internet Listing Services) - `accepts_vouchers` (boolean | null): Whether the unit accepts housing vouchers. - `showing_method` (string | null): Method for showing the unit - `amenities` (array of string): All amenities of the unit - `internal_notes` (string | null): Internal notes about the unit. - `move_in_fees` (array | null): Fees required at move-in - `monthly_fees` (array | null): Monthly recurring fees - `multifamily_property_id` (string | null): ID of the multifamily property - `floorplans_id` (string | null): ID of the floorplan - `video_url` (string | null): URL of video tour - `subteam_id` (string | null): ID of the subteam managing the unit - `prescreen_template_id` (string | null): ID of the prescreening template to use for this unit - `enable_send_report` (boolean): Whether to enable sending reports - `security_deposit_amount` (number | null): Amount of security deposit in dollars - `require_last_month_rent` (boolean | null): Whether last month's rent is required upfront - `requires_voucher` (boolean | null): Whether a voucher is required - `custom_application_url` (string): URL for custom application - `include_feedback_leasing_report` (boolean): Whether to include feedback in leasing reports - `year_built` (number | null): Year the property was built - `application_fee` (number | null): Application fee amount in dollars - `created_at` (string, date-time): Timestamp when the unit was created - `updated_at` (string, date-time): Timestamp when the unit was last updated - `old_record` (object) - `id` (integer): Unique identifier for the unit - `property_type` (string): Type of property - `highlighted_amenities` (array of string): Highlighted amenities - `bedrooms` (number): Number of bedrooms - `bathrooms` (number): Number of bathrooms - `sqft` (number): Square footage of the unit - `furnished` (boolean): Whether the unit is furnished - `renovated` (string): Whether the unit has been renovated - `num_parking_spots` (number): Number of parking spots - `laundry` (string): Laundry options - `target_rental_rate` (number): Target rental rate for the unit in dollars per month - `is_occupied` (boolean): (DEPRECATED) - Use earliest_move_in_date instead. Reads false once earliest_move_in_date has passed. - `earliest_move_in_date` (string, date): Earliest date the unit is available for move-in - `allow_cooperating_brokers` (boolean | null): Whether cooperating brokers are allowed - `desired_lease_duration_months` (array of integer): Desired lease duration in months - `pets_allowed` (string | null): Pet policy - `pet_restrictions` (string): Restrictions on pets (breed/weight/size limits, not fees) - `pet_fees` (array | null): Structured pet fees for the unit - `fee_name` (string; required): Name of the pet fee - `amount` (number; required): Fee amount (dollar value or percentage of rent) - `type` (string; required; one of `dollar`, `percent`): Whether amount is a flat dollar value or percentage of rent - `per_pet` (boolean): Whether the fee is charged per pet - `required` (boolean): Whether the fee is mandatory - `applies_to_esas` (boolean): Whether this fee applies to emotional support animals - `fee_timing` (string; required; one of `move_in`, `monthly`, `move_out`, `annually`): When the fee is charged - `fee_refundable` (string; required; one of `refundable`, `nonRefundable`, `partiallyRefundable`): Refundability of the fee - `depends_on_pet_screening_results` (boolean): Whether the fee amount may vary based on pet screening - `hoa_app_required` (boolean | null): Whether HOA application is required - `hoa_app_fee` (number | null): HOA application fee in dollars - `hoa_application_url` (string | null): URL for HOA application - `key_access` (string): Key access information - `structured_access_instructions` (object): Structured access instructions - `earliest_showing_date` (string, date): Earliest date the unit can be shown - `min_resident_qualifications` (string): Minimum qualifications for residents - `utilities_included` (array of string): Utilities included in rent - `parking_type` (array of string): Type of parking available - `status` (string): Current status of the unit - `extracted_from` (string): Source of the unit data - `marketing_description` (string): Marketing description of the unit - `marketing_photos` (array of object): Photos of the unit - `path` (string) - `hidden` (boolean) - `original` (string | null) - `commission_amount` (number): Commission amount - `commission_type` (string): Type of commission - `imported_by` (string | null): Who/what imported the unit - `floor_number` (integer): Floor number of the unit - `has_elevator` (boolean | null): Whether the building has an elevator - `hoa_details` (object): Details about the HOA - `account_id` (string): ID of the account that owns the unit - `owner_emails` (array of string): (DEPRECATED) - Use property_owner_id instead. Email addresses of the owners. - `block_syndication_to_ils` (boolean): Whether to block syndication of this unit to ILS (Internet Listing Services) - `accepts_vouchers` (boolean | null): Whether the unit accepts housing vouchers. - `showing_method` (string | null): Method for showing the unit - `amenities` (array of string): All amenities of the unit - `internal_notes` (string | null): Internal notes about the unit. - `move_in_fees` (array | null): Fees required at move-in - `monthly_fees` (array | null): Monthly recurring fees - `multifamily_property_id` (string | null): ID of the multifamily property - `floorplans_id` (string | null): ID of the floorplan - `video_url` (string | null): URL of video tour - `subteam_id` (string | null): ID of the subteam managing the unit - `prescreen_template_id` (string | null): ID of the prescreening template to use for this unit - `enable_send_report` (boolean): Whether to enable sending reports - `security_deposit_amount` (number | null): Amount of security deposit in dollars - `require_last_month_rent` (boolean | null): Whether last month's rent is required upfront - `requires_voucher` (boolean | null): Whether a voucher is required - `custom_application_url` (string): URL for custom application - `include_feedback_leasing_report` (boolean): Whether to include feedback in leasing reports - `year_built` (number | null): Year the property was built - `application_fee` (number | null): Application fee amount in dollars - `created_at` (string, date-time): Timestamp when the unit was created - `updated_at` (string, date-time): Timestamp when the unit was last updated ## Rental application groups Webhook for rental application group changes. Emits the following semantic events: - `group.created` when a new application group is created (INSERT). - `group.state_changed` when the group's `status` transitions (for example, `Submitted` → `Approved`). The `changes.status` object describes the transition. - `group.unit_changed` when the group's `unit_id` changes without a status change. The `changes.unit_id` object describes the transition. - `group.updated` fallback for other meaningful UPDATE events. When a single UPDATE contains multiple changes (for example, a status change and a unit change at the same time), the most specific event is emitted — `group.state_changed` wins over `group.unit_changed`, which wins over `group.updated`. All detected transitions are always included in the `changes` object, so subscribers that want granular detection can inspect `changes` regardless of the top-level `event`. The `record` and `old_record` objects are whitelisted and do not include applicant PII. Fetch the group detail endpoint (`GET /rental_application_groups/{id}`) to retrieve non-PII group state and the applicant list, or `GET /rental_applications/{id}` for the full applicant record including PII. Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object Webhook payload for rental_application_groups events. The `event` field carries the *semantic* event name derived from the underlying change. When multiple fields change in a single UPDATE, `event` takes the highest-priority value (`group.state_changed` > `group.unit_changed` > `group.updated`) and `changes` contains the full diff so subscribers can detect compound transitions. - `event` (string; required; one of `group.created`, `group.state_changed`, `group.unit_changed`, `group.updated`): Semantic event: - `group.created`: A new rental application group was created (INSERT) - `group.state_changed`: Status field transitioned (covers submitted, approved, rejected, etc.) - `group.unit_changed`: The unit assigned to the group changed - `group.updated`: Any other UPDATE without a semantic meaning - `event_id` (string, uuid; required): Unique identifier for this delivery, suitable for subscriber-side idempotency - `occurred_at` (string, date-time; required) - `type` (string; required; one of `INSERT`, `UPDATE`): Underlying DB event. DELETE is never emitted for this table. - `table` (string; required; one of `rental_application_groups`) - `record` (object | null) - `old_record` (object | null) - `changes` (object | null) ## Rental applications Webhook for individual rental application changes. Emits the following semantic events: - `application.created` when a new applicant record is created (INSERT). - `application.state_changed` when the applicant's `status` transitions (for example, `Incomplete` → `Submitted`). The `changes.status` object describes the transition. - `application.updated` fallback for other meaningful UPDATE events (for example, `progress` changes, `move_in_date` changes). The `record` and `old_record` objects are whitelisted and do not include PII — fields such as `personal_details`, `income_details`, `application_documents`, `address_history`, and `co_applicants` are intentionally omitted. Fetch the rental application endpoint (`GET /rental_applications/{id}`) with a Bearer token to retrieve full PII after receiving a webhook. Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object Webhook payload for rental_applications events. PII is intentionally stripped — subscribers fetch `GET /rental_applications/{id}` to retrieve PII when needed. - `event` (string; required; one of `application.created`, `application.state_changed`, `application.updated`): Semantic event: - `application.created`: A new applicant record was created on a group (INSERT). - `application.state_changed`: The applicant's status transitioned. - `application.updated`: Any other UPDATE. - `event_id` (string, uuid; required) - `occurred_at` (string, date-time; required) - `type` (string; required; one of `INSERT`, `UPDATE`): Underlying DB event. DELETE is never emitted for this table. - `table` (string; required; one of `rental_applications`) - `record` (object | null) - `old_record` (object | null) - `changes` (object | null) ## Tasks Webhook for task changes. Fires `INSERT` once when a task is created, and `UPDATE` when a task is resolved (by your team, the API, or RentEngine when the condition behind it clears), reopened, or changed to a different `task_type`. A task that is resolved and later raised again arrives as a new task with a new `id`. A task keeps its `id` when its `task_type` changes, so apply the new type to the task you already stored. An account that stops using "Reviewed, no reply needed" turns its open tasks of that type into "Unresponded message". Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object Webhook payload for a task change. `INSERT` for a new task, with `old_record` null. `UPDATE` when a task is resolved, reopened, or changed to a different `task_type`, with `old_record` holding the task as it was. `record` and `old_record` have the same fields as a task returned by `GET /tasks`. - `type` (string; required; one of `INSERT`, `UPDATE`): INSERT for a new task; UPDATE when one is resolved, reopened, or changed to a different task_type. Tasks are never deleted. - `table` (string; required; one of `tasks`) - `record` (object; required): A task on a prospect. - `id` (integer; required) - `account_id` (string, uuid; required) - `prospect_id` (integer; required) - `task_type` (string; required; one of `unresponded-message`, `ai-reviewed-no-reply`, `manual-follow-up`, `ai-escalation`, `missed-call`, `showing-awaiting-approval`, `showing-canceled-by-prospect`, `missed-showing`, `at-risk-showing`, `self-guided-feedback-added`, `self-guided-no-feedback`, `frustrated-with-ai`, `prospect-unresponsive`, `new-featured-listing-lead`, `replied-stop`): What the task asks of your team. `task_type_label` on a task carries the name shown in RentEngine. - `task_type_label` (string; required): The task type's name as shown in RentEngine. - `reason` (string | null; required): Why the task was raised, when RentEngine recorded one. - `assigned_agent_user_id` (string | null, uuid; required): The agent assigned to the prospect when the task was created. Null if the prospect had no assigned agent. - `created_at` (string, date-time; required) - `status` (string; required; one of `open`, `resolved`): Whether the task is still waiting on your team. - `resolved_at` (string | null, date-time; required): When the task was resolved. Null while it is open. - `resolved_by` (string | null, uuid; required): The user who resolved the task. Null while it is open, and when RentEngine resolved it because the condition behind it cleared. - `old_record` (object | null; required): The task before the change. Null for INSERT. ## Text messages Webhook for text messages with prospects, in both directions. Fires `INSERT` when a text is received or sent, and `UPDATE` when its status changes (for example `sent` to `delivered` or `failed`). Texts are never deleted. Records have the same fields as a message from `GET /messages`, minus the prospect details, plus `error_code`. Match updates to their text by `message_sid`. An outbound text's `INSERT` can already carry a later status, or have `body` null with an `UPDATE` that fills it in. Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object Webhook payload for a text message. `INSERT` for a text received or sent, with `old_record` null. `UPDATE` when its status or text changes, with `old_record` holding the text as it was. - `type` (string; required; one of `INSERT`, `UPDATE`): INSERT for a new text; UPDATE when its status or text changes. Texts are never deleted. - `table` (string; required; one of `messages`) - `record` (object; required): A text message as the Text messages webhook sends it. - `message_sid` (string; required): Twilio Message SID. Stays the same across every update to the text. - `created_at` (string, date-time; required) - `direction` (string | null; required; one of `inbound`, `outbound`, `null`): `inbound` for a text the prospect sent, `outbound` for one sent to them. - `body` (string | null; required): Message text. Can be null on an outbound text's first delivery; an `UPDATE` follows with it. - `status` (string | null; required): Delivery status (e.g. `received`, `queued`, `sent`, `delivered`, `failed`, `undelivered`). - `error_code` (string | null; required): Twilio error code when a text fails or isn't delivered. `null` otherwise. - `from_number` (string | null; required): Sender's phone number (E.164). - `to_number` (string | null; required): Recipient's phone number (E.164). - `num_media` (integer | null; required): Number of media attachments on this message. - `media_content_types` (array | null; required): MIME types of any media attachments (URLs themselves are not exposed). - `sender_user_id` (string | null, uuid; required): The team member the text is attributed to, as in `GET /messages`. `null` for automated and inbound texts. - `prospect_id` (integer | null, int64; required): The prospect on the other end of the conversation, the most recently created one with that phone number on your account. `null` when none matches. - `old_record` (object | null; required): The text before the change. Null for INSERT. ## AI escalations Webhook for prospect conversations the AI hands to your team. Fires when the AI escalates a request that needs a person, and when it can't reply to a prospect's text. Subscribe to `UPDATE`, the only event type it sends. Unlike the other webhooks, the body is not an `INSERT`/`UPDATE`/`DELETE` envelope: it carries the escalation's fields directly, with no `type`, `table`, `record` or `old_record`. Deliveries are signed and retried like every other webhook. Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object Body of an AI escalations delivery. The fields sit at the top level, not under `record`. A field with no value is left out of the body. - `reasoning` (string; required): Why the AI handed the conversation to your team, written for your team to read. - `prospectId` (integer): The prospect's id. Left out when the escalation isn't tied to one prospect record. - `prospectName` (string): The prospect's name. - `prospectPhoneNumber` (string; required): The phone number the prospect texted from. - `prospectUnitAddress` (string): Address of the unit the prospect is interested in. ## Market tool leads Webhook for new business-development leads captured by the Market Tool Widget. Fires once per new lead (INSERT only) — no update or delete events. The `record` contains a fixed set of listing and lead-contact fields. Headers: - `webhook-id` (header; string; required): Unique per delivery and the same on every retry of it. Use it to skip a retry you already processed. Part of the signed content. - `webhook-timestamp` (header; string; required): Unix seconds when the delivery was queued. Retries carry the original timestamp. Reject a request whose timestamp is more than 5 minutes from your current time. - `webhook-signature` (header; string; required): `v1,` and the base64 HMAC-SHA256 of `{webhook-id}.{webhook-timestamp}.{body}`, keyed with the base64-decoded part of the webhook's `whsec_` signing secret. During a secret rotation it holds two signatures separated by a space; accept the request if either matches. See Webhooks › Verifying Deliveries. Payload (`application/json`): object Webhook payload for Market Tool Widget lead events. INSERT-only — `type` is always `INSERT` and `old_record` is always null. The `record` contains a fixed set of listing and lead-contact fields. - `type` (string; required; one of `INSERT`): Underlying DB event. Only INSERT is emitted for this table. - `table` (string; required; one of `pm_business_development_leads`) - `record` (object; required): Whitelisted columns emitted for Market Tool Widget lead webhook events. - `id` (string, uuid; required) - `created_at` (string, date-time; required) - `address` (string; required) - `zip_code` (string | null; required) - `beds` (number | null; required) - `baths` (number | null; required) - `property_type` (string | null; required) - `sqft` (integer | null; required) - `key_features` (string | null; required) - `lead_name` (string; required) - `lead_email` (string, email; required) - `lead_phone` (string | null; required) - `referrer_url` (string | null; required) - `utm_source` (string | null; required) - `utm_medium` (string | null; required) - `utm_campaign` (string | null; required) - `old_record` (null; required): Always null — INSERT-only table.