Introducing the Forecasts API — Event-driven forecasts for precise demand planning. Fast, accurate, and easy to run.
Explore Now
LogoLogo
Visit websiteWebAppGet DemoTry for Free
  • Introduction
  • Swagger UI
  • Loop
  • System Status
  • Getting Started
    • API Quickstart
    • Data Science Notebooks
    • PredictHQ Data
      • Data Accuracy
      • Event Categories
        • Attendance-Based Events
        • Non-Attendance-Based Events
        • Unscheduled Events
        • Live TV Events
      • Labels
      • Entities
      • Ranks
        • PHQ Rank
        • Local Rank
        • Aviation Rank
      • Predicted Attendance
      • Predicted End Times
      • Predicted Event Spend
      • Predicted Events
      • Predicted Impact Patterns
    • Guides
      • Geolocation Guides
        • Overview
        • Searching by Location
          • Find Events by Latitude/Longitude and Radius
          • Find Events by Place ID
          • Find Events by IATA Code
          • Find Events by Country Code
          • Find Events by Placekey
          • Working with Location-Based Subscriptions
        • Understanding Place Hierarchies
        • Working with Polygons
        • Join Events using Placekey
      • Date and Time Guides
        • Working with Recurring Events
        • Working with Multi-day and Umbrella Events
        • Working with Dates, Times and Timezones
      • Events API Guides
        • Understanding Relevance Field in Event Results
        • Attendance-Based Events Notebooks
        • Non-Attendance-Based Events Notebooks
        • Severe Weather Events Notebooks
        • Academic Events Notebooks
        • Working with Venues Notebook
      • Features API Guides
        • Increase Accuracy with the Features API
        • Get ML Features
        • Demand Forecasting with Event Features
      • Forecasts API Guides
        • Getting Started with Forecasts API
        • Understanding Forecast Accuracy Metrics
        • Troubleshooting Guide for Forecasts API
      • Live TV Event Guides
        • Find Broadcasts by County Place ID
        • Find Broadcasts by Latitude and Longitude
        • Find all Broadcasts for an Event
        • Find Broadcasts for Specific Sport Types
        • Aggregating Live TV Events
        • Live TV Events Notebooks
      • Beam Guides
        • ML Features by Location
        • ML Features by Group
      • Demand Surge API Guides
        • Demand Surge Notebook
      • Guide to Protecting PredictHQ Data
      • Streamlit Demo Apps
      • Guide to Bulk Export Data via the WebApp
      • Industry-Specific Event Filters
      • Tutorials
        • Filtering and Finding Relevant Events
        • Improving Demand Forecasting Models with Event Features
        • Using Event Data in Power BI
        • Using Event Data in Tableau
        • Connecting to PredictHQ APIs with Microsoft Excel
        • Loading Event Data into a Data Warehouse
        • Displaying Events in a Heatmap Calendar
        • Displaying Events on a Map
    • Tutorials by Use Case
      • Demand Forecasting with ML Models
      • Dynamic Pricing
      • Inventory Management
      • Workforce Optimization
      • Visualization and Insights
  • Integrations
    • Integration Guides
      • Keep Data Updated via API
      • Integrate with Beam
      • Integrate with Loop Links
    • Third-Party Integrations
      • Receive Data via Snowflake
        • Example SQL Queries for Snowflake
        • Snowflake Data Science Guide
          • Snowpark Method Guide
          • SQL Method Guide
      • Receive Data via AWS Data Exchange
        • CSV/Parquet Data Structure for ADX
        • NDJSON Data Structure for ADX
      • Integrate with Databricks
      • Integrate with Tableau
      • Integrate with a Demand Forecast in PowerBI
      • Google Cloud BigQuery
    • PredictHQ SDKs
      • Python SDK
      • Javascript SDK
  • API Reference
    • API Overview
      • Authenticating
      • API Specs
      • Rate Limits
      • Pagination
      • API Changes
      • Attribution
      • Troubleshooting
    • Events
      • Search Events
      • Get Event Counts
    • Broadcasts
      • Search Broadcasts
      • Get Broadcasts Count
    • Features
      • Get ML Features
    • Forecasts
      • Models
        • Create Model
        • Update Model
        • Replace Model
        • Delete Model
        • Search Models
        • Get Model
        • Train Model
      • Demand Data
        • Upload Demand Data
        • Get Demand Data
      • Forecasts
        • Get Forecast
      • Algorithms
        • Get Algorithms
    • Beam
      • Create an Analysis
      • Upload Demand Data
      • Search Analyses
      • Get an Analysis
      • Update an Analysis
      • Partially Update an Analysis
      • Get Correlation Results
      • Get Feature Importance
      • Refresh an Analysis
      • Delete an Analysis
      • Analysis Groups
        • Create an Analysis Group
        • Get an Analysis Group
        • Search Analysis Groups
        • Update an Analysis Group
        • Partially Update an Analysis Group
        • Refresh an Analysis Group
        • Delete an Analysis Group
        • Get Feature Importance for an Analysis Group
    • Demand Surge
      • Get Demand Surges
    • Suggested Radius
      • Get Suggested Radius
    • Saved Locations
      • Create a Saved Location
      • Search Saved Locations
      • Get a Saved Location
      • Search Events for a Saved Location
      • Update a Saved Location
      • Delete a Saved Location
    • Loop
      • Loop Links
        • Create a Loop Link
        • Search Loop Links
        • Get a Loop Link
        • Update a Loop Link
        • Delete a Loop Link
      • Loop Settings
        • Get Loop Settings
        • Update Loop Settings
      • Loop Submissions
        • Search Submitted Events
      • Loop Feedback
        • Search Feedback
    • Places
      • Search Places
      • Get Place Hierarchies
  • WebApp Support
    • WebApp Overview
      • Using the WebApp
      • API Tools
      • Events Search
      • How to Create an API Token
    • Getting Started
      • Can I Give PredictHQ a Go on a Free Trial Basis?
      • How Do I Get in Touch if I Need Help?
      • Using AWS Data Exchange to Access PredictHQ Events Data
      • Using Snowflake to Access PredictHQ Events Data
      • What Happens at the End of My Free Trial?
      • Export Events Data from the WebApp
    • Account Management
      • Managing your Account Settings
      • How Do I Change My Name in My Account?
      • How Do I Change My Password?
      • How Do I Delete My Account?
      • How Do I Invite People Into My Organization?
      • How Do I Log In With My Google or LinkedIn Account?
      • How Do I Update My Email Address?
      • I Signed Up Using My Google/LinkedIn Account, but I Want To Log In With My Own Email
    • API Plans, Pricing & Billing
      • Do I Need To Provide Credit Card Details for the 14-Day Trial?
      • How Do I Cancel My API Subscription?
      • Learn About Our 14-Day Trial
      • What Are the Definitions for "Storing" and "Caching"?
      • What Attribution Do I Have To Give PredictHQ?
      • What Does "Commercial Use" Mean?
      • What Happens If I Go Over My API Plan's Rate Limit?
    • FAQ
      • How Does PredictHQ Support Placekey?
      • Using Power BI and Tableau With PredictHQ Data
      • Can I Download a CSV of Your Data?
      • Can I Suggest a New Event Category?
      • Does PredictHQ Have Historical Event Data?
      • Is There a PredictHQ Mobile App?
      • What Are Labels?
      • What Countries Do You Have School Holidays For?
      • What Do The Different Event Ranks Mean?
      • What Does Event Visibility Window Mean?
      • What Is the Difference Between an Observed Holiday and an Observance?
    • Tools
      • Is PHQ Attendance Available for All Categories?
      • See Event Trends in the WebApp
      • What is Event Trends?
      • Live TV Events
        • What is Live TV Events?
        • Can You Access Live TV Events via the WebApp?
        • How Do I Integrate Live TV Events into Forecasting Models?
      • Labels
        • What Does the Closed-Doors Label Mean?
    • Beam (Relevancy Engine)
      • An Overview of Beam - Relevancy Engine
      • Creating an Analysis in Beam
      • Uploading Your Demand Data to Beam
      • Viewing the List of Analysis in Beam
      • Viewing the Table of Results in Beam
      • Viewing the Category Importance Information in Beam
      • Feature Importance With Beam - Find the ML Features to Use in Your Forecasts
      • Beam Value Quantification
      • Exporting Correlation Data With Beam
      • Getting More Details on a Date on the Beam Graph
      • Grouping Analyses in Beam
      • Using the Beam Graph
      • Viewing the Time Series Impact Analysis in Beam
    • Location Insights
      • An Overview of Location Insights
      • How to Set a Default Location
      • How Do I Add a Location?
      • How Do I Edit a Location?
      • How Do I Share Location Insights With My Team?
      • How Do I View Details for One Location?
      • How Do I View My Saved Locations as a List?
      • Search and View Event Impact in Location Insights
      • What Do Each of the Columns Mean?
      • What Is the Difference Between Center Point & Radius and City, State, Country?
