Visits

Supported visit attributes:

Attribute Type Description
id number Unique identifier of the visit.
resource_type string Name of the resource type the visit is attached to.
Possible values:
  • lead
  • contact
  • prospect_and_customer
resource_id number Identifier of the resource the visit is attached to.
creator_id number Identifier of the user that created the visit.
visited_at string Date and time when the visit took place in UTC (ISO8601 format).
created_at string Date and time when the visit was attached in UTC (ISO8601 format).
summary string Summary of the visit.
outcome object Outcome of the visit (see below).
sales_rep_location object Sales representative location at the time of the visit. (see below)

Supported visit outcome attributes:

Attribute Type Description
id number Unique identifier of the visit outcome.
name string Name of the visit outcome.
has_original_name - deprecated (may be removed at any time)

Supported sales representative location attributes:

Attribute Type Description
latitude decimal Latitude of the location.
longitude decimal Longitude of the location.
verification_status string The status of the location verification of the device that created the visit (sales representative).
Possible values:
  • verified
  • resource_location_too_far
  • location_unknown
  • location_services_disabled

Endpoints

Stream Visit

Read the stream of visit events.

See Overview article for more details on request and response formats and parameters.