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

# distribution.delivery.post

> Claims the artist and creates a delivery from an uploaded release file in a single call. Musixmatch associates the artist identities with the Musixmatch user before processing the release, then creates the delivery. Call this after uploading the ZIP to the URL returned by `POST /ws/1.1/distribution.files.post`. Returns a `delivery_id` and initial `status`.



## OpenAPI

````yaml enterprises/distribution/openapi.json post /ws/1.1/distribution.delivery.post
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://api.musixmatch.com
security:
  - apiKey: []
paths:
  /ws/1.1/distribution.delivery.post:
    post:
      tags:
        - Deliveries
      summary: distribution.delivery.post
      description: >-
        Claims the artist and creates a delivery from an uploaded release file
        in a single call. Musixmatch associates the artist identities with the
        Musixmatch user before processing the release, then creates the
        delivery. Call this after uploading the ZIP to the URL returned by `POST
        /ws/1.1/distribution.files.post`. Returns a `delivery_id` and initial
        `status`.
      operationId: createDelivery
      parameters:
        - $ref: '#/components/parameters/user_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDeliveryRequest'
            example:
              file_id: 123456
              partner_user_id: '123456'
              artist:
                - spotify_artist_id: 4Z8W4fKeB5YxbusRsdQVPb
                  partner_artist_id: '123456'
      responses:
        '201':
          description: Delivery created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateDeliveryEnvelope'
              example:
                message:
                  header:
                    status_code: 201
                    execute_time: 0.32
                  body:
                    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:
                  header:
                    status_code: 404
                    execute_time: 0.32
                  body:
                    error:
                      code: '004'
        '502':
          $ref: '#/components/responses/BadGateway'
components:
  parameters:
    user_id:
      name: user_id
      in: query
      required: true
      schema:
        type: string
      description: The Musixmatch user ID obtained via token introspection
  schemas:
    CreateDeliveryRequest:
      type: object
      required:
        - file_id
        - artist
      properties:
        file_id:
          type: integer
          description: >-
            The file identifier returned by `POST
            /ws/1.1/distribution.files.post`
        partner_user_id:
          type: string
          description: The partner's internal user identifier
        artist:
          type: array
          minItems: 1
          description: >-
            List of artist identifiers to claim before the delivery is
            processed. At least one identifier per item is required.
          items:
            $ref: '#/components/schemas/ArtistIdentifier'
    CreateDeliveryEnvelope:
      type: object
      properties:
        message:
          type: object
          properties:
            header:
              type: object
              properties:
                status_code:
                  type: integer
                  description: HTTP status code
                execute_time:
                  type: number
                  description: Server-side execution time in seconds
            body:
              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: object
          properties:
            header:
              type: object
              properties:
                status_code:
                  type: integer
                  description: HTTP status code
                execute_time:
                  type: number
                  description: Server-side execution time in seconds
            body:
              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
    ArtistIdentifier:
      type: object
      properties:
        spotify_artist_id:
          type: string
          description: Spotify artist ID
        itunes_artist_id:
          type: string
          description: iTunes/Apple Music artist ID
        partner_artist_id:
          type: string
          description: Distributor's internal artist identifier
  responses:
    BadRequest:
      description: Bad request — invalid or missing parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Unauthorized — missing or invalid API key
      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:
    apiKey:
      type: apiKey
      name: apikey
      in: query

````

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