New: Manage your HOA from your favorite AI agent with our MCP server — see how to connect ›
Developers

Perfect HOA API

A REST API for your communities: units and owners, invoices and payments, requests, violations, work orders, meetings, votes, documents and messages. JSON over HTTPS, authenticated with an API key or OAuth.

Version v1 Spec OpenAPI 3.1 Base URL https://app.perfecthoa.com/api/v1
Getting started

Quickstart

Three steps from nothing to your first response. Every plan includes the API.

01

Create a key

Sign in and open Account → Security → API Tokens. Pick what the key may read or change and which communities it reaches.

02

Keep it secret

The key is shown once. Store it as PERFECTHOA_TOKEN: every example on this page reads it from there.

03

Make a request

Call GET /me to check the key, then GET /communities for the ids every other call uses.

Terminal
export PERFECTHOA_TOKEN='phoa_pat_…'
GET /me
curl "https://app.perfecthoa.com/api/v1/me" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Getting started

Authentication

API keys

Send the key as a bearer token in every request. A key acts as the user who created it, narrowed to the scopes and communities chosen for it, and never beyond that user's own permissions. Keys can expire (30 or 90 days, a year, or never) and can be revoked at any time.

Request header
Authorization: Bearer phoa_pat_…

A missing, unknown, revoked or expired key is 401 unauthorized; a key without the needed scope is 403 insufficient_scope, with the missing scope in required_scope.

Treat keys like passwords. Keep them in an environment variable or a secret manager, never in source code. Keys start with phoa_pat_, so secret scanners can spot a leaked one.

OAuth 2.1

Apps that act for other Perfect HOA users sign them in with the authorization code flow and PKCE (S256, required). Clients register themselves (dynamic client registration), so there is no client secret. Users approve the scopes and communities on a consent screen and can disconnect the app at any time. Access tokens last an hour; refresh tokens rotate on every use.

EndpointURL
Discoveryhttps://app.perfecthoa.com/.well-known/oauth-authorization-server
Protected resourcehttps://app.perfecthoa.com/.well-known/oauth-protected-resource
Register (RFC 7591)POST https://app.perfecthoa.com/oauth/register
Authorizehttps://app.perfecthoa.com/oauth/authorize
TokenPOST https://app.perfecthoa.com/oauth/token
Revoke (RFC 7009)POST https://app.perfecthoa.com/oauth/revoke
Getting started

Scopes

Each area has a read scope and, for most, a write scope that includes read. Scopes only narrow what the user can already do in Perfect HOA: a key never reaches more than its owner.

AreaReadChange
Communitiescommunities:readread only
Unitsunits:readunits:write
Contactscontacts:readcontacts:write
Invoices, payments & ledgerinvoices:readinvoices:write
Bank accounts & transactionsbanking:readbanking:write
Budgets & reservesbudgets:readbudgets:write
Requestsrequests:readrequests:write
Violationsviolations:readviolations:write
Work orderswork_orders:readwork_orders:write
Vendorsvendors:readvendors:write
Documentsdocuments:readdocuments:write
Communicationscommunications:readcommunications:write
Meetingsmeetings:readmeetings:write
Votesvotes:readvotes:write
Events & amenitiesevents:readevents:write
Reportsreports:readread only
Getting started

Conventions

  • Base URL https://app.perfecthoa.com/api/v1. Community data lives under /communities/{community}/…; get the ids from GET /communities.
  • Ids are UUIDs. Money is a decimal string such as "125.00". Dates are ISO 8601 (2026-12-01, 2026-12-01T14:03:22+00:00).
  • Reads answer {data}. Writes take a JSON body (uploads: multipart) and answer {data, warnings} with the record as it now is.
  • Writes behave like the dashboard: the same rules, history, notifications and permissions. Some writes email, text or mail owners; each endpoint says so.
  • No refunds: refunds happen outside Perfect HOA, so there is no refund endpoint.
Getting started

Errors

Errors are RFC 9457 problem details (application/problem+json). Invalid input lists every field at once, so you can fix them in one go.

422 Unprocessable Content
{
  "type": "https://app.perfecthoa.com/api/problems/validation_failed",
  "title": "Unprocessable Content",
  "status": 422,
  "detail": "Some fields are invalid: unit: This field is required.",
  "errors": [
    {"field": "unit", "message": "This field is required."},
    {"field": "line_items[1].rate", "message": "An amount more than 0, like \"125.00\"."}
  ]
}
StatusTypeWhen
400bad_requestMalformed JSON, a bad query parameter or cursor.
401unauthorizedNo key, or an unknown, revoked or expired one.
403insufficient_scope / forbiddenThe key lacks the scope, or the user lacks the permission.
404not_foundNot found in this community, or not reachable with this key.
409conflictThe record changed meanwhile (a stale expected_status), or the same Idempotency-Key is still in flight.
415unsupported_media_typeA write without a JSON body, or an upload without multipart.
422validation_failedInvalid fields (errors), or the action is not allowed in the record's state.
429rate_limitedRate limited: retry after Retry-After.
Getting started

Pagination

Lists return a page and a cursor. Pass ?limit= (1–100, default 25) and, for the next page, ?cursor= with the next_cursor you received. The last page has "next_cursor": null.

Page
{
  "data": [
    {"id": "7d1c5e2a-…", "status": "pending"},
    …
  ],
  "next_cursor": "eyJ2IjoxLCJrIjpbIjIwMjYtMTEtMTIi…"
}
Getting started

Rate limits

Each API key can make 120 requests per minute, counted over a sliding window. Every response tells you where you stand, so you can slow down before you hit the limit.

HeaderMeaning
RateLimit-LimitRequests allowed per minute (120).
RateLimit-RemainingRequests left in the current window.
RateLimit-ResetSeconds until the window has room again.
Retry-AfterOn a 429 only: seconds to wait before retrying.
429 Too Many Requests
HTTP/1.1 429 Too Many Requests
Content-Type: application/problem+json
Retry-After: 12
RateLimit-Limit: 120
RateLimit-Remaining: 0
RateLimit-Reset: 12

{
  "type": "https://app.perfecthoa.com/api/problems/rate_limited",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Too many requests. Try again in 12 seconds."
}
  • On a 429, wait Retry-After seconds, then retry. Writes are safe to retry with the same Idempotency-Key.
  • Syncing a lot? Use the largest page size (?limit=100) and webhooks instead of polling.
  • Each key has its own limit. An AI assistant's tool call counts as one request.
Getting started

Idempotency

Send an Idempotency-Key header (a UUID) with every write, and always with invoices and payments. If the connection drops, retry with the same key and body: you get the first answer back (Idempotent-Replayed: true) instead of the work being done twice. Keys are kept 24 hours per API key; reusing one with a different body is a 422 idempotency_key_reused.

Header
Idempotency-Key: 4f9d2a7e-1c3b-4e8a-9f61-2b0d8c4e6a19
Reference

Endpoint index

All 156 endpoints, relative to https://app.perfecthoa.com/api/v1.

Account

GET /me
Reference

Account

1 endpoint
GET /api/v1/me

Who am I#

Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/me" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Communities

2 endpoints
GET /api/v1/communities

List communities#

communities:read

The communities this token can reach: the user's (account, security groups), narrowed by the token

Parameters
NameInDescription
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}

Get community#

communities:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Staff

1 endpoint
GET /api/v1/communities/{community}/staff

List staff#

communities:read

Staff who can be assigned work in the community (requests, work orders...): users of the account with access to it, by name. Use their id as "assignee".

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/staff" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Units

11 endpoints
GET /api/v1/communities/{community}/units

Search units#

units:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
qquerytitle/address search
tagquerytag name
has_balancequerytrue|false
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/units/imports/{import}/preview

Preview of a unit#

units:write

Preview a units import: what commit would do, as a summary: counts (to create, to update (same address: the title), unchanged, duplicates in the file, errors, over the unit limit), starting balance totals, the problems (row, field, message; first 50), a sample of the first rows as they will be saved, summary_text, and the commit_token. Creates nothing.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
importrequiredpathId of the import
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units/imports/IMPORT_ID/preview" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/units/{id}

