Webhook Message Model v1

Definition of the Webhook payload used for Message events.

Message Model v1

{
    id: "3vdb8e2rnmcb72ev",
    created: "2021-11-23T17:43:11.000Z",
    first_name: "Fred",
    last_name: "Asterix",
    email: "fred@asterix.to.co",
    email_opt_out: false,
    phone: "+17779999111",
    phone_mobile: "+17779999112",
    org: {
        domain: "example.to.co",
        location: {
            domain: "example.us.loc.to.co"
        },
        name: "XYZ Org",
        registration_number: "030999915",
        vat_registration_number: "GB901654321",
        department: "Sales",
        job_title: "Sales Director",
    },
    country_code: "US",
    locale_code: "en-US",
    avatar_url: "https://avatarurl.com/xyz.jpg",
    salutation: "Mr",
    website_url: "https://website.com",
    twitter_handle: "twitter",
    instagram_handle: "instagram",
    facebook_url: "https://facebook.com/xyz",
    linkedin_url: "https://linkedin.com/xyz",
    youtube_url: "https://youtube.com/xyz",
    vimeo_url: "https://vimeo.com/xyz",
    tiktok_url: "https://tiktok.com/xyz",
    pinterest_url: "https://pinterest.com/xyz",
    clubhouse_url: "https://clubhouse.com/xyz",
    snapchat_url: "https://snapchat.com/xyz",
}