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

# Promote Competitor Suggestion

> Promote a suggested competitor to a tracked Competitor row.

The plan's competitor quota is enforced inside the manager - a 403 is
raised if the website already has ``competitors_limit`` active rows.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/public/competitors/suggestions/{suggestion_id}/promote
openapi: 3.1.0
info:
  title: Hikoo REST API
  description: >-
    Programmatic access to your Hikoo data: citations, prompts, competitors,
    audits, health and more. Authenticate with a personal API key
    (`Authorization: Bearer <key>`) created from the dashboard settings.
  version: 1.0.0
servers:
  - url: https://api.tryhikoo.com
security:
  - apiKey: []
paths:
  /api/v1/public/competitors/suggestions/{suggestion_id}/promote:
    post:
      tags:
        - Competitors
      summary: Promote Competitor Suggestion
      description: |-
        Promote a suggested competitor to a tracked Competitor row.

        The plan's competitor quota is enforced inside the manager - a 403 is
        raised if the website already has ``competitors_limit`` active rows.
      operationId: >-
        promote_competitor_suggestion_api_v1_public_competitors_suggestions__suggestion_id__promote_post
      parameters:
        - name: suggestion_id
          in: path
          required: true
          schema:
            type: integer
            title: Suggestion Id
        - name: website_id
          in: query
          required: true
          schema:
            type: integer
            description: Target website id
            title: Website Id
          description: Target website id
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Bearer <api_key>
            title: Authorization
          description: Bearer <api_key>
        - name: X-MCP-Secret
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Mcp-Secret
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuggestedCompetitorPromoteRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompetitorWithoutLogo'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SuggestedCompetitorPromoteRequest:
      properties:
        url:
          anyOf:
            - type: string
              maxLength: 2048
              minLength: 1
            - type: 'null'
          title: Url
        logo_url:
          anyOf:
            - type: string
              maxLength: 2048
            - type: 'null'
          title: Logo Url
        aliases:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Aliases
        link_to_competitor_id:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Link To Competitor Id
      type: object
      title: SuggestedCompetitorPromoteRequest
      description: |-
        Two mutually-exclusive ways to promote a suggestion:

        1. Create a new Competitor (``url`` required, optional ``logo_url`` +
           ``aliases``). The Competitor model has a NOT NULL UNIQUE url column,
           so a brand-new competitor needs one.
        2. Link the suggestion to an already-tracked Competitor as an alias
           (``link_to_competitor_id`` required). The suggestion's display name
           is appended to the target competitor's ``aliases`` array, and the
           suggestion's historical citation attribution is rerouted to that
           existing competitor — no new row is created.

        Exactly one of the two modes must be supplied.
    CompetitorWithoutLogo:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        url:
          type: string
          title: Url
        aliases:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Aliases
      type: object
      required:
        - id
        - name
        - url
      title: CompetitorWithoutLogo
      description: Competitor schema without logo
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Personal API key created in the dashboard (Settings > API keys).

````