Get a unit#

units:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the unit
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units/UNIT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/units/{id}/ledger

Get unit ledger#

units:readinvoices:read

The unit's ledger, oldest first (running balance). Needs units:read + invoices:read.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the unit
fromquerydates (inclusive)
toquerydates (inclusive)
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units/UNIT_ID/ledger" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/units

Create a unit#

units:write

Create a unit. Refused at the account's unit limit.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
address1required—
cityrequired—
staterequired2-letter US code
ziprequired—
title—
address2—
balancestarting balance, default "0": a positive amount is billed as an "Initial Balance" invoice, a negative one is a credit
balance_datedefault today
tagslist of tag names
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"address1":"string","city":"string","state":"string","zip":"string"}'
POST /api/v1/communities/{community}/units/imports/rows

Rows#

units:write

Stage unit rows for an import. Send a large file in several calls with the returned import_id; rows are numbered across calls. Nothing is created until commit.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
rowsrequired1-250 objects: address1, city, state, zip, title?, address2?, balance? (starting balance owed; negative = credit), balance_date?
import_idadd to that import; omit to start one
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units/imports/rows" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"rows":"string"}'
POST /api/v1/communities/{community}/units/tags

Tag units#

units:write

Add and / or remove tags on one or many units, as the units list's bulk "Add tags" / "Remove tags" do. Tag names match existing tags case-insensitively; new names create a tag; a unit's other tags are never touched. More than 25 units: the first call answers status "needs_confirmation" with the count, a sample and commit_token, and changes nothing; call again with the same body plus commit_token to apply.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
addtag names
removetag names
tagunits with this tag
has_balancetrue: units that owe
alltrue: every unit
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units/tags" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"add":"string"}'
PATCH /api/v1/communities/{community}/units/{id}

Update a unit#

units:write

Edit a unit. Tag names match the community's existing tags case-insensitively; new names create a tag, as on the dashboard. Absent fields are left as they are; the starting balance cannot change (post a payment or an invoice instead). To tag many units at once use POST /units/tags.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the unit
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
anyrequired—
address1required—
address2required—
cityrequired—
staterequired—
ziprequired—
add_tagsrequiredtag names to add; the unit's other tags stay
remove_tagsrequiredtag names to take off
tagsrequiredREPLACES ALL the unit's tags; only when that is really wanted
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units/UNIT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"any":"string","address1":"string","address2":"string","city":"string","state":"string","zip":"string","add_tags":"string","remove_tags":"string","tags":"string"}'
POST /api/v1/communities/{community}/units/imports/{import}/commit

Commit#

units:write

Commit a previewed units import. Long imports answer status "in_progress": call commit again with the same token to continue; a finished import answers its result again.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
importrequiredpathId of the import
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
commit_tokenfrom the preview — or their
theiror commit_token
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units/imports/IMPORT_ID/commit" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"commit_token":"string"}'
POST /api/v1/communities/{community}/units/{id}/transfer-ownership

Transfer unit ownership#

units:writecontacts:write

Transfer ownership of a unit (the dashboard's "Transfer ownership"): replace some or all owners with existing contacts and/or new people, in one transaction. Tenants are never touched; the balance stays with the unit; open collections cases are suspended for review. Needs units:write + contacts:write.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the unit
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
effective_daterequiredtoday or earlier
reasonrequiredsale|inheritance|correction|other
notes—
previous_ownerscontact ids of current owners leaving; the others stay
existing_ownerscontact ids of this community becoming owners
new_ownerslist of {first_name, last_name, email?, phone?}
send_welcome_emaildefault false
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units/UNIT_ID/transfer-ownership" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"effective_date":"2026-12-01","reason":"Second notice ignored"}'
DEL /api/v1/communities/{community}/units/{id}

Delete a unit#

units:write

Move a unit to the trash (scheduled for deletion; recoverable from the dashboard). Its owners are unlinked.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the unit
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/units/UNIT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Contacts

10 endpoints
GET /api/v1/communities/{community}/contacts

Search contacts#

contacts:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
qqueryname/email/phone/company search
typequeryowner|tenant|contact|vendor
unitquery<unit id>
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/contacts" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/contacts/imports/{import}/preview

Preview of a contact#

contacts:write

Preview a contacts import: counts (to create, to update (matched by email), unchanged, merged / duplicate rows, errors), totals (owners, tenants, linked to units, without email / phone), the problems (first 50), a sample, summary_text and the commit_token. Changes nothing.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
importrequiredpathId of the import
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/contacts/imports/IMPORT_ID/preview" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/contacts/{id}

Get a contact#

contacts:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the contact
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/contacts

Create a contact#

contacts:write

Create a contact.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
first_namerequired—
last_namerequired—
typeowner|tenant|contact|vendor, default owner
email—
phone—
company_name—
mailing_address1—
sms_permissionyou have permission to text them
unitsunit ids to link: an owner of those units, a tenant in them, …
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/contacts" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"first_name":"string","last_name":"string"}'
POST /api/v1/communities/{community}/contacts/imports/rows

Rows#

contacts:write

Stage contact rows for an import. The same email on several rows is one contact linked to every unit. Import the units first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
rowsrequired1-250 objects: first_name, last_name, email?, phone?, type? (owner|tenant|contact, default owner), unit? (unit id, title or street address), company_name?, mailing_address1?, mailing_address2?, mailing_city?, mailing_state?, mailing_zip?
import_idadd to that import
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/contacts/imports/rows" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"rows":"owner"}'
PATCH /api/v1/communities/{community}/contacts/{id}

Update a contact#

contacts:write

Edit a contact. Absent fields are left as they are; null clears an optional one. Changing type changes the contact's role on all its units (e.g. owner → tenant).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the contact
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
anyrequired—
last_namerequired—
typerequired—
emailrequired—
phonerequired—
company_namerequired—
mailing_address1required—
mailing_address2required—
mailing_cityrequired—
mailing_staterequired—
mailing_ziprequired—
sms_permissionrequired—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"any":"string","last_name":"string","type":"string","email":"string","phone":"string","company_name":"string","mailing_address1":"string","mailing_address2":"string","mailing_city":"string","mailing_state":"string","mailing_zip":"string","sms_permission":"string"}'
POST /api/v1/communities/{community}/contacts/imports/{import}/commit

Commit#

contacts:write

Commit a previewed contacts import. Same rules as the units commit.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
importrequiredpathId of the import
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
commit_tokenrequired—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/contacts/imports/IMPORT_ID/commit" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"commit_token":"string"}'
DEL /api/v1/communities/{community}/contacts/{id}

Delete a contact#

contacts:write

Delete a contact (soft delete, as on the dashboard): it stops owning its units and loses portal access.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the contact
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Invoices

8 endpoints
GET /api/v1/communities/{community}/invoices

List invoices#

invoices:read

Newest issued first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
statusquerypending|paid|cancelled|missing_contacts|open
unitquery<unit id>
overduequerytrue|false
sourcequeryfine|request|general
issued_fromquerydates (inclusive)
issued_toquerydates (inclusive)
due_fromquerydates (inclusive)
due_toquerydates (inclusive)
qqueryinvoice number / unit / owner name (with
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/invoices" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/invoices/{id}

Get a invoice#

invoices:read

One invoice with its line items, payments (newest first) and applied late fees

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the invoice
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/invoices/INVOICE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/invoices

Create invoices#

invoices:write

Create invoices: one per unit. Answers {data: [invoice], warnings}.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
unitslist of unit ids — or all_units
all_unitsor units
line_itemsrequiredlist of {description, qty?, rate}
termsdue_on_receipt|net_15|net_30|net_60, default due_on_receipt
issue_datedefault today
due_datedefault: issue date + the terms' days
notesshown to the owner
internal_notes—
send_emailemail each invoice to the unit's owners, default true as on the dashboard
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/invoices" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"units":["UNIT_ID"],"line_items":[{"description":"Q1 dues","qty":1,"rate":"300.00"}]}'
PATCH /api/v1/communities/{community}/invoices/{id}

Update an invoice#

invoices:write

Edit an open invoice. A changed total is booked on the unit's ledger as an adjustment, and the owners get the updated invoice email (as on the dashboard). Paid / cancelled invoices are read-only.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the invoice
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
line_itemsreplaces them all
terms—
issue_date—
due_date—
notes—
internal_notes—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/invoices/INVOICE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"line_items":[{"description":"Q1 dues","qty":1,"rate":"300.00"}]}'
POST /api/v1/communities/{community}/invoices/{id}/cancel

