LISTING_PUBLISHED_TO_CHANNEL

When a listing is published on a portal in EverReal, the below payload is submitted as a notification.

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


interface IListingPublishedAction {
  id: string;
  title: string;
  companyId: string;
  type: LISTING_TYPE;
  channels: {
    type: string;
    internalId: string;
    status?: string;
    placementType?: {
      type: string;
      createdAt: string;
    };
    isTypeInvestment?: boolean;
  }[];
  listingResponsible: {
    id: string;
    email: string;
  };
}

Last updated