Perch docs

Connect your system

Sign in through Clerk, hand Perch a message, then read one message or poll for changes. A person still reviews and sends every reply.

Start browser sign-in

Run the first curl call below. It returns a short code, a browser address, a device_code, an expiry and a polling interval. Show the short code and browser address to the invited workspace account holder. The code expires after 10 minutes.

curl -sS -X POST 'https://subtle-panda-5547.clerk.accounts.dev/oauth/device_authorization' -H 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'client_id=FNf0knW9UghQKwFV' --data-urlencode 'scope=offline_access'

Receive the signed pass

After the person approves in the browser, run the second curl call at the returned interval. Until approval, the endpoint answers authorization_pending. Replace DEVICE_CODE with the value from the first response.

curl -sS -X POST 'https://subtle-panda-5547.clerk.accounts.dev/oauth/token' -H 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'grant_type=urn:ietf:params:oauth:grant-type:device_code' --data-urlencode 'client_id=FNf0knW9UghQKwFV' --data-urlencode 'device_code=DEVICE_CODE'

Store the access and refresh tokens in the operating-system keychain or your server's secret store. If a file is unavoidable, use mode 0600. Never put a token in a URL or log. Delete both stored tokens when disconnecting.

Questions about setup or a connection

What we expect: email perch@gofactai.com with a short description of your firm, the work you want help with and the software you use. Keep customer records out of this first message.

What comes back: a human reply about the next step. We agree the setup scope before connecting Gmail and Google Calendar with the team. Setup is separate from ongoing help. Every plan includes help by email, the self-serve guide and about 1 hour of human help a month. Plus includes about 2 hours of human help a month in total and priority support with a same-business-day first reply.

For an agent: prepare the question for your person to review. These docs do not grant permission to send email, connect an account or share records.

Keep the connection current

The signed access token lasts about one day. When Perch returns token_expired, use the same token endpoint with grant_type=refresh_token and the stored refresh token. A person who has not signed in to Perch for 30 days must use the browser flow again.

Every API call sends the access token as Authorization: Bearer TOKEN. Removing the person from the workspace or locking their sign-in stops the next call. Only a workspace account holder can connect a system.

Use the three calls

POST https://perch.gofactai.com/api/v1/messages hands Perch a message. Include Content-Type: application/json and an Idempotency-Key. Send from.email and text; from.name, subject, received_at and conversation are optional.

GET https://perch.gofactai.com/api/v1/messages/{id} reads one message. GET https://perch.gofactai.com/api/v1/messages?updated_after=<date-time> returns up to 50 messages that changed after that time. The complete shapes are in https://perch.gofactai.com/openapi.json.

Nothing sends by itself

The API can hand work to Perch and read its status. It cannot approve or send a reply. The source message stays beside the prepared draft in the workspace. A person checks the wording and recipient, then clicks Send.

Status is received, working, in_review, replied or closed. A replied message includes the exact subject and text the team sent. Responses use application/problem+json when a call fails.

From reading to doing

See how it works with a sample property.

Ask us about your firm's work before you decide. No commitment needed.

Want to try it?

Try the demo →

No credit card. Joining is free and is not a purchase.

The real Perch answer and cited source
Actual Perch Compliance Desk output with entry-notice explanation and Residential Tenancy Act section 29 quoted.

Screenshot from Perch, with punctuation adjusted. Law as of September 22, 2026.