Cancel an invoice#

invoices:write

Cancel (void) an open invoice with no payments: its charge is reversed on the unit's ledger and open checkout links stop working. Refused for paid / partly paid invoices (no refunds here) and for invoices in a payment plan.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the invoice
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/invoices/INVOICE_ID/cancel" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
POST /api/v1/communities/{community}/invoices/{id}/payments

Record an invoice payment#

invoices:write

Record a payment received outside the online checkout (check, cash, bank transfer...). The invoice becomes paid once nothing is due. Nothing is charged: this only records money already received.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the invoice
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
referencerequirede.g. "Check #1234"
amountdefault: everything still due; never more
paid_datedefault today
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/invoices/INVOICE_ID/payments" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"reference":"Check #1042"}'
POST /api/v1/communities/{community}/invoices/{id}/reminders

Send an invoice reminder#

invoices:write

Email the unit's owners a reminder of this open invoice. Answers the number of owners it went to.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the invoice
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/invoices/INVOICE_ID/reminders" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
DEL /api/v1/communities/{community}/invoices/{id}

Delete an invoice#

invoices:write

Delete the invoice (soft delete, as on the dashboard). An open invoice's charge is reversed on the unit's ledger and what was paid on it becomes unit credit. 422 when it is in a disbursement or an open payment plan.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the invoice
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/invoices/INVOICE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Payments

1 endpoint
GET /api/v1/communities/{community}/payments

List payments#

invoices:read

Payments on the community's invoices, newest first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
statusquerypending|processing|completed|failed|disputed
unitquery<unit id>
paid_fromquerydates (inclusive, on the payment date)
paid_toquerydates (inclusive, on the payment date)
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/payments" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Recurring invoices

5 endpoints
GET /api/v1/communities/{community}/recurring-invoices

List recurring invoices#

invoices:read

Newest first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
statusqueryactive|ended
frequencyquerymonthly|annually
unitquery<unit id> (schedules that bill that unit, including all-units ones), as the dashboard's recurring invoice filters
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/recurring-invoices" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/recurring-invoices/{id}

Get a recurring invoice#

invoices:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the recurring invoice
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/recurring-invoices/RECURRING_INVOICE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/recurring-invoices

Create a recurring invoice#

invoices:write

Create a schedule. The first invoices are issued on start_date by the nightly run.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
frequencyrequiredmonthly|annually
start_daterequiredthe first issue date, today or later
end_date—
due_after_daysdays from each issue date to its due date, default 0
unitslist of unit ids — or all_units
all_unitsor units
line_itemsrequiredlist of {description, qty?, rate}
terms—
notes—
internal_notes—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/recurring-invoices" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"frequency":"monthly","start_date":"2026-12-01","line_items":[{"description":"Q1 dues","qty":1,"rate":"300.00"}]}'
PATCH /api/v1/communities/{community}/recurring-invoices/{id}

Update a recurring invoice#

invoices:write

Edit a schedule (as the dashboard's recurring invoice edit form). The total is computed from the lines. Invoices already issued are not changed; the next ones follow the new values.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the recurring invoice
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
frequencymonthly|annually
start_dateonly before its first invoice is issued; today or later: the first issue moves with it
end_datenull = no end
due_after_days—
unitslist of unit ids — or all_units
all_unitsor units
line_itemslist of {description, qty?, rate}: replaces all lines
terms—
notes—
internal_notes—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/recurring-invoices/RECURRING_INVOICE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"frequency":"monthly"}'
DEL /api/v1/communities/{community}/recurring-invoices/{id}

Stop a recurring invoice#

invoices:write

Stop a schedule: no further invoices are issued from it. Invoices it already issued are not touched (cancel them one by one if needed).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the recurring invoice
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/recurring-invoices/RECURRING_INVOICE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Collections

4 endpoints
GET /api/v1/communities/{community}/collections-cases

List collections cases#

invoices:read

Newest first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
statusquery<CollectionsCaseResource::STATUSES key>
priorityquerylow|medium|high|urgent
activequerytrue|false
unitquery<unit id>
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/collections-cases" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/collections-cases/{id}

Get a collection#

invoices:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the collection
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/collections-cases/COLLECTION_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/collections-cases/{id}/notes

Add a note to a collections case#

invoices:write

Add a note to the case timeline (as the case page's note box; staff only).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the collection
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
noterequired—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/collections-cases/COLLECTION_ID/notes" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"note":"Owner asked for two more weeks."}'
POST /api/v1/communities/{community}/collections-cases/{id}/stage

Move a collections case to another stage#

invoices:write

Move the case to a stage, as the case page's "Advance Stage". Nothing is sent by the move itself; leaving "suspended" re-arms automatic escalation, whose next stage (and its notice) runs on the next nightly escalation run.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the collection
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
stagerequirednew|pending_review|first_notice_sent| second_notice_sent|final_notice_sent|lien_filed|attorney_referral|legal_action|judgment_obtained|resolved| written_off|suspended
expected_stage409 if the case is no longer at that stage
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/collections-cases/COLLECTION_ID/stage" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"stage":"new"}'
Reference

Requests

10 endpoints
GET /api/v1/communities/{community}/requests

List requests#

requests:read

Newest first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
qquerytitle, number "REQ-12", unit, submitter / owner name or email, description
statusquery<name>
openquerytrue|false
categoryquery<category id or key>
priorityquerylow|normal|high|urgent
unitquery<unit id>
submitted_fromqueryYYYY-MM-DD, community-local days
submitted_toqueryYYYY-MM-DD, community-local days
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/requests/{id}

Get a request#

requests:read

The request with its form answers, current votes, fees, documents and newest activity

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the request
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests/REQUEST_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/requests/{id}/activity

Activity of a request#

requests:read

The request's activity (staff view: internal and resident-visible entries), oldest first within a page; the first page is the newest entries.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the request
cursorquery(activity_next_cursor / next_cursor) walks back to older ones.
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests/REQUEST_ID/activity" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/requests

Create a request#

requests:write

Create a request (staff-created, as from the dashboard).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
unitrequiredid
categoryrequiredid or key
titlerequired—
description—
prioritylow|normal|high|urgent, default: the category's
due_date—
assigneestaff id or "me"
fee_amount—
fee_due_dateneeds the fee permission: issues the fee invoice
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"unit":"UNIT_ID","category":"CATEGORY_ID","title":"Trash cans visible from the street"}'
PATCH /api/v1/communities/{community}/requests/{id}

Update a request#

requests:write

Edit details. Absent fields are left as they are. Assigning someone else or routing to a committee needs the assign permission.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the request
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
title—
description—
categoryid or key
priority—
due_datenull clears
assigneestaff id, "me", or null to unassign
committeeid or null
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests/REQUEST_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street"}'
POST /api/v1/communities/{community}/requests/{id}/attachments

Attachments#

requests:write

Attach files to a request (internal: never shown to the resident). Without files the answer is an upload_url the user opens on their phone to add the files (30 minutes, single use).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the request
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
fileslist of {filename, content_base64}; at most 10 files, 10 MB each and 45 MB together
notean internal note
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests/REQUEST_ID/attachments" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"files":"string"}'
POST /api/v1/communities/{community}/requests/{id}/decision

Record a request decision#

requests:write

