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

# Senja-io Wol

> This endpoint is used to fetch reviews from senja for a specified business.



## OpenAPI

````yaml POST /senja-io/wol
openapi: 3.1.0
info:
  title: OpenAPI Plant Store
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.hobbo.ai
    description: Main API server
  - url: https://py-api.hobbo.ai
    description: Python API server for scraper endpoints
security:
  - ApiKeyAuth: []
paths:
  /senja-io/wol:
    post:
      description: >-
        This endpoint is used to fetch reviews from senja for a specified
        business.
      requestBody:
        description: senja review scraping parameters
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SenjaWolRequest'
        required: true
      responses:
        '200':
          description: Reviews fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SenjaWolResponse'
              examples:
                validationError:
                  value:
                    all_reviews: []
                    extra_information: {}
                    message: <string>
        '400':
          description: Validation error or unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                validationError:
                  value:
                    error: <string>
      servers:
        - url: https://py-api.hobbo.ai
components:
  schemas:
    SenjaWolRequest:
      type: object
      required:
        - query
      properties:
        query:
          type: string
          description: Provide proper senja wol of love url
        reviews_to_fetch:
          type: number
          description: >-
            Number of reviews to fetch (default: all reviews, or within
            30-second timeout)
        sync_date:
          type: string
          description: 'Fetches reviews posted on a specific date using format: YYYY-MM-DD'
    SenjaWolResponse:
      type: object
      properties:
        all_reviews:
          type: array
          description: Array of fetched reviews from Senja
          items:
            type: object
            properties:
              author_company:
                type: string
                description: Company name of the review author
              author_company_logo_url:
                type: string
                description: URL of the author's company logo
              author_default_position:
                type: string
                description: Default position/title of the author
              author_name:
                type: string
                description: Name of the review author
              author_position:
                type: string
                description: Position/title of the review author
              author_profile_image_url:
                type: string
                description: URL of the author's profile image
              author_profile_tagline:
                type: string
                description: Tagline or bio of the author
              author_profile_url:
                type: string
                description: URL of the author's profile page
              author_usernames:
                type: object
                description: Object containing author's usernames on various platforms
              metrics:
                type: object
                description: Performance metrics or analytics data
              query:
                type: string
                description: Original query URL used to fetch the review
              review_date:
                type: string
                description: Date when the review was posted
              review_image_urls:
                type: array
                description: Array of image URLs associated with the review
                items:
                  type: string
              review_images_data:
                type: array
                description: Array of image data objects
                items:
                  type: object
                  properties:
                    alt:
                      type: string
                      description: Alt text for the image
                    url:
                      type: string
                      description: URL of the image
              review_rating:
                type: number
                description: Numerical rating given in the review
              review_source:
                type: string
                description: Source platform where the review was originally posted
              review_text:
                type: string
                description: Full text content of the review
              review_title:
                type: string
                description: Title of the review
              review_url:
                type: string
                description: Direct URL to the review
              review_video_thumbnail_url:
                type: string
                description: URL of video thumbnail if review contains video
              review_video_url:
                type: string
                description: URL of video if review contains video
              video_transcript:
                type: string
                description: Text transcript of video content
            required:
              - author_name
              - query
              - review_date
              - review_text
        extra_information:
          type: object
          description: Additional metadata about the reviews
          properties:
            extra_information:
              type: object
              description: Additional extra information object
            total_review_count:
              type: integer
              description: Total number of reviews fetched
            total_review_count_list:
              type: array
              description: Array containing review count range
              items:
                type: integer
        message:
          type: string
          description: Status message about the review extraction process
    Error:
      type: object
      properties:
        status:
          type: integer
          description: HTTP status code
        data:
          type: object
          description: Empty object or additional error data
        success:
          type: boolean
          description: Indicates operation failed
          example: false
        message:
          type: string
          description: Error message describing what went wrong

````