Docs
Visit Flip.toManage your platform
  • About Flip.to Docs
  • Get Started
    • Quickstart
  • Platform
    • Discovery
      • Launchpad
      • Day-to-day
      • Experiences
        • Libraries and Management
        • Flip.to 🤝 OccasionGenius
      • Planner audiences
    • Advocacy
      • First campaign
      • Curation
        • Getting the most out of Curation
      • Stories
      • Promoting a campaign
      • Top storytellers
    • Collaboratives
      • Collaborative Insights
      • Campaign Tracking
      • Brand Resources
    • Mission Control
      • Branding
      • Point person
      • Seasonal photos
      • Booking engine URL
      • Custom domains
      • Languages
      • Team
  • Integrations
    • Websites
      • Set up your website
      • Cross-domain tracking
      • Member tracking
      • Website markup
      • Feature previews
    • Booking Engines
      • Set up your booking engine
      • Vendors
        • SynXis
        • iHotelier
        • RevRaise by AZDS
        • RezTrip
        • SiteMinder
        • Newbook
        • Cloudbeds
        • Campspot
    • Analytics
      • Signals & subscriptions
      • Consent management
    • CRMs
      • Zapier
        • Using Zapier with Mailchimp
      • Revinate
      • Salesforce
      • SFTP
    • Email
      • Confirmation email
      • Pre-arrival email
      • Post-stay email
      • Cancellation email
    • Marketing
      • Google Ads
      • Microsoft Advertising
      • Meta Ads
      • TikTok Ads
  • API
    • Introduction
    • Reference
      • Platform API
      • Collaborative API
  • Support
    • Customer Success
    • Policies
Powered by GitBook
On this page
  • Look Ahead data
  • Transactions data
  • Sponsor referrals data
  • Sponsor referrals data by channel
  • Sponsor referrals data by geolocation
  1. API
  2. Reference

Collaborative API

Look Ahead data

Provides collaborative members' occupancy, ADR, and revenue data for a specified date range. Best intended for getting clarity on future stay dates.

POST https://api.flip.to/v1/collaborative/report/lodging/lookahead

Query Parameters

Name
Type
Description

startdate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

enddate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

type

String

Accommodation property type, valid values are:

FullServiceHotel, SelectServiceHotel, Condotel, VacationRental, RVResort

grouping

String

Defines how data is grouped and Week is default.

Valid values are: Month, Week, Day

startWeekDay

String

Defines the start day of the week and Sunday is default, valid values are:

Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday

Example

{
    "totalProperties": 32,
    "totalRooms": 9660,
    "data": [
        {
            "startDate": "2021-01-01",
            "endDate": "2021-01-31",
            "occupancy": {
                "availableBookNights": 289800,
                "bookedNights": 4008
            },
            "dailyRate": {
                "minDailyRate": 25.81,
                "maxDailyRate": 521.54,
                "avgDailyRate": 47.57
            },
            "stayLength": {
                "minStayNights": 1,
                "maxStayNights": 74,
                "avgStayNights": 2
            },
            "revenue": {
                "totalTransactions": 1719,
                "totalTransactionNights": 4585,
                "minTransactionRevenue": 48,
                "maxTransactionRevenue": 3132.03,
                "totalTransactionRevenue": 459003.23,
                "avgTransactionRevenue": 267.02
            }
        },
        …
    ]
}

Transactions data

Provides transactions and revenue data from all collaborative members for a specified date range.

POST https://api.flip.to/v1/collaborative/report/lodging/bookings

Query Parameters

Name
Type
Description

startdate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

enddate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

type

String

Accommodation property type, valid values are:

FullServiceHotel, SelectServiceHotel, Condotel, VacationRental, RVResort

grouping

String

Defines how data is grouped and Week is default.

Valid values are: Month, Week, Day

startWeekDay

String

Defines the start day of the week and Sunday is default, valid values are:

Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday

Example

{
    "totalProperties": 32,
    "totalRooms": 9660,
    "data": [
        {
            "startDate": "2020-12-27T00:00:00",
            "endDate": "2021-01-02T00:00:00",
            "revenue": {
                "totalTransactions": 934,
                "totalTransactionNights": 3290,
                "minTransactionRevenue": 49,
                "maxTransactionRevenue": 11828.92,
                "totalTransactionRevenue": 714171.46,
                "avgTransactionRevenue": 764.64
            },
            "stayLength": {
                "minStayNights": 1,
                "maxStayNights": 34,
                "avgStayNights": 3
            }
        },
        …
    ]
}

Sponsor referrals data

Provides transactions and revenue data attributed to the Sponsor's referral efforts for a specified date range.

POST https://api.flip.to/v1/collaborative/report/sponsor/referrals/impact

Query Parameters

Name
Type
Description

startdate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

enddate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

delay

Integer

The number of days to look back to attribute transaction to source data. Default is 15 days.

grouping

String

Defines how data is grouped and Month is default.

Valid values are: Month, Week, Day

Example

[
    {
        "year": 2023,
        "timeGrouping": 1,
        "referralTransactions": 3,
        "referralRevenue": 1500,
        "influencedTransactions": 2,
        "influencedRevenue": 1000
    },
    {
        "year": 2023,
        "timeGrouping": 2,
        "referralTransactions": 5,
        "referralRevenue": 2500,
        "influencedTransactions": 4,
        "influencedRevenue": 2000
    }
]

Sponsor referrals data by channel

Provides transactions and revenue data attributed to the Sponsor's referral efforts for a specified channel and date range.

POST https://api.flip.to/v1/collaborative/report/sponsor/referrals/channels/impact

Query Parameters

Name
Type
Description

startdate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

enddate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

delay

Integer

The number of days to look back to attribute transaction to source data. Default is 15 days.

grouping

String

Defines how data is grouped and Month is default.

Valid values are: Month, Week, Day

Example

[
    {
        "year": 2023,
        "timeGrouping": 1,
        "source": "google",
        "medium": "search",
        "term": null,
        "referralTransactions": 3,
        "referralRevenue": 1500,
        "influencedTransactions": 2,
        "influencedRevenue": 1000
    },
    {
        "year": 2023,
        "timeGrouping": 2,
        "source": "google",
        "medium": "search",
        "term": null,
        "referralTransactions": 5,
        "referralRevenue": 2500,
        "influencedTransactions": 4,
        "influencedRevenue": 2000
    }
]

Sponsor referrals data by geolocation

Provides transactions and revenue data attributed to the Sponsor's referral efforts for a specified geolocation and date range.

POST https://api.flip.to/v1/collaborative/report/sponsor/referrals/geo/impact

Query Parameters

Name
Type
Description

startdate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

enddate*

Date

The inclusive date range in ISO 8601 format yyyy-MM-dd (e.g. 2023-09-18)

delay

Integer

The number of days to look back to attribute transaction to source data. Default is 15 days.

grouping

String

Defines how data is grouped and Month is default.

Valid values are: Month, Week, Day

Example

[
    {
        "year": 2023,
        "timeGrouping": 1,
        "country": "US",
        "region": "NY",
        "city": "New York",
        "referralTransactions": 3,
        "referralRevenue": 1500,
        "influencedTransactions": 2,
        "influencedRevenue": 1000
    },
    {
        "year": 2023,
        "timeGrouping": 2,
        "country": "US",
        "region": "NY",
        "city": "New York",
        "referralTransactions": 5,
        "referralRevenue": 2500,
        "influencedTransactions": 4,
        "influencedRevenue": 2000
    }
]
PreviousPlatform APINextCustomer Success

Last updated 1 year ago