Get All Guests
Retrieves guest profiles with filtering and sorting options. Supports including related data like stats, attributes, tags, checks, and reservations.
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": "Guest API",
"description": "Retrieve guest profiles and data."
}
],
"paths": {
"/api/public/guest": {
"get": {
"summary": "Get All Guests",
"description": "Retrieves guest profiles with filtering and sorting options. Supports including related data like stats, attributes, tags, checks, and reservations.",
"operationId": "getGuests",
"tags": [
"Guest API"
],
"parameters": [
{
"$ref": "#/components/parameters/ClientUuid"
},
{
"$ref": "#/components/parameters/BrandUuid"
},
{
"$ref": "#/components/parameters/Limit"
},
{
"$ref": "#/components/parameters/Offset"
},
{
"name": "filter[customerMobilePhone]",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "filter[attribute]",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "filter[customerFirstName]",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "filter[customerEmailAddress]",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "filter[segmentUuid]",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "order[firstName]",
"in": "query",
"schema": {
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
{
"name": "order[lastName]",
"in": "query",
"schema": {
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
{
"name": "order[customerEmailAddress]",
"in": "query",
"schema": {
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
{
"name": "order[lastVisit]",
"in": "query",
"schema": {
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
{
"name": "include[]",
"in": "query",
"required": false,
"schema": {
"type": "string",
"enum": [
"stats",
"attributes",
"tags",
"targetable",
"tag",
"check",
"reservation"
]
}
}
],
"responses": {
"200": {
"description": "List of guests.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiResponse"
}
}
}
},
"400": {
"description": "No results found."
}
}
}
}
}
}