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

# Retrieve tags from a specific channel

> Retrieve the tags for a single channel, identified by channelId and merchantId. Organisation-wide tags are prefixed with 'org://'. A channel with no tags returns an empty tags array.



## OpenAPI

````yaml /api-reference/openapi.json get /tags/channel
openapi: 3.0.1
info:
  title: MerchantSpring Public API
  version: 1.0.0
servers:
  - url: https://mm-api.merchantspring.io
    description: Production
  - url: https://mm-api-staging.merchantspring.io
    description: Staging
security: []
tags:
  - name: channel
    x-group: Channel
  - name: content-change
    x-group: Content Change
  - name: custom-group
    x-group: Custom Group
  - name: order
    x-group: Order
  - name: report
    x-group: Report
  - name: tag
    x-group: Tag
  - name: profitability
    x-group: Profitability
paths:
  /tags/channel:
    get:
      tags:
        - tag
      summary: Retrieve tags from a specific channel
      description: >-
        Retrieve the tags for a single channel, identified by channelId and
        merchantId. Organisation-wide tags are prefixed with 'org://'. A channel
        with no tags returns an empty tags array.
      operationId: getChannelTags
      parameters:
        - name: channelId
          in: query
          description: Channel (store) ID
          required: true
          schema:
            type: string
        - name: merchantId
          in: query
          description: >-
            Merchant ID of the channel (URL-encode values containing spaces or
            '@')
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful operation
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicChannelTags'
        '400':
          description: Invalid input
          content: {}
      security:
        - api_key: []
components:
  schemas:
    PublicChannelTags:
      type: object
      properties:
        channelId:
          type: string
          nullable: true
          description: Channel (store) ID, resolved from the merchant ID where available
        merchantId:
          type: string
          nullable: true
          description: Merchant ID of the channel
        tags:
          type: array
          description: >-
            Tags for the channel. Organisation-wide tags are prefixed with
            'org://'.
          items:
            type: string
      example:
        channelId: A1234567890ABC
        merchantId: XXXUS @ ATVPDKIKX0DER
        tags:
          - amazon
          - org://ebay
  securitySchemes:
    api_key:
      type: apiKey
      name: x-api-key
      in: header

````