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

> Returns the active subscriptions that the partner created for a Musixmatch user through distribution. Returns an empty `subscriptions` array when the user has no active subscription.



## OpenAPI

````yaml enterprises/distribution/openapi.json get /ws/1.1/distribution.subscription.get
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.subscription.get:
    get:
      tags:
        - Subscriptions
      summary: distribution.subscription.get
      description: >-
        Returns the active subscriptions that the partner created for a
        Musixmatch user through distribution. Returns an empty `subscriptions`
        array when the user has no active subscription.
      operationId: getUserSubscriptions
      parameters:
        - $ref: '#/components/parameters/user_id'
      responses:
        '200':
          description: Active subscriptions of the user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserSubscriptionsEnvelope'
              examples:
                active:
                  summary: Active subscription
                  value:
                    message:
                      header:
                        status_code: 200
                        execute_time: 0.32
                      body:
                        subscriptions:
                          - display_name: Artists Plus
                            start_date: '2026-01-01T00:00:00.000Z'
                            expiration_date: '2027-01-01T00:00:00.000Z'
                empty:
                  summary: No active subscriptions
                  value:
                    message:
                      header:
                        status_code: 200
                        execute_time: 0.21
                      body:
                        subscriptions: []
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          description: >-
            Internal server error. The upstream failure (5xx, timeout or
            connection error) is flattened to status 500 by the Partner
            Distribution gateway, not 502.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  parameters:
    user_id:
      name: user_id
      in: query
      required: true
      schema:
        type: string
      description: The Musixmatch user ID obtained via token introspection
  schemas:
    UserSubscriptionsEnvelope:
      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:
                subscriptions:
                  type: array
                  description: >-
                    Active subscriptions the partner created for the user. Empty
                    when the user has none.
                  items:
                    type: object
                    properties:
                      display_name:
                        type: string
                        description: Name of the subscribed plan
                        example: Artists Plus
                      start_date:
                        type: string
                        description: Subscription start date (ISO 8601)
                        example: '2026-01-01T00:00:00.000Z'
                      expiration_date:
                        type:
                          - string
                          - 'null'
                        description: >-
                          Subscription expiration date (ISO 8601), `null` when
                          the subscription does not expire
                        example: '2027-01-01T00:00:00.000Z'
    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
  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'
  securitySchemes:
    apiKey:
      type: apiKey
      name: apikey
      in: query

````

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