Browse the docs

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.

FieldTypeRequiredDescription
externalCallIdstringYesYour own id for this call. Sending the same id again returns the first reply and records nothing new.
callIdstringNoThe id call.ringing sent as callId: a call id, or anon-<CallSid> for a caller PropVista did not know.
personIdstringNoThe person the call was with. Send it or caller.phone.
callerobjectNoWho 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.namestringNo
caller.phonestringYes
realtorIdstringYesThe agent the call was for: a user id from GET /v1/users. Tasks are assigned to them.
startedAtstring (date-time)Yes
endedAtstring (date-time)No
outcomestringNoDefaults 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.
summarystringNo
transcriptstringNoUp to 500,000 characters. A longer one is refused with 413, never cut short.
projectsAskedAboutarray of objectNoNew-home projects the caller asked about, as GET /v1/projects lists them.
projectsAskedAbout[].jurisdictionstringYesOne of: UAE, CA_TRREB.
projectsAskedAbout[].projectIdstringYes
callbackobjectNoA callback the caller asked for: a CALL task for the realtor, due then.
callback.atstring (date-time)Yes
callback.notestringNo
doNotCallbooleanNotrue records that the caller asked not to be called. false changes nothing.
taskobjectNoA task for the realtor. With no dueAt it is due today.
task.titlestringYes
task.dueAtstring (date-time)No
task.descriptionstringNo
{
  "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"
    }
  ]
}