> ## Documentation Index
> Fetch the complete documentation index at: https://www.studyfetch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get component data for embed



## OpenAPI

````yaml /openapi-components.json get /api/v1/embed/component/{componentId}
openapi: 3.0.0
info:
  title: StudyFetch API
  description: API documentation for StudyFetch
  version: '1.0'
  contact: {}
servers:
  - url: https://studyfetchapi.com
    description: Production API Server
security: []
tags: []
paths:
  /api/v1/embed/component/{componentId}:
    get:
      tags:
        - Embed
      summary: Get component data for embed
      operationId: getComponent
      parameters:
        - name: componentId
          required: true
          in: path
          description: Component ID or MongoDB _id
          schema:
            type: string
        - name: token
          required: true
          in: query
          description: Embed token
          schema:
            type: string
      responses:
        '200':
          description: Component data retrieved
        '400':
          description: Invalid token or component ID

````