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

# List labels

> Lists the labels (Business tags) on the instance.



## OpenAPI

````yaml /en/api-reference/openapi.json get /labels
openapi: 3.1.0
info:
  title: Zapfy API
  description: >-
    Multi-tenant WhatsApp API. Send messages and manage webhooks through a
    single surface.
  version: 1.0.0
servers:
  - url: https://api.zapfy.io/v1
security:
  - accountToken: []
paths:
  /labels:
    get:
      tags:
        - Labels
      summary: List labels
      description: Lists the labels (Business tags) on the instance.
      responses:
        '200':
          $ref: '#/components/responses/LabelList'
        '401':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
        - instanceToken: []
components:
  responses:
    LabelList:
      description: Instance labels.
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                type: array
                items:
                  $ref: '#/components/schemas/LabelSummary'
    Error:
      description: Error.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Instance not found
  schemas:
    LabelSummary:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/LabelId'
          description: Label id.
        name:
          type: string
          example: Customer
          description: Label name.
        color:
          type: string
          example: '5'
          description: Palette color index (0-19), as stored.
    LabelId:
      type: string
      description: Label id (returned by GET /labels; generated by the API on create).
      example: '1'
  securitySchemes:
    accountToken:
      type: http
      scheme: bearer
      description: Account token (`zpfy_acct_...`) — manages instances and webhooks.
    instanceToken:
      type: http
      scheme: bearer
      description: Instance token (`zpfy_inst_...`) — sends messages.

````