Skip to main content
GET
/
firms
/
{id}
/
leads
List Leads for Firm
curl --request GET \
  --url https://api.partner.dit.myperch.io/v1/firms/{id}/leads \
  --header 'x-api-key: <api-key>'
{
  "meta": {
    "totalCount": 42
  },
  "data": [
    {
      "id": "38owigkM",
      "createdAt": "2026-03-05T19:39:18.389Z",
      "updatedAt": "2026-03-05T19:39:18.389Z",
      "deletedAt": null,
      "email": "client1+74049788@example.com",
      "firstName": "Amya",
      "lastName": "Williamson",
      "phone": {
        "number": "2925655632",
        "extension": "562"
      },
      "clientData": {
        "sin": "004877852",
        "prefix": "Ms.",
        "citizenship": "Permanent Legal Resident (PR)",
        "dateOfBirth": "1987-07-13",
        "maritalStatus": "Married",
        "creditScoreEstimation": "142"
      },
      "resourceType": "Firm",
      "resourceId": "qSBKZzUi",
      "referredByReferralCodeId": null,
      "convertedAt": null
    },
    {
      "id": "t2ad2aop",
      "createdAt": "2026-03-05T19:39:18.389Z",
      "updatedAt": "2026-03-05T19:39:18.389Z",
      "deletedAt": null,
      "email": "client1+82482959@example.com",
      "firstName": "Titus",
      "lastName": "Wiza",
      "phone": {
        "number": "8069012246",
        "extension": "267"
      },
      "clientData": {
        "sin": "307055768",
        "prefix": "Mr.",
        "citizenship": "Student VISA",
        "dateOfBirth": "1991-07-13",
        "maritalStatus": "Single",
        "creditScoreEstimation": "210"
      },
      "resourceType": "Firm",
      "resourceId": "nzM7Xffc",
      "referredByReferralCodeId": null,
      "convertedAt": null
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The id of the record to retrieve.

Example:

"abc123"

Response

200 - application/json

Successful response

meta
object
data
object[]
Example:
[
{
"id": "38owigkM",
"createdAt": "2026-03-05T19:39:18.389Z",
"updatedAt": "2026-03-05T19:39:18.389Z",
"deletedAt": null,
"email": "client1+74049788@example.com",
"firstName": "Amya",
"lastName": "Williamson",
"phone": {
"number": "2925655632",
"extension": "562"
},
"clientData": {
"sin": "004877852",
"prefix": "Ms.",
"citizenship": "Permanent Legal Resident (PR)",
"dateOfBirth": "1987-07-13",
"maritalStatus": "Married",
"creditScoreEstimation": "142"
},
"resourceType": "Firm",
"resourceId": "qSBKZzUi",
"referredByReferralCodeId": null,
"convertedAt": null
},
{
"id": "t2ad2aop",
"createdAt": "2026-03-05T19:39:18.389Z",
"updatedAt": "2026-03-05T19:39:18.389Z",
"deletedAt": null,
"email": "client1+82482959@example.com",
"firstName": "Titus",
"lastName": "Wiza",
"phone": {
"number": "8069012246",
"extension": "267"
},
"clientData": {
"sin": "307055768",
"prefix": "Mr.",
"citizenship": "Student VISA",
"dateOfBirth": "1991-07-13",
"maritalStatus": "Single",
"creditScoreEstimation": "210"
},
"resourceType": "Firm",
"resourceId": "nzM7Xffc",
"referredByReferralCodeId": null,
"convertedAt": null
}
]