LISTING_CONTRACT_FLOW_STARTED

When the contract is created in EverReal, the below payload is submitted as a notification.

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


interface IListingContractFlowStartedAction {
  id: string;
  contractTemplateId?: string;
  metadata?: {
    unitId?: string;
    listingId?: string;
    candidateId?: string;
  };
  contractData?: any;
  status?: CONTRACT_STATUS;
  contractFlowType: CONTRACT_FLOW_TYPE;
  contractFile?: {
    name?: string;
    resourcePath?: string;
    order?: number;
    size?: number;
    type?: string;
  };
}

Last updated