fishbowlAPI API

Single Send Campaign Email

Triggers a single-send campaign email to a specific email address. The email address must belong to an existing member.

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": {
      "SingleSendRequest": {
        "type": "object",
        "required": [
          "emailAddress"
        ],
        "properties": {
          "emailAddress": {
            "type": "string",
            "format": "email"
          }
        }
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "Campaign API",
      "description": "Trigger single-send campaign emails."
    }
  ],
  "paths": {
    "/api/public/campaign/mail/single-send/{campaignUuid}": {
      "post": {
        "summary": "Single Send Campaign Email",
        "description": "Triggers a single-send campaign email to a specific email address. The email address must belong to an existing member.",
        "operationId": "singleSendCampaign",
        "tags": [
          "Campaign API"
        ],
        "parameters": [
          {
            "name": "campaignUuid",
            "in": "path",
            "required": true,
            "description": "Campaign UUID.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "$ref": "#/components/parameters/ClientUuid"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SingleSendRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Email queued for delivery.",
            "content": {
              "application/json": {
                "example": {
                  "success": true,
                  "message": "Email is being queued."
                }
              }
            }
          },
          "400": {
            "description": "Validation error, campaign not found, or email not a known member."
          }
        }
      }
    }
  }
}