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

# Get a product sticker

> Cut a catalog product's best image into a transparent-background sticker.

Takes a product page ``url`` or a ``product_id`` for a product already in
the Channel3 catalog. Charges 1 credit per call.

Only products already in the Channel3 catalog can be stickered. A `url` the catalog doesn't hold returns 404; it is never fetched. See [Product stickers](/sdk/sticker.md) for SDK examples.


## OpenAPI

````yaml post /experimental/sticker
openapi: 3.1.0
info:
  title: Channel3 API
  version: 0.1.0
servers:
  - url: https://api.trychannel3.com
    description: Production
security: []
paths:
  /experimental/sticker:
    post:
      tags:
        - v1
      summary: Get a product sticker
      description: >-
        Cut a catalog product's best image into a transparent-background
        sticker.


        Takes a product page ``url`` or a ``product_id`` for a product already
        in

        the Channel3 catalog. Charges 1 credit per call.
      operationId: get_sticker_experimental_sticker_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StickerRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StickerResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/app__models__error_responses__ErrorResponse
        '401':
          description: Unauthorized - Invalid or missing authentication
          content:
            application/json:
              examples:
                missing_key:
                  summary: Missing API Key
                  value:
                    detail: >-
                      Unauthorized. Missing authentication key. Make sure to
                      attach an x-api-key with your request. Need help? Reach
                      out to support@trychannel3.com.
                invalid_key:
                  summary: Invalid API Key
                  value:
                    detail: >-
                      API key was provided but is invalid. Need help? Reach out
                      to support@trychannel3.com.
              schema:
                $ref: '#/components/schemas/app__routers__utils__ErrorResponse'
        '402':
          description: Payment required
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/app__models__error_responses__ErrorResponse
        '404':
          description: The product is not in the Channel3 catalog
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/app__models__error_responses__ErrorResponse
        '422':
          description: The product's images cannot be cut into a sticker
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/app__models__error_responses__ErrorResponse
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__routers__utils__ErrorResponse'
              example:
                detail: Internal Server Error
        '503':
          description: The sticker renderer is unavailable
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/app__models__error_responses__ErrorResponse
      security:
        - APIKeyHeader: []
      x-codeSamples:
        - lang: python
          label: Python
          source: |
            from channel3_sdk import Channel3
            from channel3_sdk.environment import Channel3Environment

            client = Channel3(
                api_key="<value>",
                environment=Channel3Environment.PRODUCTION,
            )

            client.experimental.get_sticker()
        - lang: typescript
          label: TypeScript
          source: |
            import { Channel3 } from "@channel3/sdk";

            const client = new Channel3({ apiKey: "YOUR_API_KEY" });

            await client.experimental.getSticker();
components:
  schemas:
    StickerRequest:
      properties:
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
          description: Product page URL of a product already in the Channel3 catalog.
        product_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Id
          description: Channel3 product ID.
      additionalProperties: false
      type: object
      title: StickerRequest
      description: >-
        Identify a product already in the Channel3 catalog to render as a
        sticker.
    StickerResponse:
      properties:
        product_id:
          type: string
          title: Product Id
          description: Channel3 product ID the sticker shows.
        source_image_url:
          type: string
          title: Source Image Url
          description: Product image the sticker was cut from.
        sticker_url:
          type: string
          title: Sticker Url
          description: >-
            Transparent-background WebP of the product, tight-cropped with a
            small transparent margin.
      type: object
      required:
        - product_id
        - source_image_url
        - sticker_url
      title: StickerResponse
    app__models__error_responses__ErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Standard error response model.
    app__routers__utils__ErrorResponse:
      properties:
        detail:
          anyOf:
            - type: string
            - items:
                additionalProperties: true
                type: object
              type: array
          title: Detail
      type: object
      required:
        - detail
      title: ErrorResponse
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.