Record the decision of a request decided by vote (approvers were asked: see the request's approvals); other requests are approved / declined with POST /status. Needs the approve permission.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the request
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
decisionrequiredapproved|approved_conditions|declined
conditionsrequired for approved_conditions
resident_noteshown to the resident; required to decline
override—
override_notedecide against pending votes
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests/REQUEST_ID/decision" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"decision":"approved"}'
POST /api/v1/communities/{community}/requests/{id}/notes

Add an internal note#

requests:write

Add an internal note (staff only, never shown to the resident).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the request
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
textrequired—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests/REQUEST_ID/notes" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"text":"Called the owner, sending photos."}'
POST /api/v1/communities/{community}/requests/{id}/status

Change request status#

requests:write

Change the status. Approving, declining or reopening needs the approve permission.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the request
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
statusrequiredpending|in_review|awaiting_resident|scheduled_for_review|approved|declined| completed|withdrawn
noterequired by some moves, e.g. declining: shown to the resident
scheduled_review_atscheduled_for_review
expected_statusrefused with 409 if the request is no longer in that status
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests/REQUEST_ID/status" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"status":"pending"}'
DEL /api/v1/communities/{community}/requests/{id}

Delete a request#

requests:write

Delete the request (soft delete, as on the dashboard). Its fee invoices are not touched.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the request
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/requests/REQUEST_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Request categories

1 endpoint
GET /api/v1/communities/{community}/request-categories

List request categories#

requests:read

The categories in effect in the community (active or not), for the.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
categoryqueryfilter
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/request-categories" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Violations

12 endpoints
GET /api/v1/communities/{community}/violations

List violations#

violations:read

Newest first. Each row has template, offense_number and ladder_step (null without a template).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
qquerytitle, number "V-12", unit, owner name
statusquery<name>
openquerytrue|false (active / resolved)
overduequerytrue (active and past the resolution deadline)
unitquery<unit id>
reported_fromqueryYYYY-MM-DD
reported_toqueryYYYY-MM-DD
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/violations/escalation-preview

Escalation preview of a violation#

violations:read

What reporting a violation of a template on a unit would do, without creating anything (the dashboard form's live result): which offense it is within the template's lookback, the earlier violations counted, the ladder step, the fine it invoices (or proposes, when the step requires a hearing) and the status the case moves to.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
unitqueryunit id, required
template_idqueryviolation template id, required
reported_datequery(YYYY-MM-DD, default today).
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/escalation-preview" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/violations/{id}

Get a violation#

violations:read

The violation with its fines, notices sent (email / SMS / letters), evidence names and newest activity. A violation reported from a template also carries template {id, name}, offense_number and ladder_step (the step applied: offense_number, fine_amount, fine_due_days, requires_hearing, proposed_fine while a hearing-required fine is not invoiced yet); all null without a template.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/VIOLATION_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/violations/{id}/activity

Activity of a violation#

violations:read

The violation's activity, oldest first within a page;.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation
cursorquery(activity_next_cursor / next_cursor) walks back
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/VIOLATION_ID/activity" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/violations

Create a violation#

violations:write

Create a violation (as the dashboard's violation form). At least one notification channel is required, as on the dashboard. With template_id the template fills every field the caller leaves out (title, description, resolution_deadline = today + its deadline days, notify_email / notify_sms / notify_letter from its channels, letter_mailing_class) and applies its repeat-offense ladder: the offense number is computed here from the unit's earlier violations of the template within its lookback, and without fine_amount the step's fine is invoiced (a hearing-required step invoices nothing: the case moves to Hearing Scheduled and the fine is only proposed; a fine_amount > 0 on such a step is refused with 422 on fine_amount). A fine_amount (or "0" for no fine) different from the step's is recorded as an override, with override_reason in the case history. The answer carries template, offense_number and ladder_step.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
unitrequiredid
titlerequired without template_id
description—
reported_datedefault today
resolution_deadlinedefault in 14 days
fine_amount—
fine_due_dateissues the fine invoice
notify_emaildefault true
notify_sms—
notify_letter—
letter_mailing_class—
letter_confirmed_costa paid letter: the cost must be confirmed
requesta request id: links the violation as its follow-up
template_ida violation template id, see /violation-templates
override_reasonwith template_id: why fine_amount differs from the template's fine
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"unit":"UNIT_ID"}'
PATCH /api/v1/communities/{community}/violations/{id}

Update a violation#

violations:write

Absent fields are left as they are. A resolved violation is read-only until reopened. Nothing is sent to the owner.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
title—
descriptionnull or "" removes it
resolution_deadlinetoday or later, at most 5 years ahead
deadline_reason—
assigneestaff id, "me", or null to unassign
committeecommittee id, or null to remove it
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/VIOLATION_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street"}'
POST /api/v1/communities/{community}/violations/{id}/attachments

Attachments#

violations:write

Attach files to a violation. Without files the answer is an upload_url the user opens on their phone to add the files (30 minutes, single use).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
fileslist of {filename, content_base64}; at most 10 files, 10 MB each and 45 MB together
notean internal note saved with the files
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/VIOLATION_ID/attachments" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"files":"string"}'
POST /api/v1/communities/{community}/violations/{id}/fines

Fine a violation#

violations:write

Issue a fine: an invoice to the unit (the owner gets the invoice email), recorded on the violation, which moves to fined when it is earlier in the process.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
amountrequired—
due_datedefault today
reason—
notes—
notify_emailalso email the owners a fine notice
force_emailsend that notice even though an email notice went out in the last 24 hours; without it such a call is refused with 409 and nothing is issued
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/VIOLATION_ID/fines" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"amount":"125.00"}'
POST /api/v1/communities/{community}/violations/{id}/notes

Add a violation note#

violations:write

Add an internal note (staff only: the owner never sees it). Allowed on resolved violations too.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
textrequired—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/VIOLATION_ID/notes" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"text":"Called the owner, sending photos."}'
POST /api/v1/communities/{community}/violations/{id}/notices

Send a violation notice#

violations:write

Send the owner a notice on one channel, recorded on the violation. Answers 201 when sent, 202 when a letter may have gone out but could not be confirmed (check the notices before retrying).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
channelrequiredemail|sms|letter
messagedefault: the standard notice text; supports [[variables]] such as [[firstName]]
formattext|html, default text
subjectemail; default "Violation Notice: <title>"
mailing_classletter; default first class
confirmed_costletter: required, the exact cost — a call without it answers 422 with the cost
forcesend even though a notice on this channel went out in the last 24 hours; otherwise 409
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/VIOLATION_ID/notices" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"channel":"email"}'
POST /api/v1/communities/{community}/violations/{id}/status

Change violation status#

violations:write

Change the status. Resolving emails the owners the "violation resolved" email (once a day), as on the dashboard.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
statusrequiredpending|in_review|awaiting_compliance|hearing_scheduled|fined|lien|legal| resolved
noterequired to reopen a resolved violation and to move into lien or legal
expected_statusrefused with 409 if the violation is no longer in that status
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/VIOLATION_ID/status" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"status":"pending"}'
DEL /api/v1/communities/{community}/violations/{id}

Delete a violation#

violations:write

Delete the violation (soft delete, as on the dashboard). Its fine invoices are not touched.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violations/VIOLATION_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Violation templates

2 endpoints
GET /api/v1/communities/{community}/violation-templates

List violation templates#

violations:read

Templates usable in the community, A-Z: name, defaults (description, deadline_days, channels, letter_mailing_class), the repeat-offense ladder (lookback_days, ladder summary, steps).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
qqueryname / description search
scopequerycommunity|account.
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violation-templates" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/violation-templates/{id}

Get a violation template#

violations:read

One template with its defaults and repeat-offense ladder

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation template
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violation-templates/VIOLATION_TEMPLATE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Violation rules

2 endpoints
GET /api/v1/communities/{community}/violation-rules

List violation rules#

violations:read

Rules acting on the community.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
statusquerydraft|pending_review|active|paused|needs_attention|invalid
scopequerycommunity|all_communities
qqueryname / description search.
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violation-rules" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/violation-rules/{id}

Get a violation rule#

violations:read

One rule: what it matches, its actions, daily caps, last run and the last 7 days of activity

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the violation rule
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/violation-rules/VIOLATION_RULE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Work orders

12 endpoints
GET /api/v1/communities/{community}/work-orders

List work orders#

work_orders:read

Newest first. The query is the dashboard list's (WorkOrderRepository::createListQueryBuilder()).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
qquerynumber ("WO-12") / title / unit / vendor / description search
statusqueryand
priorityqueryone or more comma-separated keys
vendorquery<vendor id>|none
unitquery<unit id>
openquerytrue|false
overduequerytrue
created_fromqueryand
created_toqueryand
scheduled_fromquerydates (inclusive, community-local days)
scheduled_toquerydates (inclusive, community-local days)
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/work-orders/{id}

Get a work order#

work_orders:read

With payments, documents (metadata), and the most recent history events

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/work-orders/{id}/history

History of a work order#

work_orders:read

The full history, oldest first

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID/history" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/work-orders

Create a work order#

work_orders:write

Create a work order.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
titlerequired—
description—
unitid; absent / null = common area
vendorid
prioritylow|medium|high|urgent, default medium
statusnew|assigned|in_progress|awaiting_payment; assigned needs a vendor; default new
scheduled_atYYYY-MM-DD or YYYY-MM-DDTHH:MM, community time
estimated_cost—
notify_vendor—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street"}'
PATCH /api/v1/communities/{community}/work-orders/{id}

Update a work order#

work_orders:write

Absent fields are left as they are; all of it in one locked transaction. A completed / cancelled work order only takes completion_notes until reopened.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
title—
description—
unitnull = common area
vendornull removes it
priority—
scheduled_atnull clears it
estimated_costnull clears it
completion_notes—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street"}'
PATCH /api/v1/communities/{community}/work-orders/{id}/payments/{payment}

Correct a work order payment#

work_orders:write

Correct a manual payment. Linked / cheque payments are refused.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
paymentrequiredpathId of the payment
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
amount—
paid_date—
method—
notesnull clears
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID/payments/PAYMENT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"amount":"125.00"}'
POST /api/v1/communities/{community}/work-orders/{id}/attachments

Attachments#

work_orders:write

Attach files to a work order (internal: never shared with the vendor). Without files the answer is an upload_url the user opens on their phone to add the files (30 minutes, single use).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
fileslist of {filename, content_base64}; at most 10 files, 10 MB each and 45 MB together
notean internal note
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID/attachments" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"files":"string"}'
POST /api/v1/communities/{community}/work-orders/{id}/notes

Add a work order note#

work_orders:write

Add an internal note (staff only). Allowed on closed work orders too.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
textrequired—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID/notes" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"text":"Called the owner, sending photos."}'
POST /api/v1/communities/{community}/work-orders/{id}/payments

Record a work order payment#

work_orders:write

Record a payment made to the vendor (bookkeeping only: nothing is paid by this call). Updates the actual cost.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
amountrequired—
paid_daterequireddefault today
methodrequiredcheck|credit_card|debit_card|cash|ach|wire|other
notes—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID/payments" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"amount":"125.00","paid_date":"2026-12-01","method":"check"}'
POST /api/v1/communities/{community}/work-orders/{id}/status

Change work order status#

work_orders:write

Change the status. Assigned needs a vendor.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
statusrequirednew|assigned|in_progress|awaiting_payment|completed|cancelled
noterequired to cancel and to reopen a completed / cancelled work order
expected_statusrefused with 409 if the work order is no longer in that status
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID/status" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"status":"new"}'
DEL /api/v1/communities/{community}/work-orders/{id}

Delete a work order#

work_orders:write

Delete the work order (soft delete, as on the dashboard). Its payments are not touched.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
DEL /api/v1/communities/{community}/work-orders/{id}/payments/{payment}

Remove a work order payment#

work_orders:write

Remove a manual payment recorded by mistake (an audit history row is kept). Linked / cheque payments are refused.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the work order
paymentrequiredpathId of the payment
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/work-orders/WORK_ORDER_ID/payments/PAYMENT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Vendors

5 endpoints
GET /api/v1/communities/{community}/vendors

List vendors#

vendors:read

By name.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
qqueryname/category/email search
categoryqueryexact category
statusqueryactive|inactive
coi_expires_beforequeryYYYY-MM-DD (vendors whose COI expires before that date, expired ones included).
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/vendors" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/vendors/{id}

Get a vendor#

vendors:read

With contacts, documents (metadata), recent work orders and recent work order payments

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the vendor
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/vendors/VENDOR_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/vendors

Create a vendor#

vendors:write

Create a vendor.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
namerequired—
categoryrequired—
statusactive|inactive, default active
website—
contact_nameprimary contact's full name
contact_email—
contact_phone—
address1—
address2—
city—
state—
zip—
country2 letters, default US
notes—
coi_expiration_date—
payment_methodACH Transfer|Check|Credit Card|Wire Transfer|Other
tax_id—
has_w9_on_file—
is_1099_vendor—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/vendors" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Governing documents","category":"CATEGORY_ID"}'
PATCH /api/v1/communities/{community}/vendors/{id}

