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

# Get a specific join request

> Get a specific join request for a server by user ID. Requires authentication.



## OpenAPI

````yaml GET /server/join-requests/{userId}
openapi: 3.0.0
info:
  contact: {}
  description: Melonlys Public API
  termsOfService: http://melonly.xyz/terms
  title: Melonly API
  version: '1.0'
servers:
  - url: https://api.melonly.xyz/api/v1
security: []
paths:
  /server/join-requests/{userId}:
    get:
      tags:
        - join-requests
      summary: Get a specific join request
      description: >-
        Get a specific join request for a server by user ID. Requires
        authentication.
      parameters:
        - description: User ID
          example: '"user123"'
          in: path
          name: userId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: successfully retrieved join request details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.JoinRequestAPIResponse'
        '400':
          description: invalid user ID parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.BadRequestResponse'
        '401':
          description: authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.UnauthorizedResponse'
        '404':
          description: join request not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.NotFoundResponse'
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.InternalServerErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    models.JoinRequestAPIResponse:
      properties:
        createdAt:
          example: 1625097600
          type: integer
        joinCode:
          example: ABC123
          type: string
        serverId:
          example: server456
          type: string
        userId:
          example: user123
          type: string
      type: object
    models.BadRequestResponse:
      properties:
        error:
          example: invalid request parameters
          type: string
      type: object
    models.UnauthorizedResponse:
      properties:
        error:
          example: authorization header is required
          type: string
      type: object
    models.NotFoundResponse:
      properties:
        error:
          example: the requested resource could not be found on this server
          type: string
      type: object
    models.InternalServerErrorResponse:
      properties:
        error:
          example: internal server error
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      description: Type "Bearer" followed by a space and the API token.
      in: header
      name: Authorization
      type: apiKey

````