> ## Documentation Index
> Fetch the complete documentation index at: https://dev.ownright.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Referrals and matters

> The two foundational objects that play a critical role in the Partner API

Understanding how referrals and matters work is essential to integrating with the
Ownright Developer Platform. These are the two foundational objects that represent
the lifecycle of a real estate legal transaction — from initial client handoff to final
legal completion.

## 🧩 The real-world analogy

Think of a **referral** as a warm introduction — you or your product has identified someone
who needs real estate legal support, and you’re handing them off to Ownright to help with
their transaction.

Once that referral is accepted and the client agrees to move forward, it becomes a **matter** —
the actual legal file that our team opens, works on, and completes.

These two stages mirror the real-world journey of a client:

<img className="block dark:hidden" src="https://mintcdn.com/ownright/cBk3jx2Y8ffkeScD/images/real-world-analogy-light.png?fit=max&auto=format&n=cBk3jx2Y8ffkeScD&q=85&s=f0aa4aa0e9e4ec88effc21b41eec2422" alt="Real World Analogy Light" width="2064" height="1104" data-path="images/real-world-analogy-light.png" />

<img className="hidden dark:block" src="https://mintcdn.com/ownright/cBk3jx2Y8ffkeScD/images/real-world-analogy-dark.png?fit=max&auto=format&n=cBk3jx2Y8ffkeScD&q=85&s=59ff3aea899b7e5cbe1a76102fedb687" alt="Real World Analogy Dark" width="2064" height="1104" data-path="images/real-world-analogy-dark.png" />

### Why we modeled it this way

Real estate transactions are complex, dynamic, and timeline-sensitive.
We’ve structured the referral and matter models to reflect how legal work happens in the real world:

<ol>
  <li>
    **Separation of referral vs matter** helps partners track both pipeline and
    active files
  </li>

  <li>
    **Status-driven lifecycles** allow for clear communication and automation
  </li>

  <li>
    **Granular types and transitions** give you transparency and actionable
    insights throughout the transaction
  </li>
</ol>

## 🤝 Referrals

A **referral** is your way of introducing a potential client to Ownright. It contains basic
information about the client, the type of matter, and any contextual details.

Once a referral is submitted, our client success team attempts to contact the client,
confirm matter details, and determine if the matter is serviceable.

Right now, Ownright supports accepting four different types of referrals:

<ol>
  <li>Purchase - a purchase where your client is the purchaser.</li>
  <li>Sale - a sale where your client is the seller.</li>
  <li>Refinance - a refinance where your client is the borrower.</li>

  <li>
    Status Certificate Review - a status certificate review where your client is
    the prospective purchaser.
  </li>
</ol>

### Referral lifecycle

A referral has a relatively straightforward lifecycle:

<img className="block dark:hidden" src="https://mintcdn.com/ownright/cBk3jx2Y8ffkeScD/images/referral-lifecycle-light.png?fit=max&auto=format&n=cBk3jx2Y8ffkeScD&q=85&s=1c3560b3de42e07fcfb979cef34b4836" alt="Referral Lifecycle Light" width="2064" height="1104" data-path="images/referral-lifecycle-light.png" />

<img className="hidden dark:block" src="https://mintcdn.com/ownright/cBk3jx2Y8ffkeScD/images/referral-lifecycle-dark.png?fit=max&auto=format&n=cBk3jx2Y8ffkeScD&q=85&s=dd22df703367ba6ee55a006794d31681" alt="Referral Lifecycle Dark" width="2064" height="1104" data-path="images/referral-lifecycle-dark.png" />

<ol>
  <li>
    **Open** - The referral has been received and is awaiting contact or
    qualification.
  </li>

  <li>
    **Converted** - The referral was successful — the client has agreed and a
    matter has been created.
  </li>

  <li>
    **Retired** - The referral is closed without conversion. This can happen if
    the client chose another provider, the transaction is no longer proceeding,
    or Ownright could not service it.
  </li>
</ol>