Powered by GitBook

PredictHQ

  • Terms of Service
  • Privacy Policy
  • GitHub

© 2025 PredictHQ Ltd

On this page
  • Request
  • HTTP Request
  • Query Parameters
  • Response
  • Response Fields
  • Examples
  • Guides

Was this helpful?

  1. API Reference
  2. Loop
  3. Loop Feedback

Search Feedback

Search feedback conversations submitted by your organization.

Conversations are used to track feedback on existing events for example feedback on incorrect attendance or start and end dates for an event. Each piece of feedback submitted by a user is tracked as a conversation and will be returned by this endpoint. You can use this to display a list of event feedback conversations submitted with Loop Links by users in your application.

Request

HTTP Request

GET https://api.predicthq.com/v1/loop/feedback/conversations

Query Parameters

Parameter
Description

q string

Full-text search over conversations. E.g. ?q=event+a+cancelled

link_id string

Comma separated list of Loop Link IDs through which conversations were created. E.g ?link_id=m4Dk4g4DRA8Yqbp2PC54

conversation_id string

Comma separated list of conversation IDs. E.g ?conversation_id=Eeh4ahnohghah0deeshahda

record_id string

Comma separated list of Record IDs.

Record IDs can refer to either an Event ID (record type event-public) or a Loop Submission (record type event-loop). E.g ?record_id=5uRg7CqGu7DTtu4Rfk

