fishbowlAPI API

Search Members

Search for members across both email and SMS channels by phone number and/or email address.

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"
        }
      }
    },
    "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"
          }
        }
      },
      "MemberSearchRequest": {
        "type": "object",
        "properties": {
          "phoneNumber": {
            "type": "string"
          },
          "emailAddress": {
            "type": "string",
            "format": "email"
          }
        },
        "description": "At least one of phoneNumber or emailAddress must be provided."
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "Member API",
      "description": "Manage email members and search across channels."
    }
  ],
  "paths": {
    "/api/public/member/search": {
      "post": {
        "summary": "Search Members",
        "description": "Search for members across both email and SMS channels by phone number and/or email address.",
        "operationId": "searchMembers",
        "tags": [
          "Member API"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ClientUuid"
          },
          {
            "name": "include[]",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "subscription",
                "tag"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Matched members with channel information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "400": {
            "description": "No matching members found."
          }
        }
      }
    }
  }
}