Platform API

Discovery

Discovery planners

Provides data for planners who started planning within a specified date range.

POST https://api.flip.to/v1/company/data/discovery/planners

Query Parameters

Request Body

Example

{
  "total": 1669,
  "page": 1,
  "planners": [
    {
      "discoveryName": "www.overlookhotel.com",
      "plannerId": "1D5892B3-48A9-3102-BED1-32BC97AAF577",
      "createDate": "2022-01-01T17:36:58.4478437",
      "email": "james@gmail.com",
      "first": "James",
      "languageCode": "en",
      "isBooked": true,
      "isUninterested": false,
      "isPrivacyRestricted": false,
      "isOptout": false,
      "activePlan": {
        "propertyId": "1234DF43-C41C-442F-804C-1234A7952738",
        "propertySlug": "overlook-hotel",
        "adults": 2,
        "children": 0,
        "beds": null,
        "rooms": 1,
        "arrival": "2022-01-01",
        "departure": "2022-01-02",
        "promo": null
      },
      "reservations": [
        {
          "propertyId": "1234DF43-C41C-442F-804C-1234A7952738",
          "propertySlug": "overlook-hotel",
          "createDate": "2022-01-02T04:14:00",
          "pmsNumber": "161000",
          "crsNumber": "10622SC40",
          "email": "james@flip.to",
          "first": "James",
          "last": "Smith",
          "arrival": "2022-01-01",
          "departure": "2022-01-02",
          "currency": "USD",
          "amount": 365.11
        }
      ]
    },
    {
      "discoveryName": "www.overlookhotel.com",
      "plannerId": "12E342B3-48A9-3102-BED1-32BC97AAF577",
      "createDate": "2022-01-03T17:36:58.4478437",
      "email": "mia@gmail.com",
      "first": "Mia",
      "languageCode": "en",
      "isBooked": false,
      "isUninterested": false,
      "isPrivacyRestricted": false,
      "isOptout": false,
      "activePlan": {
        "propertyId": "1234DF43-C41C-442F-804C-1234A7952738",
        "propertySlug": "overlook-hotel",
        "adults": 4,
        "children": 0,
        "beds": null,
        "rooms": 1,
        "arrival": "2022-01-05",
        "departure": "2022-01-08",
        "promo": null
      },
      "reservations": null 
    },

    ]
}

Discovery planners who opted-out

Provides data for planners who opted out within a specified date range.

POST https://api.flip.to/v1/company/data/discovery/optouts

Query Parameters

Request Body

Example

{
  "total": 150,
  "page": 1,
  "optouts": [
    {
      "discoveryName": "www.overlookhotel.com",
      "optoutDate": "2022-05-04T18:21:58.1272137",
      "email": "james@gmail.com"
    },
   {
      "discoveryName": "www.overlookhotel.com",
      "optoutDate": "2022-05-05T10:00:18.4356137",
      "email": "mia@gmail.com"
    },

    ]
}

Advocacy

Advocacy leads

Provides data for leads who signed up within a specified date range.

POST https://api.flip.to/v1/company/data/advocacy/signups

Query Parameters

Request Body

Example

{
  "total": 19388,
  "page": 1,
  "signups": [
    {
      "id": "C123600-2B05-47E3-8FBE-3EAB9E8A5Q11",
      "createDate": "2021-12-01T00:01:00",
      "propertyId": 1234DF43-C41C-442F-804C-1234A7952738",
      "propertySlug": "overlook-hotel",
      "email": "james@flip.to",
      "first": "James",
      "last": "Smith",
      "languageCode": "en",
      "isOptout": false,
      "isPrivacyRestricted": false,
      "layerType": "photo contest",
      "category": "friend",
      "country": "United States", 
      "region": "FL", 
       "city": "Orlando"
    }
      ,...
  ]
}

Advocacy stories

Provides data for Advocacy stories that were submitted within a specified date range. Results limited to stories that include a photo submission.

POST https://api.flip.to/v1/company/data/advocacy/stories

Query Parameters

Request Body

Example

{
  "total": 5679,
  "page": 1,
  "stories": [
    {
     "propertyId": 1234DF43-C41C-442F-804C-1234A7952738",
      "propertySlug": "overlook-hotel",
      "email": "james@flip.to",
      "first": "James",
      "last": "Smith",
      "category": "guest",
      "startDate": "2021-12-25",
      "endDate": "2021-12-29",
      "languageCode": "en",
      "isOptout": false,
      "isPrivacyRestricted": false,
      "submissionDate": "2022-01-02T06:32:00", 
      "photo": {
        "id": "C123600-2B05-47E3-8FBE-3EAB9E8A5Q11",
        "contestName": "Myrtle Beach Vacation Memories Giveaway!",
        "finalistDate": "2022-01-06T19:25:00",
        "internalRating": "2022-01-06T19:25:00",
        "score": 13,
        "caption": "I awoke this particular morning to look at the sunrise and was surprised to see the moon still out as well! The view was breathtaking along with the beautiful waves gently hitting the shore!",
        "captionInternalRating": 3,
        "url": "https:\/\/cdn.flip.to\/public\/c123600-2b05-47e3-8fbe-3eab9e8a5q11.jpg"
      },
      "review": {
        "rating": 5,
        "quote": "Waking up to the beautiful sun rises in the morning was very relaxing so much so part of the family did not want to leave.",
        "internalRating": 2
      }
    }
  ]
}

Advocacy leads who opted out

Provides data for leads who opted out within a specified date range.

POST https://api.flip.to/v1/company/data/advocacy/optouts

Query Parameters

Request Body

Example

{
  "total": 19388,
  "page": 1,
  "optouts": [
    {
      "propertyId": 1234DF43-C41C-442F-804C-1234A7952738",
      "propertySlug": "overlook-hotel",
      "optoutDate": "2022-05-04T18:21:58.1272137",
      "email": "james@gmail.com"
    },
   {
      "propertyId": 1234DF43-C41C-442F-804C-1234A7952738",
      "propertySlug": "overlook-hotel",
      "optoutDate": "2022-05-05T10:00:18.4356137",
      "email": "mia@gmail.com"
    },

    ]

}

Last updated