# Get Linked Discord Token Details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v1/discord/token/{id}:
    get:
      summary: Get Linked Discord Token Details
      deprecated: false
      description: >-
        The API only works for user with DIY plan, and have linked their Discord
        account.


        The API will return the list of linked Discord accounts in an array
        format.
      tags:
        - DIY Plan Endpoints
      parameters:
        - name: id
          in: path
          description: ''
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  properties:
                    id:
                      type: number
                      description: The linked Discord token id in our system.
                    token:
                      type: string
                      description: The linked Discord token.
                    channelId:
                      type: string
                      description: The linked Discord channel id.
                    serverId:
                      type: string
                      description: The linked Discord server id.
                    isActive:
                      type: boolean
                      description: The token is active or not.
                    status:
                      type: string
                      description: >-
                        The status of the token, can be FAST or RELAX or
                        VERIFYING.
                      enum:
                        - FAST
                        - RELAX
                        - VERIFYING
                        - BANNED
                      x-apifox-enum:
                        - name: ''
                          value: FAST
                          description: The Midjourney account is in the fast mode.
                        - name: ''
                          value: RELAX
                          description: The Midjourney account is in the relax mode.
                        - name: ''
                          value: VERIFYING
                          description: >-
                            Our system is checking your provided Discord
                            details.
                        - name: ''
                          value: BANNED
                          description: The Midjourney account has been banned.
                    info:
                      type: object
                      properties:
                        jobMode:
                          type: string
                        runningJobs:
                          type: string
                          description: Number of running jobs in Midjourney.
                        relaxedUsuage:
                          type: string
                          description: Number of images generated in the relax mode.
                        subscription:
                          type: string
                          description: The Midjourney plan name with the Discord account.
                        lifetimeUsage:
                          type: string
                          description: Number of images generated in lifetime.
                        queuedJobsFast:
                          type: string
                          description: Number of queued jobs in the fast mode.
                        visibilityMode:
                          type: string
                          description: If the image generated public visiable or not.
                        queuedJobsRelax:
                          type: string
                          description: Number of queued jobs in the relax mode.
                        fastTimeRemaining:
                          type: string
                          description: >-
                            The number of GPU minutes left in the fast mode
                            generation.
                      x-apifox-orders:
                        - jobMode
                        - runningJobs
                        - relaxedUsuage
                        - subscription
                        - lifetimeUsage
                        - queuedJobsFast
                        - visibilityMode
                        - queuedJobsRelax
                        - fastTimeRemaining
                      description: The linked Discord account details.
                      required:
                        - jobMode
                        - runningJobs
                        - relaxedUsuage
                        - subscription
                        - lifetimeUsage
                        - queuedJobsFast
                        - visibilityMode
                        - queuedJobsRelax
                        - fastTimeRemaining
                      x-apifox-ignore-properties: []
                    concurrency:
                      type: number
                      description: The concurrent limiting for the token.
                    proxyUrl:
                      type: string
                      description: proxy url
                  x-apifox-orders:
                    - 01K8XHH6V9EY8ED40TZC0VT4EH
                    - proxyUrl
                  description: The linked Discord token details.
                  type: object
                  x-apifox-refs:
                    01K8XHH6V9EY8ED40TZC0VT4EH:
                      $ref: '#/components/schemas/link-token'
                      x-apifox-overrides: {}
                  required:
                    - id
                    - token
                    - channelId
                    - serverId
                    - isActive
                    - status
                    - info
                    - concurrency
                  x-apifox-ignore-properties:
                    - id
                    - token
                    - channelId
                    - serverId
                    - isActive
                    - status
                    - info
                    - concurrency
                description: The list of linked Discord tokens.
              example:
                - id: 1900
                  token: XXX
                  channelId: 116975856xxx
                  serverId: 116975856xxx
                  isActive: true
                  status: FAST
                  info:
                    jobMode: ''
                    runningJobs: None
                    relaxedUsage: 999 images
                    subscription: Basic (Active monthly, renews next on <t:2123>)
                    lifetimeUsage: 999 images
                    queuedJobsFast: '0'
                    visibilityMode: Public
                    queuedJobsRelax: '0'
                    fastTimeRemaining: 199.00/200.0 minutes (99.50%)
                  concurrency: 2
          headers: {}
          x-apifox-name: Success
      security:
        - bearer: []
      x-apifox-folder: DIY Plan Endpoints
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5160896/apis/api-216008264-run
components:
  schemas:
    link-token:
      type: object
      properties:
        id:
          type: number
          description: The linked Discord token id in our system.
        token:
          type: string
          description: The linked Discord token.
        channelId:
          type: string
          description: The linked Discord channel id.
        serverId:
          type: string
          description: The linked Discord server id.
        isActive:
          type: boolean
          description: The token is active or not.
        status:
          type: string
          description: The status of the token, can be FAST or RELAX or VERIFYING.
          enum:
            - FAST
            - RELAX
            - VERIFYING
            - BANNED
          x-apifox-enum:
            - name: ''
              value: FAST
              description: The Midjourney account is in the fast mode.
            - name: ''
              value: RELAX
              description: The Midjourney account is in the relax mode.
            - name: ''
              value: VERIFYING
              description: Our system is checking your provided Discord details.
            - name: ''
              value: BANNED
              description: The Midjourney account has been banned.
        info:
          type: object
          properties:
            jobMode:
              type: string
            runningJobs:
              type: string
              description: Number of running jobs in Midjourney.
            relaxedUsuage:
              type: string
              description: Number of images generated in the relax mode.
            subscription:
              type: string
              description: The Midjourney plan name with the Discord account.
            lifetimeUsage:
              type: string
              description: Number of images generated in lifetime.
            queuedJobsFast:
              type: string
              description: Number of queued jobs in the fast mode.
            visibilityMode:
              type: string
              description: If the image generated public visiable or not.
            queuedJobsRelax:
              type: string
              description: Number of queued jobs in the relax mode.
            fastTimeRemaining:
              type: string
              description: The number of GPU minutes left in the fast mode generation.
          x-apifox-orders:
            - jobMode
            - runningJobs
            - relaxedUsuage
            - subscription
            - lifetimeUsage
            - queuedJobsFast
            - visibilityMode
            - queuedJobsRelax
            - fastTimeRemaining
          description: The linked Discord account details.
          required:
            - jobMode
            - runningJobs
            - relaxedUsuage
            - subscription
            - lifetimeUsage
            - queuedJobsFast
            - visibilityMode
            - queuedJobsRelax
            - fastTimeRemaining
          x-apifox-ignore-properties: []
        concurrency:
          type: number
          description: The concurrent limiting for the token.
      x-apifox-orders:
        - id
        - token
        - channelId
        - serverId
        - isActive
        - status
        - info
        - concurrency
      description: The linked Discord token details.
      required:
        - id
        - token
        - channelId
        - serverId
        - isActive
        - status
        - info
        - concurrency
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.imaginepro.ai
    description: Prod Env
security: []

```
