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

# Get label by bundle ID

> Fetch the labels for all orders in a bundle.



## OpenAPI

````yaml /api-reference/openapi.json get /orders/label/bundle/{orderBundleId}
openapi: 3.1.0
info:
  title: Sparqle API
  version: 1.0.0
  description: >-
    Create deliveries, fetch shipping labels, and track orders with Sparqle.


    This specification is a hand-authored starting point derived from the API
    source. Replace or merge it with the spec exported from your previous docs
    as you refine the reference.
servers:
  - url: https://staging-v2.sparqle.tech
    description: Test
  - url: https://v2.sparqle.com
    description: Live
security:
  - apiKey: []
paths:
  /orders/label/bundle/{orderBundleId}:
    get:
      tags:
        - Orders
      summary: Get label by bundle ID
      description: Fetch the labels for all orders in a bundle.
      operationId: getBundleLabels
      parameters:
        - name: orderBundleId
          in: path
          required: true
          schema:
            type: string
          example: BUNDLE123
      responses:
        '200':
          description: Bundle labels
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Label'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Label:
      type: object
      properties:
        label:
          type: string
          description: Base64-encoded PDF label.
          example: JVBERi0xLjQKJ...
  responses:
    Unauthorized:
      description: Missing or invalid API key
    NotFound:
      description: Resource not found
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: api-key

````