record_type string

Comma separated list of record types for which to filter on. Possible values:

  • event-loop - Loop Submission ID.

E.g ?record_type=event-public

feedback_type string

Comma separated list of feedback types. Possible values:

  • attendance_or_rank

  • category

  • dates

  • general

  • polygon

  • venue

E.g ?feedback_type=general

user_id string

Comma separated list of User IDs. E.g. ?user_id=hw8Dsmv4Djg

status string

Comma separated list of feedback status. Possible values:

  • open

  • closed

E.g ?status=open

created string

The date from and/or to the feedback has been created. Must be used with one of more of the suffixes:

  • lt

  • lte

  • gt

  • gte

E.g. ?created.gt=2023-03-04&created.lte=2023-05-01

updated string

The date from and/or to the feedback has been updated.

Must be used with one of more of the suffixes:

  • lt

  • lte

  • gt

  • gte

E.g. ?updated.gt=2023-03-04&updated.lte=2023-05-01

sort string

Comma-separated list of sort options. Prefix the field name with - for reverse order. Possible values:

  • created

  • updated

  • relevance

Default value is ?sort=relevance,created

E.g. ?sort=-updated

limit number

The maximum number of results to return.

The default limit is 10. E.g. ?limit=10

offset number

The number of results to skip.

The default is 0. E.g. ?offset=20

Response

Response Fields

Field
Description

count number

Total number of results found.

conversations array

List of results where each item is a Conversation.

Please refer to the Conversation Response Fields section below for the structure of each record.

Conversation Response Fields

Field
Description

