---
updatedAt: 2026-09-10T06:16:17.000Z
agentTools:
  projectIndex: https://developer.vouchfor.com/llms.txt
---

# Search Vouches

Search Vouches

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Vouch",
    "description": "test",
    "termsOfService": "https://vouchfor.com/terms",
    "contact": {
      "name": "Vouch API Support",
      "email": "support@vouchfor.com"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{environment}.vouchfor.com/v1",
      "variables": {
        "environment": {
          "default": "api",
          "enum": [
            "api",
            "api-staging"
          ]
        }
      }
    },
    {
      "url": "https://{environment}.vouchfor.com/v1/entities/{entityId}",
      "variables": {
        "environment": {
          "default": "api",
          "enum": [
            "api",
            "api-staging"
          ]
        },
        "entityId": {
          "default": "demo",
          "description": "Entity ID"
        }
      }
    }
  ],
  "components": {
    "parameters": {
      "Query": {
        "name": "query",
        "in": "query",
        "description": "Free text search query",
        "schema": {
          "type": "string"
        }
      },
      "Tags": {
        "name": "tags",
        "in": "query",
        "description": "Filter by tag name",
        "schema": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "Limit": {
        "name": "limit",
        "in": "query",
        "description": "Maximum number of items to return",
        "schema": {
          "type": "integer"
        }
      },
      "NextToken": {
        "name": "nextToken",
        "in": "query",
        "description": "Pagination token returned by a previous request",
        "schema": {
          "type": "string"
        }
      },
      "ApprovalStatus": {
        "name": "approvalStatus",
        "in": "query",
        "description": "Filter by approval status",
        "schema": {
          "type": "string",
          "example": "APPROVED"
        }
      },
      "Status": {
        "name": "status",
        "in": "query",
        "description": "Filter by status",
        "schema": {
          "type": "string"
        }
      },
      "ProjectId": {
        "name": "projectId",
        "in": "query",
        "description": "Filter by project id",
        "schema": {
          "type": "string"
        }
      },
      "CampaignId": {
        "name": "campaignId",
        "in": "query",
        "description": "Filter by campaign id",
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "VouchSearch": {
        "description": "Paginated Vouch Search Results",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Vouch"
                  }
                },
                "nextToken": {
                  "type": "string"
                },
                "total": {
                  "type": "integer"
                }
              }
            }
          }
        }
      },
      "UnauthorizedError": {
        "description": "Invalid API key",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Unauthorized."
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Internal Server Error."
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          }
        }
      },
      "Note": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "example": "thanks for Vouching for us!"
          }
        }
      },
      "Vouch": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "externalid": {
                "type": "string",
                "minLength": 1,
                "maxLength": 50,
                "example": "my-application-id"
              },
              "createddate": {
                "type": "string",
                "format": "date-time",
                "readOnly": true,
                "example": "2021-01-01T12:00:00.000Z"
              },
              "updateddate": {
                "type": "string",
                "format": "date-time",
                "readOnly": true,
                "example": "2022-01-01T12:00:00.000Z"
              }
            }
          },
          {
            "type": "object",
            "properties": {
              "note": {
                "$ref": "#/components/schemas/Note"
              }
            }
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "readOnly": true,
                "example": "vvvvvvvvvv"
              },
              "admin": {
                "type": "string",
                "format": "uri",
                "readOnly": true,
                "example": "https://admin.vouchfor.com/admin/vouches/vvvvvvvvvv"
              },
              "status": {
                "type": "string",
                "enum": [
                  "DRAFT",
                  "PUBLISHED",
                  "SENT",
                  "OPENED",
                  "DECLINED",
                  "SCHEDULED",
                  "SUBMITTED",
                  "RESPONDED",
                  "ERROR"
                ],
                "readOnly": true,
                "example": "RESPONDED"
              },
              "approvalStatus": {
                "type": "string",
                "enum": [
                  "APPROVED",
                  "INTERNAL",
                  "REJECTED",
                  "PENDING",
                  "ARCHIVED",
                  "READY_FOR_REVIEW"
                ],
                "readOnly": true,
                "example": "APPROVED"
              },
              "url": {
                "type": "string",
                "format": "uri",
                "readOnly": true,
                "example": "https://app.vouchfor.com/vvvvvvvvvv"
              }
            }
          }
        ]
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKey": []
    }
  ],
  "tags": [
    {
      "name": "Vouch"
    }
  ],
  "paths": {
    "/vouches/search": {
      "get": {
        "summary": "Search Vouches",
        "description": "Search Vouches",
        "tags": [
          "Vouch"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/Query"
          },
          {
            "$ref": "#/components/parameters/Tags"
          },
          {
            "$ref": "#/components/parameters/Status"
          },
          {
            "$ref": "#/components/parameters/ApprovalStatus"
          },
          {
            "$ref": "#/components/parameters/CampaignId"
          },
          {
            "$ref": "#/components/parameters/ProjectId"
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/NextToken"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/VouchSearch"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  }
}
```