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

# Create a delivery

> Creates a delivery from an uploaded release file. Call this after uploading the ZIP to the URL returned by `POST /distribution/v1/deliveries/files`. Returns a `delivery_id` and initial `status`.



## OpenAPI

````yaml /enterprises/distribution/openapi.json post /distribution/v1/deliveries
openapi: 3.1.0
info:
  title: Musixmatch Distribution API
  version: 1.0.0
  description: >-
    API for music distributors to submit releases and lyrics to the Musixmatch
    catalog.
servers:
  - url: https://varco-{partner}.musixmatch.com
    description: >-
      Replace {partner} with the identifier assigned to your organization during
      onboarding
    variables:
      partner:
        default: partner
        description: Identifier assigned to your organization during onboarding
security:
  - bearerAuth: []
paths:
  /distribution/v1/deliveries:
    post:
      tags:
        - Deliveries
      summary: Create a delivery
      description: >-
        Creates a delivery from an uploaded release file. Call this after
        uploading the ZIP to the URL returned by `POST
        /distribution/v1/deliveries/files`. Returns a `delivery_id` and initial
        `status`.
      operationId: createDelivery
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDeliveryRequest'
            example:
              musixmatch_user_id: mxm:123456789012345678901
              file_id: 123456
      responses:
        '201':
          description: Delivery created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateDeliveryEnvelope'
              example:
                message: delivery created
                data:
                  delivery:
                    delivery_id: 123456
                    status: pending
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found — the uploaded file does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                message: file not found
                data:
                  error:
                    code: '004'
        '502':
          $ref: '#/components/responses/BadGateway'
components:
  schemas:
    CreateDeliveryRequest:
      type: object
      required:
        - musixmatch_user_id
        - file_id
      properties:
        musixmatch_user_id:
          type: string
          description: >-
            The Musixmatch user ID of the artist, obtained via token
            introspection of the user's access token
        file_id:
          type: integer
          description: >-
            The file identifier returned by `POST
            /distribution/v1/deliveries/files`
    CreateDeliveryEnvelope:
      type: object
      properties:
        message:
          type: string
          description: Descriptive message of performed operation
        data:
          type: object
          properties:
            delivery:
              type: object
              properties:
                delivery_id:
                  type: integer
                  description: Unique identifier for this delivery
                status:
                  type: string
                  enum:
                    - pending
                    - progress
                    - success
                    - failure
                  description: Initial processing status of the delivery
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: Descriptive message of what has failed
        data:
          type: object
          properties:
            error:
              type: object
              properties:
                code:
                  oneOf:
                    - type: string
                    - type: number
                  description: Application-level error code
                namespace:
                  type: string
                  description: Application-level error namespace
                extraData:
                  description: Additional error context
  responses:
    BadRequest:
      description: Bad request — invalid or missing parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Unauthorized — missing or invalid Bearer token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadGateway:
      description: >-
        Bad gateway — upstream service call failed or returned an unexpected
        response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Access token obtained via the Client Credentials OAuth 2.0 flow at
        https://connect.musixmatch.com/oauth/token

````