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

# Get transport orders

> Get transport orders



## OpenAPI

````yaml /openapi.json get /transport-orders
openapi: 3.0.0
info:
  title: Idalia API
  version: 1.0.0
  description: REST API for Idalia. Authenticate with an API key in the X-API-KEY header.
servers:
  - url: https://idalia.app/api
    description: Idalia API server
security: []
paths:
  /transport-orders:
    get:
      tags:
        - Transport-orders
      summary: Get transport orders
      description: Get transport orders
      operationId: getTransportOrders
      parameters: []
      responses:
        '200':
          description: Returns an array of transport order objects
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransportOrdersQueryResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '500':
          $ref: '#/components/responses/500'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TransportOrdersQueryResponse:
      type: array
      items:
        $ref: '#/components/schemas/TransportOrderResponse'
    TransportOrderResponse:
      type: object
      properties:
        id:
          type: string
          description: ID of the transport order
        createdAt:
          type: string
          description: Datetime the transport order was created
        updatedAt:
          type: string
          nullable: true
          description: Datetime the transport order was last updated
        workspaceId:
          type: string
          description: ID of the workspace the transport order belongs to
        createdBy:
          type: string
          nullable: true
          description: ID of the user who created the transport order
        name:
          type: string
          description: Name of the transport order
        reference:
          type: string
          nullable: true
          description: Reference code of the transport order
        number:
          type: string
          nullable: true
          description: Transport order number
        notes:
          type: string
          nullable: true
          description: Notes
        statusId:
          type: string
          nullable: true
          description: ID of the transport order status
        projectId:
          type: string
          nullable: true
          description: ID of the project
        purchaseOrderId:
          type: string
          nullable: true
          description: ID of the purchase order
        allocationOrderId:
          type: string
          nullable: true
          description: ID of the allocation order
      required:
        - id
        - createdAt
        - workspaceId
        - name
  responses:
    '400':
      description: Bad Request
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Invalid request parameters
              code:
                type: string
                example: '400'
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Authentication required
              code:
                type: string
                example: '401'
    '403':
      description: Forbidden
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Access denied
              code:
                type: string
                example: '403'
    '500':
      description: Internal Server Error
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: An unexpected error occurred
              code:
                type: string
                example: '500'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````

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