Update a vendor#

vendors:write

Edit a vendor. Absent fields are left as they are; contact_* update the primary contact (created when missing).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the vendor
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
anyrequired—
categoryrequired—
statusrequired—
websiterequired—
contact_namerequired—
contact_emailrequired—
contact_phonerequired—
address1required—
address2required—
cityrequired—
staterequired—
ziprequired—
countryrequired—
notesrequired—
coi_expiration_daterequired—
payment_methodrequired—
tax_idrequired—
has_w9_on_filerequired—
is_1099_vendorrequired—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/vendors/VENDOR_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"any":"string","category":"CATEGORY_ID","status":"string","website":"string","contact_name":"string","contact_email":"string","contact_phone":"string","address1":"string","address2":"string","city":"string","state":"string","zip":"string","country":"string","notes":"Paid at the office.","coi_expiration_date":"2026-12-01","payment_method":"string","tax_id":"string","has_w9_on_file":"string","is_1099_vendor":"string"}'
DEL /api/v1/communities/{community}/vendors/{id}

Delete a vendor#

vendors:write

Delete a vendor (soft delete, as the dashboard). Its work orders and payments are kept.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the vendor
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/vendors/VENDOR_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Communications

5 endpoints
GET /api/v1/communities/{community}/communications

List communications#

communications:read

Newest first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
channelqueryemail|sms|letter
statusquerypending|ready|printing|sent|delivered|soft_bounce|hard_bounce|failed|cancelled
scheduledquerytrue|false (send date in the future)
fromquerysend dates
toquerysend dates
unitquery<unit id>
qquerysubject search
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/communications" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/communications/{id}

Get a communication#

communications:read

Plain-text body, recipient names (no addresses), attachment names, delivery status

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the communication
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/communications/COMMUNICATION_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/communications/emails

Email a unit's contacts#

communications:write

Email a unit's contacts. Answers the recorded email and any contact the hand-off failed for.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
unitrequiredid
subjectrequired—
messagerequired—
formattext|html, default text
contactscontact ids of the unit; default: every contact of the unit with an email
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/communications/emails" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"unit":"UNIT_ID","subject":"Pool closed Monday","message":"Hi [[firstName]], the pool is closed Monday for repairs."}'
POST /api/v1/communities/{community}/communications/letters

Mail a letter to a unit's contacts#

communications:write

Mail a paid letter (PostGrid, charged to the account wallet) to a unit's contacts, one per contact, as the unit's send-letter page. Answers 201 with the letters sent, `failed` (not sent, nothing charged unless noted) and `unconfirmed` (may have gone out: check Physical Mail before sending again); 202 when no letter was confirmed but some may have gone out; 422 when nothing was sent.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
unitrequiredid
subjectrequired—
messagerequired—
formattext|html, default text
mailing_classdefault first_class
contactscontact ids of the unit; default: every contact of the unit — a contact without an address is mailed at the unit's address
confirmed_costrequiredthe exact TOTAL for all recipients — a call without it answers 422 with the cost
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/communications/letters" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"unit":"UNIT_ID","subject":"Pool closed Monday","message":"Hi [[firstName]], the pool is closed Monday for repairs.","confirmed_cost":"125.00"}'
POST /api/v1/communities/{community}/communications/sms

Text a unit's contacts#

communications:write