conversation_id string

The unique identifier of the conversation. E.g. Eeh4ahnohghah0deeshahda

create_dt string

E.g. 2022-04-26T11:46:24+00:00

update_dt string

E.g. 2022-04-26T11:46:24+00:00

link_id string

Loop Link ID that was used to submit this feedback. Will only be available on feedback created with a Loop Link. E.g. m4Dk4g4DRA8Yqbp2PC54

record_id string

Record ID this feedback is in reference to. This could be either an Event ID (record type event-public) or a Loop Submission (record type event-loop). The record_type value defines what type of Record ID this is. E.g. 5uRg7CqGu7DTtu4Rfk

record_type string

Record type this feedback is in reference to.

Possible types:

  • event-public

  • event-loop

E.g. event-public

feedback object

Feedback can be provided for different fields.

Possible types:

  • attendance_or_rank - Attendance or Rank

  • category - Category might need adjusting

  • dates - Dates might need adjusting

  • duplicate - Record might be a duplicate

  • general - Other feedback

  • polygon - Polygon might need adjusting

  • submitted - Feedback about an existing Loop submission

  • venue - Venue might need adjusting

E.g.

log array

Log of actions taken with the feedback.

E.g.

status string

Status of the feedback.

Possible values:

  • open

  • closed

E.g. open

Example response

Below is an example response:

{
  "count": 1,
  "conversations": [
    {
      "conversation_id": "Eeh4ahnohghah0deeshahda",
      "create_dt": "2021-05-25T05:33:53+00:00",
      "update_dt": "2021-05-25T05:38:08+00:00",
      "link_id": "m4Dk4g4DRA8Yqbp2PC54",
      "record_id": "5uRg7CqGu7DTtu4Rfk",
      "record_type": "event-public",
      "feedback": {
        "type": "submitted"
      },
      "log": [
        {
          "action": {
            "type": "created"
          },
          "timestamp": "2023-05-30T02:44:46+00:00",
          "creator": {
            "type": "unauthenticated_user",
            "link_id": "m4Dk4g4DRA8Yqbp2PC54"
          },
          "note": "This event title should be different"
        },
        {
          "action": {
            "type": "comment"
          },
          "timestamp": "2023-05-30T02:59:11+00:00",
          "creator": {
            "type": "user",
            "user_id": "hw8Dsmv4Djg"
          },
          "note": "Thank you for your feedback. Someone from PredictHQ will pick this up."
        },
        {
          "action": {
            "type": "comment"
          },
          "timestamp": "2023-05-30T03:41:06+00:00",
          "creator": {
            "type": "moderator"
          },
          "note": "Absolutely, we'll change this right away "
        }
      ],
      "status": "open"
    }
  ]
}

Examples

curl -X GET "https://api.predicthq.com/v1/loop/feedback/conversations?link_id=m4Dk4g4DRA8Yqbp2PC54" \
     -H "Accept: application/json" \
     -H "Authorization: Bearer $ACCESS_TOKEN"
import requests

response = requests.get(
    url="https://api.predicthq.com/v1/loop/events",
    headers={
      "Authorization": "Bearer $ACCESS_TOKEN",
      "Accept": "application/json"
    },
    params={
        "link_id": "m4Dk4g4DRA8Yqbp2PC54"
    }
)

print(response.json())

Guides

Below are some guides relevant to this API:

PreviousLoop FeedbackNextPlaces

Last updated 6 months ago

Was this helpful?

event-public - Event ID available via .

The creation date time for the record in format.

The last update date time for the location in format.

{
  "feedback": {
    "type": "submitted"
  }
}
{
  "log": [
    {
      "action": {
        "type": "comment"
      },
      "timestamp": "2023-05-30T02:59:11+00:00",
      "creator": {
        "type": "user",
        "user_id": "hw8Dsmv4Djg"
      },
      "note": "Thank you for your feedback. Someone from PredictHQ will pick this up."
    }
  ]
}
Integrate with Loop Links
Events API
ISO 8601 format
ISO 8601 format