> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.fortresstech.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.fortresstech.io/_mcp/server.

# Read Prospect Leslie Configuration

GET https://api.fortresstech.io/v1/prospects/{prospectId}/leslieConfiguration

Available by RequestRead whether the Leslie integration is enabled for a specific prospect. If no configuration has been saved for the prospect yet, a default of `enabled: true` (and `effectiveEnabled: true`) is returned. Integrations should use `effectiveEnabled`, which accounts for a disabled quiet period (`disabledUntil`) that has since elapsed even though `enabled` still reflects the last saved value until it is explicitly re-enabled.This endpoint is part of our evolving API ecosystem.
To explore availability for your integration, please contact our team.

Reference: https://developer.fortresstech.io/api-reference/prospects/read-prospect-leslie-configuration

## Request

### Path parameters

- `prospectId` (string, required) — The id of the prospect

## Response

### 200

Expected response to a valid request

- `id` (string, optional, nullable)
- `prospectId` (string, optional)
- `enabled` (boolean, optional) — Whether the Leslie integration is enabled for this prospect.
- `effectiveEnabled` (boolean, optional) — The value integrations should act on. This accounts for any quiet period that has since ended, and may differ from the raw `enabled` value.
- `isInQuietPeriod` (boolean, optional) — Whether a disabled quiet period is currently active for this prospect.
- `disabledReason` (string, optional, nullable)
- `disabledById` (string, optional, nullable)
- `disabledAt` (datetime, optional, nullable)
- `disabledUntil` (datetime, optional, nullable)
- `createdAt` (datetime, optional, nullable)
- `updatedAt` (datetime, optional, nullable)
- `prospect` (schemas-Base, optional)

## Types

### schemas-Base

- `firstName` (string, optional)
- `middleName` (string, optional)
- `lastName` (string, optional)
- `phone` (string, optional)
- `email` (string, optional)
- `referralSource` (string, optional)
- `propertyId` (string, optional)
- `organizationId` (string, optional)
- `assignedUserId` (string, optional)
- `prospectStatusId` (string, optional)
- `isPrimaryProspect` (boolean, optional, nullable) — Whether this prospect is the primary prospect — the household member Fortress marks as Primary on the application the prospect converted into. `false` means the prospect is a non-primary member of that household. `null` means the status cannot be determined: the prospect has not been converted to an applicant, so there is no household membership to read it from. The export pipeline omits null columns, so an undetermined prospect is returned without this key — treat a missing `isPrimaryProspect` as `null`.
- `portalInviteUrl` (string, optional, nullable) — The prospect's own resident portal link, to send them so they can register and apply. While the prospect's portal account is unclaimed this is the claim link; once claimed it is the property's portal login link. `null` (and omitted from the record) until a portal account exists for the prospect — call `POST /prospects/{prospectId}/portal-invitation` to create one — or when the resident portal is not active for the property. The claim link lets whoever holds it set the account password, so send it only to the prospect.
- `id` (string, optional)
- `readableId` (string, optional)
- `idempotencyId` (string, optional)
- `createdAt` (datetime, optional)
- `updatedAt` (datetime, optional)

## Examples

**Response**

```json
{
  "id": "string",
  "prospectId": "string",
  "enabled": true,
  "effectiveEnabled": true,
  "isInQuietPeriod": true,
  "disabledReason": "string",
  "disabledById": "string",
  "disabledAt": "2024-01-15T09:30:00Z",
  "disabledUntil": "2024-01-15T09:30:00Z",
  "createdAt": "2024-01-15T09:30:00Z",
  "updatedAt": "2024-01-15T09:30:00Z",
  "prospect": {
    "firstName": "string",
    "middleName": "string",
    "lastName": "string",
    "phone": "string",
    "email": "string",
    "referralSource": "string",
    "propertyId": "string",
    "organizationId": "string",
    "assignedUserId": "string",
    "prospectStatusId": "string",
    "isPrimaryProspect": true,
    "portalInviteUrl": "string",
    "id": "string",
    "readableId": "string",
    "idempotencyId": "string",
    "createdAt": "2024-01-15T09:30:00Z",
    "updatedAt": "2024-01-15T09:30:00Z"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.fortresstech.io/v1/prospects/prospectId/leslieConfiguration"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://api.fortresstech.io/v1/prospects/prospectId/leslieConfiguration';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.fortresstech.io/v1/prospects/prospectId/leslieConfiguration"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.fortresstech.io/v1/prospects/prospectId/leslieConfiguration")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.fortresstech.io/v1/prospects/prospectId/leslieConfiguration")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.fortresstech.io/v1/prospects/prospectId/leslieConfiguration');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.fortresstech.io/v1/prospects/prospectId/leslieConfiguration");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.fortresstech.io/v1/prospects/prospectId/leslieConfiguration")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```