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

# Get reseller ticket

> Returns one ticket by its identifier, along with the event and the ticket type it belongs to.



## OpenAPI

````yaml get /resellers/tickets/{uniqueIdentifier}
openapi: 3.0.0
info:
  title: Reseller API
  version: 1.0.0
  description: API for validating resellers using a barcode
servers:
  - url: https://api-alpha.fourvenues.com
    description: Alpha
  - url: https://api.fourvenues.com
    description: Production
security: []
paths:
  /resellers/tickets/{uniqueIdentifier}:
    get:
      summary: Get reseller ticket
      description: >-
        Returns one ticket by its identifier, along with the event and the
        ticket type it belongs to.
      parameters:
        - name: uniqueIdentifier
          in: path
          required: true
          schema:
            type: string
            example: abcdefghijk1234567890
          description: Ticket identifier
      responses:
        '200':
          description: Successful request
          headers:
            Content-Type:
              description: Response content type
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
                properties:
                  tickets:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: abcdefghijk1234567890
                        swappable:
                          type: boolean
                          description: Whether the ticket can be resold right now
                          example: true
                        display_name:
                          type: string
                          example: John Appleseed
                        barcode:
                          type: string
                          example: ABCD1234
                        barcode_type:
                          type: string
                          example: QR-Code
                        event:
                          type: object
                          nullable: true
                          description: >-
                            Null when the event behind the ticket can no longer
                            be read.
                          properties:
                            id:
                              type: string
                              example: abcdefghijk1234567890
                            name:
                              type: string
                              example: Saturdays at Ginger Klub
                        ticket_type:
                          type: object
                          properties:
                            id:
                              type: string
                              example: abcdefghijk1234567890
                            name:
                              type: string
                              example: General
                            price:
                              type: integer
                              description: Price in minor units of the currency
                              example: 2000
                            service_fee:
                              type: integer
                              description: Service fee in minor units of the currency
                              example: 200
                            currency:
                              type: string
                              example: EUR
                          nullable: true
                          description: >-
                            Null when the ticket type behind the ticket can no
                            longer be read.
        '401':
          description: Unauthorized request
          content:
            application/json:
              schema:
                type: object
                properties:
                  valid:
                    type: boolean
                    example: false
                  swappable:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: UNAUTHORIZED
        '404':
          description: >-
            Ticket not found. Also returned when the ticket belongs to an
            organization the API key cannot access.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: TICKETS_NOT_FOUND
                  error_code:
                    type: string
                    example: TICKETS_NOT_FOUND
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization

````