Contact

The Contact resource represents individuals involved in the incident, encompassing their personal information, roles, address, insurance details, and injury information.

Events

The following events are available for contacts:

Event TypeDescription
contact.createdTriggered when a new contact is added to an incident
contact.updatedTriggered when any contact information is modified
contact.deletedTriggered when a contact is removed from an incident

The Contact object

Attributes
RootContact
interface RootContact {
  group: 'primary-vehicle' | 'third-party-vehicle' | 'third-party';
  roles: string[];
  vehicle_id: string | null;
  contact: Contact;
}
Contact
interface Contact {
  object: "Contact";
  id: string;
  title: string | null;
  first_name: string | null;
  last_name: string | null;
  full_name: string | null;
  email: string | null;
  date_of_birth: Date | null;
  phones: {
    phone_number: string | null;
    phone_prefix: string | null;
    label: string | null;
    primary: boolean;
  }[] | null;
  created_at: Date;
  updated_at: Date;
  role: string;
  address: Location | null
  insurance: Insurance[] | null;
  roles: string[];
  injury: Injury | null | [];
}
Contact.Insurance
interface Insurance {
  object: "Insurance";
  id: string;
  insurer: string | null;
  policy_type: string | null;
  policy_number: string | null;
  claim_intend: boolean | null;
  valid_from: string | null;
  valid_to: string | null;
  coverage_type: string | null;
  vehicle_involved_covered: boolean;
  policy_contact_is_driver: boolean;
  insurance_limits_note: string | null;
  deductible_excess_compulsory: string | null;
  deductible_excess_voluntary: string | null;
  deductible_excess_total: string | null;
  deductible_excess_cover_addon: string | null;
  deductible_excess_note: string | null;
  onward_travel_cover: string | null;
  onward_travel_cover_note: string | null;
  insurance_note: string | null;
  created_at: string;
  updated_at: string;
}
Contact.Injury
interface Injury {
  object: "Injury";
  id: string;
  contact_id: string;
  injury_suffered: string | null;
  injury_severity: string | null;
  description: string | null;
  sought_medical_attention: boolean | null;
  created_at: string;
  updated_at: string;
}
Example Contact
{
  "group": "third-party-vehicle",
  "contact": {
    "id": "ze1P9RbVrZbZkdLQ",
    "role": "driver",
    "email": null,
    "roles": ["driver"],
    "title": null,
    "injury": {
      "id": "92XQjv4eAp4GRLwY",
      "object": "Injury",
      "contact_id": "ze1P9RbVrZbZkdLQ",
      "created_at": "2024-05-28T10:01:29.000000Z",
      "updated_at": "2024-05-31T06:36:30.000000Z",
      "description": null,
      "injury_severity": null,
      "injury_suffered": null,
      "sought_medical_attention": false
    },
    "object": "Contact",
    "phones": [],
    "address": {
      "id": "",
      "city": null,
      "town": null,
      "state": null,
      "object": "Address",
      "country": null,
      "latitude": null,
      "longitude": null,
      "what3words": null,
      "postal_code": null,
      "address_line": null,
      "address_line2": null,
      "formatted_address": null
    },
    "full_name": "Test Tp Driver",
    "insurance": [],
    "last_name": "Tp Driver",
    "created_at": "2024-05-28T10:01:29.000000Z",
    "first_name": "Test",
    "updated_at": "2024-05-28T10:01:29.000000Z",
    "date_of_birth": null
  },
  "vehicle_id": "6jzWP348dQ4OmXJE"
}
Table of Contents