POST/v1/calls
Record a call a voice agent handled, with its outcome, summary and follow-ups
Send an API key as a Bearer token. The scope each endpoint needs is listed under Authentication.
Request
POST https://api.propvista.io/v1/calls
Body
Send a JSON body with Content-Type: application/json. A nested field is named by its path; Required means required within its object.
| Field | Type | Required | Description |
|---|---|---|---|
externalCallId | string | Yes | Your own id for this call. Sending the same id again returns the first reply and records nothing new. |
callId | string | No | The id call.ringing sent as callId: a call id, or anon-<CallSid> for a caller PropVista did not know. |
personId | string | No | The person the call was with. Send it or caller.phone. |
caller | object | No | Who called. With no personId: the one person on this number; when several share it, the one whose name is caller.name; when none or more than one is, the call is held for the realtor (needsReview). Nobody on the number creates a new lead, unless the outcome is WRONG_NUMBER or HUNG_UP. |
caller.name | string | No | |
caller.phone | string | Yes | |
realtorId | string | Yes | The agent the call was for: a user id from GET /v1/users. Tasks are assigned to them. |
startedAt | string (date-time) | Yes | |
endedAt | string (date-time) | No | |
outcome | string | No | Defaults to CALLBACK_REQUESTED when a callback is sent without one. One of: CONNECTED, INTERESTED, NOT_INTERESTED, CALLBACK_REQUESTED, APPOINTMENT_SET, WRONG_NUMBER, HUNG_UP, DEAD_LEAD, OTHER. |
summary | string | No | |
transcript | string | No | Up to 500,000 characters. A longer one is refused with 413, never cut short. |
projectsAskedAbout | array of object | No | New-home projects the caller asked about, as GET /v1/projects lists them. |
projectsAskedAbout[].jurisdiction | string | Yes | One of: UAE, CA_TRREB. |
projectsAskedAbout[].projectId | string | Yes | |
callback | object | No | A callback the caller asked for: a CALL task for the realtor, due then. |
callback.at | string (date-time) | Yes | |
callback.note | string | No | |
doNotCall | boolean | No | true records that the caller asked not to be called. false changes nothing. |
task | object | No | A task for the realtor. With no dueAt it is due today. |
task.title | string | Yes | |
task.dueAt | string (date-time) | No | |
task.description | string | No |
{
"externalCallId": "string",
"callId": "string",
"personId": "string",
"caller": {
"name": "string",
"phone": "string"
},
"realtorId": "string",
"startedAt": "2026-11-05T09:00:00.000Z",
"endedAt": "2026-11-05T09:00:00.000Z",
"outcome": "CONNECTED",
"summary": "string",
"transcript": "string",
"projectsAskedAbout": [
{
"jurisdiction": "UAE",
"projectId": "string"
}
],
"callback": {
"at": "2026-11-05T09:00:00.000Z",
"note": "string"
},
"doNotCall": true,
"task": {
"title": "string",
"dueAt": "2026-11-05T09:00:00.000Z",
"description": "string"
}
}Examples
curl -X POST "https://api.propvista.io/v1/calls" \
-H "Authorization: Bearer $PROPVISTA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"externalCallId": "string",
"callId": "string",
"personId": "string",
"caller": {
"name": "string",
"phone": "string"
},
"realtorId": "string",
"startedAt": "2026-11-05T09:00:00.000Z",
"endedAt": "2026-11-05T09:00:00.000Z",
"outcome": "CONNECTED",
"summary": "string",
"transcript": "string",
"projectsAskedAbout": [
{
"jurisdiction": "UAE",
"projectId": "string"
}
],
"callback": {
"at": "2026-11-05T09:00:00.000Z",
"note": "string"
},
"doNotCall": true,
"task": {
"title": "string",
"dueAt": "2026-11-05T09:00:00.000Z",
"description": "string"
}
}'Responses
200 Successful response
{
"callId": "string",
"personId": "string",
"personCreated": true,
"needsReview": true
}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"
}
]
}409 Conflict
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}413 Payload too large
{
"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"
}
]
}