GET/v1/crm/people
List the brokerage's CRM people (leads and contacts), without contact details
Send an API key as a Bearer token. The scope each endpoint needs is listed under Authentication.
Request
GET https://api.propvista.io/v1/crm/people
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
kind | query | string | No | One of: LEAD, CONTACT, BOTH. |
take | query | integer | No | Default 50. |
cursor | query | string | No |
Examples
curl -X GET "https://api.propvista.io/v1/crm/people?take=50" \
-H "Authorization: Bearer $PROPVISTA_API_KEY"Responses
200 Successful response
{
"data": [
{
"id": "string",
"uuid": "string",
"kind": "LEAD",
"fullName": "string",
"firstName": "string",
"lastName": "string",
"source": "string",
"stage": {
"id": "string",
"name": "string"
},
"assignedToUserId": "string",
"lastActivityAt": "string",
"createdAt": "string",
"updatedAt": "string"
}
],
"nextCursor": "string"
}X-RateLimit-Limit: Requests this key may make per minute.X-RateLimit-Remaining: Requests left in the current minute.X-RateLimit-Reset: Unix seconds when the minute window resets. Sent on a 429 only.X-Quota-Limit: Requests the plan, or the key's own cap, allows in the billing period.X-Quota-Remaining: Requests left in the billing period.X-Quota-Reset: Unix seconds when the billing period resets.
400 Invalid input data
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}401 Authorization not provided
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}403 Insufficient access
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}404 Not found
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}429 The monthly request quota or the per-minute limit is used up. Wait Retry-After seconds; see https://propvista.io/docs/rate-limits.
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}X-RateLimit-Limit: Requests this key may make per minute.X-RateLimit-Remaining: Requests left in the current minute.X-RateLimit-Reset: Unix seconds when the minute window resets. Sent on a 429 only.X-Quota-Limit: Requests the plan, or the key's own cap, allows in the billing period.X-Quota-Remaining: Requests left in the billing period.X-Quota-Reset: Unix seconds when the billing period resets.Retry-After: Seconds to wait before retrying.
500 Internal server error
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}