Text a unit's contacts (the community's SMS must be enabled). One text per contact; contacts that opted out (STOP) or have no valid number are reported in `failed`. 422 when nothing was sent.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
unitrequiredid
messagerequired10-1200 characters
contactscontact ids of the unit; default: every contact of the unit with a phone
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/communications/sms" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"unit":"UNIT_ID","message":"Hi [[firstName]], the pool is closed Monday for repairs."}'
Reference

Meetings

6 endpoints
GET /api/v1/communities/{community}/meetings

List meetings#

meetings:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
whenqueryupcoming|past (past: newest first)
fromquerydates
toquerydates
categoryqueryboard_meeting|committee_meeting|annual_meeting
qquery—
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/meetings" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/meetings/board-members

List board members#

meetings:read

The community's current board members (ids for action item assignees and decision movers)

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/meetings/board-members" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/meetings/{id}

Get a meeting#

meetings:read

The meeting with agenda, attendees, decisions, action items and minutes; a section the user may not see is null

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the meeting
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/meetings/MEETING_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/meetings/{id}/agenda-items

Add an agenda item#

meetings:write

Add an item at the end of a meeting's agenda.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the meeting
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
titlerequired—
description—
item_typeregular|consent|action| information|discussion|vote|executive_session, default regular
presenterboard member id
planned_duration_minutes1-180
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/meetings/MEETING_ID/agenda-items" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street"}'
POST /api/v1/communities/{community}/meetings/{id}/attendance

Record meeting attendance#

meetings:write

Record a meeting's attendance list. Nobody is notified.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the meeting
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
add_board_memberstrue: put every current board member on the list, invited and absent, as the dashboard's "initialize from board"
attendeeslist of {board_member? | contact? | name? (a guest), rsvp_status? (invited|accepted|declined), attendance_status? (present|absent|late|excused), remove? (true: take the person off the list)}; a person not yet on the list is added
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/meetings/MEETING_ID/attendance" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"add_board_members":"string"}'
POST /api/v1/communities/{community}/meetings/{id}/decisions

Record a meeting decision#

meetings:write

Record a decision of a board meeting.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the meeting
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
titlerequired—
decision_typerequiredmotion_passed|motion_failed|consensus|tabled| deferred
description—
moved_by—
vote_resulte.g. "5-2"
follow_up—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/meetings/MEETING_ID/decisions" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street","decision_type":"motion_passed"}'
Reference

Action items

3 endpoints
POST /api/v1/communities/{community}/action-items

Create a meeting action item#

meetings:write

Create an action item.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
titlerequired—
description—
meetingthe board meeting it came from
assigneeboard member id
prioritylow|normal|high|urgent, default normal
statuspending|in_progress|completed|cancelled, default pending
due_date—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/action-items" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street"}'
PATCH /api/v1/communities/{community}/action-items/{id}

Update a meeting action item#

meetings:write

Update an action item. An assignee without the edit permission may change only the status of their own items.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the action item
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
title—
description—
assigneenull unassigns
priority—
status—
due_datenull clears
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/action-items/ACTION_ITEM_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street"}'
DEL /api/v1/communities/{community}/action-items/{id}

Delete a meeting action item#

meetings:write
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the action item
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/action-items/ACTION_ITEM_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Meeting decisions

1 endpoint
DEL /api/v1/communities/{community}/decisions/{id}

Delete a meeting decision#

meetings:write
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the meeting decision
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/decisions/MEETING_DECISION_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Votes

7 endpoints
GET /api/v1/communities/{community}/votes

List votes#

votes:read

Newest first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
statusquerydraft|active|closed
typequeryboard|committee|property_owners
qquerytitle/description search
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/votes" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/votes/{id}

Get a vote#

votes:read

The vote with its questions and result tallies (no individual ballots)

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the vote
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/votes/VOTE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/votes

Create a vote#

votes:write

Create a vote with its questions in one call (the dashboard's vote wizard). It is saved as a draft unless open is true, which sends it to the voters at once (every eligible voter is emailed a ballot, as the wizard's last step).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
titlerequired—
description—
typerequiredboard|committee|property_owners: who votes
committeecommittee id, required for a committee vote: GET /committees
questionsrequiredlist of {text, type: yes_no|single_choice, options?: list of 2-50 choices for single_choice, required?: default true}
starts_atISO 8601 date-time; without an offset the community's local time
ends_at—
allow_anonymous—
allow_abstain—
require_quorum—
quorum_percentage0-100, required with require_quorum
opendefault false
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/votes" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street","type":"board","questions":"string"}'
PATCH /api/v1/communities/{community}/votes/{id}

Update a draft vote#

votes:write

Edit a draft vote (the wizard allows editing until it is sent). Absent fields are left as they are. 409 once the vote was sent. To send it: POST /votes/{id}/open.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the vote
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
anyrequired—
descriptionrequired—
typerequired—
committeerequired—
questionsrequiredreplaces all of them
starts_atrequired—
ends_atrequired—
allow_anonymousrequired—
allow_abstainrequired—
require_quorumrequired—
quorum_percentagerequired—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/votes/VOTE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"any":"string","description":"Bins left out after collection day.","type":"string","committee":"COMMITTEE_ID","questions":"string","starts_at":"string","ends_at":"string","allow_anonymous":"string","allow_abstain":"string","require_quorum":"string","quorum_percentage":"string"}'
POST /api/v1/communities/{community}/votes/{id}/close

Close a vote#

votes:write

Close an open vote: no more ballots are accepted.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the vote
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/votes/VOTE_ID/close" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
POST /api/v1/communities/{community}/votes/{id}/open

Open a vote#

votes:write

Open a draft vote: it becomes active and the eligible voters are emailed their ballot. Only once.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the vote
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/votes/VOTE_ID/open" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
DEL /api/v1/communities/{community}/votes/{id}

Delete a vote#

votes:write

Delete the vote (soft delete, as on the dashboard).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the vote
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/votes/VOTE_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Events

5 endpoints
GET /api/v1/communities/{community}/events

List events#

events:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
fromquerydates (events overlapping the range, inclusive)
toquerydates (events overlapping the range, inclusive)
whenqueryupcoming|past (past: newest first)
categoryqueryboard_meeting|annual_meeting|committee_meeting|community_party|social_event|maintenance_notice|other
qquery—
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/events" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/events/{id}

Get a event#

events:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the event
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/events/EVENT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/events

Create an event or meeting#

events:write

Create an event or meeting. A meeting category also needs meetings:write. Nobody is notified.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
titlerequired—
categoryrequiredboard_meeting|annual_meeting|committee_meeting|community_party| social_event|maintenance_notice|other or a custom category of the community
event_typerequiredin_person|virtual| hybrid
starts_atrequiredlocal time like 2026-03-01T18:30, no offset
duration_minutesrequired—
location—
address1—
address2—
city—
state—
zip—
description—
save_locationremember the location for later events
repeat{frequency: weekly|monthly|yearly, ends_on?: date}: a recurring series, generated 90 days ahead; the first occurrence is returned
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/events" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street","category":"board_meeting","event_type":"in_person","starts_at":"string","duration_minutes":"string"}'
PATCH /api/v1/communities/{community}/events/{id}

Update an event or meeting#

events:write

Edit an event or meeting (one occurrence of a series: the others are unchanged, as on the dashboard). Absent fields are left as they are.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the event
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
anyrequired—
categoryrequired—
event_typerequired—
starts_atrequired—
duration_minutesrequired—
locationrequired—
address1required—
address2required—
cityrequired—
staterequired—
ziprequired—
descriptionrequired—
save_locationrequired—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/events/EVENT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"any":"string","category":"CATEGORY_ID","event_type":"string","starts_at":"string","duration_minutes":"string","location":"string","address1":"string","address2":"string","city":"string","state":"string","zip":"string","description":"Bins left out after collection day.","save_location":"string"}'
DEL /api/v1/communities/{community}/events/{id}

Delete an event or meeting#

events:write

Delete an event or meeting (one occurrence of a series). A meeting also needs meetings:write.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the event
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/events/EVENT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Amenities

2 endpoints
GET /api/v1/communities/{community}/amenities

List amenities#

events:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
activequerytrue|false
qqueryname/location search
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/amenities" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/amenities/{id}

Get a amenity#

events:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the amenity
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/amenities/AMENITY_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Amenity reservations

