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

# Sign an Image CDN URL

> Generate a signed `/cdn/v1` URL for an exact Convertly Storage file and transform. The Authorization header must contain the full delivery token (`Bearer cvly_pub_...`).



## OpenAPI

````yaml /openapi.json post /api/delivery-keys/{id}/sign
openapi: 3.1.0
info:
  title: Convertly API
  version: 1.0.0
  description: >-
    Convertly provides production API endpoints for media conversion,
    compression, Image CDN delivery, Forma AI, HLS/DASH video streaming, media
    tools, async jobs, workflows, webhooks, and Convertly Storage.
  license:
    name: Proprietary
    url: https://convertly.sh/terms
servers:
  - url: https://convertly.sh
security:
  - bearerAuth: []
  - apiKeyAuth: []
paths:
  /api/delivery-keys/{id}/sign:
    post:
      tags:
        - Image CDN
      summary: Sign an Image CDN URL
      description: >-
        Generate a signed `/cdn/v1` URL for an exact Convertly Storage file and
        transform. The Authorization header must contain the full delivery token
        (`Bearer cvly_pub_...`).
      operationId: signDeliveryUrl
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                fileId:
                  type: string
                  format: uuid
                params:
                  type: object
                  additionalProperties:
                    type:
                      - string
                      - number
                      - boolean
                baseUrl:
                  type: string
                  format: uri
              required:
                - fileId
      responses:
        '200':
          description: Signed delivery URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    format: uri
                  signature:
                    type: string
                required:
                  - url
                  - signature
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '500':
          $ref: '#/components/responses/Error'
components:
  responses:
    Error:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        upgradeUrl:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Dashboard-generated Convertly API key. Keys currently begin with
        `cvly_`.
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Alternative API key header for server-side clients.

````