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

# Resolve Quotes

Resolve quoted text within answers to their start and end timings

# 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": {
    "requestBodies": {
      "CreateQuotes": {
        "description": "Resolve Quote Timings",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "videos": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Video"
                  }
                }
              },
              "required": [
                "videos"
              ]
            }
          }
        }
      }
    },
    "responses": {
      "Quotes": {
        "description": "Quotes resolved to their timings",
        "content": {
          "application/json": {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Quote"
              }
            }
          }
        }
      },
      "BadRequestError": {
        "description": "Request content is invalid",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Bad Request."
            }
          }
        }
      },
      "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"
          }
        }
      },
      "Quote": {
        "type": "object",
        "readOnly": true,
        "description": "A quote resolved to its timings within an answer",
        "properties": {
          "id": {
            "type": "string",
            "readOnly": true
          },
          "duration": {
            "type": "string",
            "readOnly": true,
            "example": "6.180"
          },
          "start": {
            "type": "string",
            "readOnly": true,
            "example": "0.000"
          },
          "end": {
            "type": "string",
            "readOnly": true,
            "example": "6.180"
          },
          "quote": {
            "type": "string",
            "readOnly": true
          }
        }
      },
      "Video": {
        "type": "object",
        "description": "A reference to an answer within a vouch, optionally trimmed to a quote",
        "properties": {
          "id": {
            "type": "string",
            "description": "Vouch id"
          },
          "index": {
            "type": "integer",
            "minimum": 1,
            "description": "Question number within the vouch",
            "example": 1
          },
          "quote": {
            "type": "string",
            "description": "Text to trim the answer to"
          },
          "label": {
            "type": "string",
            "description": "Title for this video within the playlist - the chapter heading a viewer sees. Defaults to the video's own name.",
            "example": "Setting up your workstation"
          }
        },
        "required": [
          "id"
        ]
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKey": []
    }
  ],
  "tags": [
    {
      "name": "Vouch"
    }
  ],
  "paths": {
    "/vouches/quotes": {
      "post": {
        "summary": "Resolve Quotes",
        "description": "Resolve quoted text within answers to their start and end timings",
        "tags": [
          "Vouch"
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateQuotes"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Quotes"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestError"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  }
}
```