<Info>
  Every referral object returned in the API includes a `status` field to
  indicate where it stands in its lifecycle. Similarly you can subscribe to
  webhook events to get notified about changes to a referral's status. It is
  possible for a referral to be reopened after it has been marked converted or
  retired. Read the [Partner API Reference](/partner-api/reference/connecting)
  to better understand the structure of a referral object.
</Info>

## 🏡 Matters

A matter represents an active legal file. This is where real legal work happens: title searches, document signing, registration, and more.
Each matter is handled by our legal team and tracked within the Ownright platform.

It is not surprising that Ownright supports the same kind of matters as it does referrals, this is because referrals feed into matters.
To reiterate, the currently supported matters are purchase, sale, refinance, and status certificate reviews.

### Purchase, sale, and refinance lifecycle

Purchases, sales, and refinances all share the same lifecycle (for now):

<img className="block dark:hidden" src="https://mintcdn.com/ownright/cBk3jx2Y8ffkeScD/images/matter-lifecycle-light.png?fit=max&auto=format&n=cBk3jx2Y8ffkeScD&q=85&s=c24d5135020834064333c60d54706f21" alt="Matter Lifecycle Light" width="2064" height="1104" data-path="images/matter-lifecycle-light.png" />

<img className="hidden dark:block" src="https://mintcdn.com/ownright/cBk3jx2Y8ffkeScD/images/matter-lifecycle-dark.png?fit=max&auto=format&n=cBk3jx2Y8ffkeScD&q=85&s=c07e2d263e108d1bad80a4e7d68cbe96" alt="Matter Lifecycle Dark" width="2064" height="1104" data-path="images/matter-lifecycle-dark.png" />

<ol>
  <li>
    **Before closing** - The file has been opened and legal prep is underway.
  </li>

  <li>
    **Closing in progress** - We’re actively handling closing day tasks —
    registration, etc.
  </li>

  <li>
    **After closing** - The matter has closed, but post-closing tasks (e.g.,
    reporting, final communication) are being finalized.
  </li>

  <li>**Completed** - The legal work is fully done.</li>
  <li>**Abandoned** - The matter fell through or was cancelled.</li>
</ol>

### Status certificate review lifecycle

Status certificate reviews are slightly different from the other types of matters:

<img className="block dark:hidden" src="https://mintcdn.com/ownright/cBk3jx2Y8ffkeScD/images/status-certificate-review-lifecycle-light.png?fit=max&auto=format&n=cBk3jx2Y8ffkeScD&q=85&s=f77d330cfc4348dec4385d81310bcc6b" alt="Status Certificate Review Lifecycle Light" width="2064" height="1104" data-path="images/status-certificate-review-lifecycle-light.png" />

<img className="hidden dark:block" src="https://mintcdn.com/ownright/cBk3jx2Y8ffkeScD/images/status-certificate-review-lifecycle-dark.png?fit=max&auto=format&n=cBk3jx2Y8ffkeScD&q=85&s=fca673e6747ca960967eaae2e03af85e" alt="Status Certificate Review Lifecycle Dark" width="2064" height="1104" data-path="images/status-certificate-review-lifecycle-dark.png" />

<ol>
  <li>**In Progress** - The review is underway by our team.</li>
  <li>**Completed** - The review has been completed.</li>

  <li>
    **Abandoned** - Review was cancelled, withdrawn, or otherwise stopped.
  </li>
</ol>

## 🚀 Ready to go!

By understanding referrals and matters, you’re equipped to guide your clients through every step
of the closing journey, while keeping your systems in sync with the legal work being done by Ownright
behind the scenes.

## Next steps

<CardGroup cols={2}>
  <Card title="Making referrals" icon="paper-plane" href="/partner-api/guides/making-referrals">
    Start sending clients to Ownright programmatically by creating a referral.
  </Card>

  <Card title="Authentication" icon="lock" href="/fundamentals/authentication">
    Understand how to authenticate your requests to the Partner API.
  </Card>
</CardGroup>
