Skip to main content
query GetEngagement($id: EngagementGID!) {
  engagement(id: $id) {
    createdAt
    id
    owner
    shortId
    type
    clients {
      email
      firstName
      lastName
      middleName
      phoneNumber
    }
    ... on PurchaseEngagement {
      closingDate
      property {
        address {
          city
          country
          latitude
          longitude
          postalCode
          province
          shortTitle
          street
          title
          unitNumber
        }
      }
      status {
        state
      }
    }
    ... on RefinanceEngagement {
      closingDate
      property {
        address {
          city
          country
          latitude
          longitude
          postalCode
          province
          shortTitle
          street
          title
          unitNumber
        }
      }
      status {
        state
      }
    }
  }
}
{
  "data": {
    "engagement": {
      "createdAt": "2025-01-15T10:30:00Z",
      "id": "gid://ownright/Engagement/1",
      "owner": "Jane Doe",
      "shortId": "ABC-123",
      "type": "PURCHASE",
      "clients": [
        {
          "email": "[email protected]",
          "firstName": "Jane",
          "lastName": "Doe",
          "middleName": "M",
          "phoneNumber": "+14165551234"
        }
      ],
      "closingDate": "2025-06-15",
      "property": {
        "address": {
          "city": "Toronto",
          "country": "CANADA",
          "latitude": 1,
          "longitude": 1,
          "postalCode": "M5V 1A1",
          "province": "ALBERTA",
          "shortTitle": "123 Main St, Toronto",
          "street": "123 Main St",
          "title": "123 Main St, Toronto",
          "unitNumber": "Suite 100"
        }
      },
      "status": {
        "state": "CANCELLED"
      }
    }
  }
}

Query field

engagement

Arguments

id
EngagementGID!
required
The GID of the engagement.

Return fields

engagement
Engagement
Retrieve a single engagement by GID.

Types

enum EngagementType {
  PURCHASE # A purchase engagement.
  REFINANCE # A refinance engagement.
}

scalar EngagementGID # A global identifier for a Engagement object in format of 'gid://ownright/Engagement/ID'.
scalar ISO8601DateTime # An ISO 8601-encoded datetime