4 endpoints
GET /api/v1/communities/{community}/amenity-reservations

List amenity reservations#

events:read

Oldest first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
amenityquery<amenity id>
unitquery<unit id>
statusquerypending|confirmed|denied|cancelled|completed
fromquerydates (reservations overlapping the range, inclusive)
toquerydates (reservations overlapping the range, inclusive)
whenqueryupcoming|past (past: newest first)
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/amenity-reservations" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/amenity-reservations/{id}

Get a amenity reservation#

events:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the amenity reservation
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/amenity-reservations/AMENITY_RESERVATION_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/amenity-reservations

Reserve an amenity#

events:write

Reserve an amenity for a unit.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
amenityrequiredamenity id
unitrequiredunit id
contactcontact id
starts_atrequired—
ends_atrequiredthe community's local date and time like 2026-07-04T14:00, no offset
party_size—
notes—
email_invoicedefault true, as the dashboard: when the amenity has a fee, the unit's invoice is emailed
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/amenity-reservations" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"amenity":"string","unit":"UNIT_ID","starts_at":"string","ends_at":"string"}'
POST /api/v1/communities/{community}/amenity-reservations/{id}/status

Approve, deny or cancel a reservation#

events:write

Approve, deny or cancel a reservation. No refund is made for a paid fee.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the amenity reservation
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
actionrequiredapprove: pending → confirmed | deny: pending → denied | cancel: pending or confirmed → cancelled
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/amenity-reservations/AMENITY_RESERVATION_ID/status" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"action":"string"}'
Reference

Documents

6 endpoints
GET /api/v1/communities/{community}/documents

List documents#

documents:read

Newest first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
folderquery<folder id>|root (direct contents)
categoryquerygoverning|financial|minutes|policies|architectural|general
qquerytitle/file name/description search
starredquerytrue (starred by the token's user)
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/documents" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/documents/{id}

Get a document#

documents:read

Metadata + download_url: a presigned S3 link valid DOWNLOAD_URL_TTL seconds (download_url_expires_at)

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the document
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/documents/DOCUMENT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/documents

Upload a document#

documents:write

Upload one file. Images are re-encoded without their metadata; types and size are checked as on the dashboard.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body multipart/form-data
FieldDescription
filerequired—
folderfolder id; default the top level
title—
description—
visibility—
on_duplicatereplace|keep_both|skip
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/documents" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -F "file=@bylaws.pdf" -F "title=Bylaws 2026"
POST /api/v1/communities/{community}/documents/base64

Upload a document#

documents:write

Upload one file sent as base64 in a JSON body (for clients that can't send multipart, e.g. an AI over MCP). At most 10 MB decoded (or the multipart limit if lower), with the same type, content and size checks as the dashboard and the multipart upload.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
filenamerequiredwith its extension, like Bylaws 2026.pdf
content_base64requiredthe file's bytes in standard base64; a data URI prefix is accepted
folderfolder id; default the top level
title—
description—
visibility—
on_duplicatereplace|keep_both|skip
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/documents/base64" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"filename":"string","content_base64":"string"}'
PATCH /api/v1/communities/{community}/documents/{id}

Update a document#

documents:write

Change a document.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the document
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
title—
description—
visibility—
folderfolder id, or null for the top level
on_duplicate—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/documents/DOCUMENT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Trash cans visible from the street"}'
DEL /api/v1/communities/{community}/documents/{id}

Trash a document#

documents:write

Move a document to the trash (restorable from the dashboard's Trash for the retention period).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the document
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/documents/DOCUMENT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Document folders

4 endpoints
GET /api/v1/communities/{community}/document-folders

List document folders#

documents:read

The whole live folder tree, roots first (each node: children + its direct document count)

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/document-folders" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/document-folders

Create a document folder#

documents:write

Create a folder.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
namerequired—
parentfolder id; default the top level
visibility—
on_duplicate—
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/document-folders" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Governing documents"}'
PATCH /api/v1/communities/{community}/document-folders/{id}

Update a document folder#

documents:write

Change a folder.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the document folder
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
name—
visibility—
parentfolder id, or null for the top level
on_duplicate—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/document-folders/DOCUMENT_FOLDER_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Governing documents"}'
DEL /api/v1/communities/{community}/document-folders/{id}

Trash a document folder#

documents:write

Move a folder and everything in it to the trash (restorable from the dashboard for the retention period).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the document folder
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/document-folders/DOCUMENT_FOLDER_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Bank accounts

2 endpoints
GET /api/v1/communities/{community}/bank-accounts

List bank accounts#

banking:read

Disconnected (inactive) accounts are listed too, as on the dashboard.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
activequerytrue|false
fundqueryoperating|reserve
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/bank-accounts" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/bank-accounts/{id}

Get a bank account#

banking:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the bank account
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/bank-accounts/BANK_ACCOUNT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Transactions

6 endpoints
GET /api/v1/communities/{community}/transactions

List bank transactions#

banking:read

Newest first. The category of a transaction split across categories is null: is_split is true and each line of splits has its category, amount (positive), direction, percent (set when split by percent) and memo.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
bank_accountquery<id>
fromquerydates (inclusive)
toquerydates (inclusive)
categoryquery<category uuid> (and its subcategories; any line of a split)
uncategorizedquerytrue (not splits)
min_amountqueryabsolute amount
max_amountqueryabsolute amount
directionqueryin|out
qqueryname/merchant search
reviewedquerytrue|false
statusquerypending|posted
reconciledquerytrue|false
unitquery<unit id>
vendorquery<vendor id>
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/transactions" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/transactions/{id}

Get a transaction#

banking:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the transaction
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/transactions/TRANSACTION_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/transactions

Add a manual bank transaction#

banking:write

Add a manual transaction to a bank account (the dashboard's "Add transaction" form): it moves the account's book balance (and the bank balance of a manual account).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
bank_accountrequiredid
namerequired—
amountrequiredpositive
daterequired—
accounting_typeincome|expense|transfer|asset|liability, default: the category's; one of the two is required
directionin|out, any type, e.g. in with expense for a refund; default: in for income, else out; required for a transfer or with splits
categorytransaction category id
splitsinstead of category and accounting_type: 2 to 10 lines of {category: id, amount or percent, memo?}, as in PUT /transactions/{id}/split
merchant_name—
vendorid
work_orderid of an open work order of that vendor: an expense going out records a payment on it, or is matched to the one payment of that amount the work order already has
work_order_paymentthe work order's payment id this transaction is, or "new" for another payment: needed when the work order already has payments it may be
unitid: money in is posted to the unit's ledger as an unapplied payment
invoiceid of a pending invoice of that unit: the amount is applied as a payment
link_onlyincome with a unit and no invoice: already paid online with Stripe, link only
revieweddefault false: it lands in the review queue
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/transactions" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"bank_account":"string","name":"Governing documents","amount":"125.00","date":"string"}'
POST /api/v1/communities/{community}/transactions/{id}/category

Categorize a bank transaction#

banking:write

Set a transaction's category (as the register's category picker). The accounting type follows the category. A pending transaction can't be changed, nor a split one without replace_split (409); nor can the accounting type of a manual transaction on a unit's ledger, an invoice or a work order (unlink it first).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the transaction
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
categoryrequiredtransaction category id
reviewedtrue also accepts it out of the review queue
create_ruletrue: also save a rule "description contains <this transaction's name>" on its bank account with this category / vendor / unit / accounting type, as the dashboard's "create rule for similar transactions"
rule_namedefault: the merchant or name
apply_to_existingwith create_rule, default true: run the rules on the unreviewed transactions now
replace_splittrue: a transaction split across categories loses its lines and gets this one category
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/transactions/TRANSACTION_ID/category" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"category":"CATEGORY_ID"}'
PUT /api/v1/communities/{community}/transactions/{id}/split

Split a bank transaction across categories#

banking:write

Split a transaction across categories, replacing its category or current lines (the dashboard's Split editor). The transaction's amount doesn't change; its category becomes null and reports count each line under its own category. 409: a pending transaction, or lines that would change the accounting type of a manual transaction on a unit's ledger, an invoice or a work order (unlink it first).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the transaction
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
splitsrequired2 to 10 lines of {category: id, amount or percent, memo?}; every line has an amount, or every line has a percent; amounts are in the transaction's direction and add up to its amount, a negative one reduces it, e.g. 1000.00 dues and -30.00 fees of a 970.00 deposit; percents are positive and add up to 100
reviewedtrue also accepts it out of the review queue
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PUT "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/transactions/TRANSACTION_ID/split" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"splits":[{"category":"CATEGORY_ID","percent":"60"},{"category":"CATEGORY_ID","percent":"40"}]}'
DEL /api/v1/communities/{community}/transactions/{id}/split

Remove a transaction's split#

banking:write

Remove a transaction's split. The amount and direction don't change. 409 when it is not split or is pending, or when the category's accounting type would change a manual transaction on a unit's ledger, an invoice or a work order (unlink it first).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the transaction
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
categorytransaction category id; left out: uncategorized
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/transactions/TRANSACTION_ID/split" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"category":"CATEGORY_ID"}'
Reference

Transaction categories

1 endpoint
GET /api/v1/communities/{community}/transaction-categories

List transaction categories#

banking:read

The active categories a transaction can be filed under: the system ones and this account's custom ones.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
typequeryincome|expense|transfer|asset|liability
qqueryname search.
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/transaction-categories" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Checks

2 endpoints
GET /api/v1/communities/{community}/cheques

List cheques#

banking:read

Mailed cheques, newest first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
statusquery<cheque status>
vendorquery<vendor id>
fromquerycreated dates (inclusive).
toquerycreated dates (inclusive).
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/cheques" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/cheques/{id}

Get a check#

banking:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the check
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/cheques/CHECK_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Budgets

5 endpoints
GET /api/v1/communities/{community}/budgets

List budgets#

budgets:read

Latest fiscal year first.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
fiscal_yearqueryYYYY (the year the budget starts in)
statusquerydraft|active|completed|archived (archived budgets are hidden unless asked for, as on the dashboard).
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/budgets" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/budgets/{id}

Get a budget#

budgets:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the budget
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/budgets/BUDGET_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
POST /api/v1/communities/{community}/budgets

Create a draft budget#

budgets:write

Create a draft budget. The budget stays a draft until activated.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
namerequired—
start_daterequired—
end_daterequiredafter start_date
description—
line_itemslist of {type (revenue|expense), category (transaction category id: an income category for revenue, an expense or reserve / capital (asset) one for expense), amount (annual), fund? (operating|reserve, default operating), phasing? (even|seasonal|manual, default even), monthly_amounts? (seasonal / manual: one amount per month of the period; manual ones must add up to the amount)}
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/budgets" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Governing documents","start_date":"2026-12-01","end_date":"2026-12-01"}'
PATCH /api/v1/communities/{community}/budgets/{id}

Update a budget#

budgets:write

Edit a budget, as the dashboard's budget edit form. Absent fields are left as they are.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the budget
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
name—
description—
start_date—
end_date—
line_itemssame shape as on create; REPLACES all the lines
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/budgets/BUDGET_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Governing documents"}'
POST /api/v1/communities/{community}/budgets/{id}/activate

Activate a budget#

budgets:write

Make this the community's active budget (the dashboard's "Activate"): the budget reports compare against it, and the previously active budget becomes completed. It sends nothing and bills nothing. No body.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the budget
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/budgets/BUDGET_ID/activate" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Reserve components

