LISTING_CANDIDATE_SCHEDULE_INVITED_VIEWING

When admin invites a candidate for new viewing in EverReal, the below payload is submitted as a notification.

interface IWebhookDispatcher<IListingViewngInviteAction> {
  uuid: string;
  operation: string;
  subdomain: string;
  language: string;
  createdAt: Date;
  data: IListingViewngInviteAction;
}


interface IListingViewngInviteAction {
  invitationId: string;
  listing: {
    id: string;
    property: {
      id: string;
      objectId: string;
      type: PROPERTY_TYPE;
      address: {
        zip: string;
        city: string;
        streetNumber: string;
        streetName: string;
        placeId: string;
        location?: {
          lat?: number;
          lng?: number;
        };
      };
    };
    unit: {
      id: string;
      objectId: string;
      name: string;
      type: UNIT_TYPE;
    };
  };
  candidate: {
    id: string;
    email: string;
  };
}

Last updated