> ## 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.

# Create a signed transform URL



## OpenAPI

````yaml /openapi.json post /api/media/signed-transform
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/media/signed-transform:
    post:
      tags:
        - Media Tools
      summary: Create a signed transform URL
      operationId: createSignedTransformUrl
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignedTransformRequest'
      responses:
        '200':
          description: Signed image transform URL
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignedTransformResponse'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '500':
          $ref: '#/components/responses/Error'
components:
  schemas:
    SignedTransformRequest:
      type: object
      required:
        - sourceUrl
      properties:
        sourceUrl:
          type: string
          format: uri
          description: Public HTTPS image URL to transform.
        preset:
          type: string
          enum:
            - ecommerce
            - avatar
            - blog-hero
            - social-preview
        width:
          type: integer
        height:
          type: integer
        fit:
          type: string
          enum:
            - cover
            - contain
            - fill
            - inside
            - outside
        cropLeft:
          type: integer
        cropTop:
          type: integer
        cropWidth:
          type: integer
        cropHeight:
          type: integer
        format:
          $ref: '#/components/schemas/ImageToolFormat'
        quality:
          type: integer
          minimum: 1
          maximum: 100
        expiresIn:
          type: integer
          minimum: 60
          maximum: 604800
          default: 3600
    SignedTransformResponse:
      type: object
      properties:
        url:
          type: string
          format: uri
        expiresAt:
          type: string
          format: date-time
      required:
        - url
        - expiresAt
    ImageToolFormat:
      type: string
      enum:
        - jpg
        - png
        - webp
        - avif
    Error:
      type: object
      properties:
        error:
          type: string
        upgradeUrl:
          type: string
      required:
        - error
  responses:
    Error:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/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.

````