fishbowlAPI API

Get All Feedback

Retrieves all guest feedback and reviews, merging internal feedback and external reviews sorted by date. Supports filtering by rating, platform, store, and email.

OpenAPI definition

{
  "openapi": "3.1.0",
  "info": {
    "title": "Fishbowl Public API",
    "version": "1.0",
    "description": "The Fishbowl Public API provides programmatic access to manage guests, loyalty programs, subscriptions, tags, and more within the Fishbowl GRM platform."
  },
  "servers": [
    {
      "url": "https://api.fishbowl.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "Your Fishbowl API key for authentication and rate limiting."
      }
    },
    "parameters": {
      "ClientUuid": {
        "name": "X-Delightable-Client-Uuid",
        "in": "header",
        "required": true,
        "description": "Identifies the client context.",
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "BrandUuid": {
        "name": "X-Delightable-Brand-Uuid",
        "in": "header",
        "required": false,
        "description": "Narrows scope to a specific brand.",
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "Limit": {
        "name": "limit",
        "in": "query",
        "required": false,
        "description": "Number of results to return (max 96).",
        "schema": {
          "type": "integer",
          "default": 96,
          "maximum": 96
        }
      },
      "Offset": {
        "name": "offset",
        "in": "query",
        "required": false,
        "description": "Offset for pagination.",
        "schema": {
          "type": "integer",
          "default": 0
        }
      }
    },
    "schemas": {
      "ApiResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "data": {},
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "error_code": {
            "type": "integer",
            "nullable": true
          },
          "total": {
            "type": "integer",
            "nullable": true
          },
          "cache_hit": {
            "type": "boolean"
          }
        }
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "Feedback API",
      "description": "Retrieve guest feedback and reviews."
    }
  ],
  "paths": {
    "/api/public/feedback": {
      "get": {
        "summary": "Get All Feedback",
        "description": "Retrieves all guest feedback and reviews, merging internal feedback and external reviews sorted by date. Supports filtering by rating, platform, store, and email.",
        "operationId": "getFeedback",
        "tags": [
          "Feedback API"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ClientUuid"
          },
          {
            "$ref": "#/components/parameters/BrandUuid"
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Offset"
          },
          {
            "name": "filter[rating]",
            "in": "query",
            "schema": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3,
                4,
                5
              ]
            }
          },
          {
            "name": "filter[platform]",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter[storeUuid]",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filter[emailAddress]",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order[rating]",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          {
            "name": "include[]",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "guest",
                "store"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of feedback reviews.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "400": {
            "description": "No results found."
          }
        }
      }
    }
  }
}