2 endpoints
GET /api/v1/communities/{community}/reserve-components

List reserve components#

budgets:read

By name.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
activequerytrue|false (both by default, as on the dashboard).
limitqueryPage size, 1–100 (default 25)
cursorqueryThe next_cursor of the previous page
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/reserve-components" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/reserve-components/{id}

Get a reserve component#

budgets:read
Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the reserve component
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/reserve-components/RESERVE_COMPONENT_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Reports

3 endpoints
GET /api/v1/communities/{community}/reports/balance-sheet

Balance sheet of a report#

reports:read

Balance sheet by fund (operating / reserve) at the end of.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
as_of_datequeryYYYY-MM-DD (default today, in the community's timezone): book balances of the bank accounts, receivables and prepaid assessments (unit ledgers) all as of that date, and equity as fund balance at the end of the prior fiscal year, net income of the fiscal year to date (fiscal_year_start), transfers between funds, receivables net of prepaid and any reconciling items; difference is what those do not explain. roll_forward shows prior closing equity through to closing equity; balanced is true when it ties out. 400 for a past date before the books start.
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/reports/balance-sheet" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/reports/budget-vs-actual

Budget vs actual of a report#

reports:read

Budget vs actual: each budget line against the bank transactions of the budget's period, grouped by primary category, revenue and expenses, plus unbudgeted categories that had activity. fund is the budget line's fund (a category can have one line per fund). reserve_contributions: the reserve-fund revenue lines against the money that reached the reserve accounts; its transfers are not income and not in the totals.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
budgetquery<uuid> (default: the budget covering today, else the latest active one, else the latest completed one; "budget": null when none).
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/reports/budget-vs-actual" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
GET /api/v1/communities/{community}/reports/delinquency

Delinquency of a report#

reports:read

Delinquency (aging) of every unit with a positive ledger balance, largest balance first, with totals. Buckets by days past due of the amount still due: current (not yet due, or a balance with no invoice behind it), days_1_30, days_31_60, days_over_60; unapplied credit pays the oldest invoices first, so a row adds up to the unit's balance. past_due = the three overdue buckets and current + past_due = total. Aged as of today in the community's timezone.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
min_balancequery123.45 (only units owing at least that much; totals follow).
Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/reports/delinquency" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

OpenAPI

1 endpoint
GET /api/v1/openapi.json

Openapi.json of a openapi#

OpenAPI 3.1 description of this API, generated from the routes (any valid token)

Responses
200 {data: {...}}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/openapi.json" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Transaction rules

1 endpoint
POST /api/v1/communities/{community}/transaction-rules/run

Run categorization rules#

banking:write

Run the active categorization rules on every unreviewed transaction now (the rules page's "Run rules now"). A matching rule sets the category / accounting type, fills a blank vendor / unit and accepts the transaction. No body. Answers {data: {applied: <transactions changed>}}.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 / 201 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X POST "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/transaction-rules/run" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"
Reference

Committees

1 endpoint
GET /api/v1/communities/{community}/committees

List committees#

communities:read

The community's committees, by name: use their id as "committee" on votes and requests. Needs the view committees permission (and the communities:read scope).

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
Responses
200 A page: {data: [...], next_cursor}
4XX Problem: 401, 403 (scope / permission), 404
429 Rate limited: retry after Retry-After
Example request
curl "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/committees" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN"
Reference

Agenda items

2 endpoints
PATCH /api/v1/communities/{community}/agenda-items/{id}

Update an agenda item#

meetings:write

Edit an agenda item.

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the agenda-item
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Request body application/json
FieldDescription
anyrequired—
descriptionrequired—
item_typerequired—
presenterrequired—
planned_duration_minutesrequired—
Responses
200 {data: {...}, warnings: [...]} — the record as it now is
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X PATCH "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/agenda-items/AGENDA-ITEM_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"any":"string","description":"Bins left out after collection day.","item_type":"string","presenter":"string","planned_duration_minutes":"string"}'
DEL /api/v1/communities/{community}/agenda-items/{id}

Remove an agenda item#

meetings:write

Remove an item from a meeting's agenda

Parameters
NameInDescription
communityrequiredpathCommunity id (GET /communities)
idrequiredpathId of the agenda-item
Idempotency-KeyheaderA UUID: a retry with the same key and body returns the first answer instead of repeating the write (24 hours).
Responses
200 {data: {id, deleted: true}, warnings}
4XX Problem: 403, 404, 409 (changed meanwhile), 422 {errors: [{field, message}]}
429 Rate limited: retry after Retry-After
Example request
curl -X DELETE "https://app.perfecthoa.com/api/v1/communities/COMMUNITY_ID/agenda-items/AGENDA-ITEM_ID" \
  -H "Authorization: Bearer $PERFECTHOA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"