get:
  tags:
    - ConversationLabels
  operationId: conversationLabelsList
  summary: List Labels
  description: Lists all the labels of a conversation
  parameters:
    - name: id
      in: path
      type: number
      description: ID of the conversation
      required: true
  responses:
    200:
      description: Success
      schema:
        $ref: '#/definitions/conversation_labels'
    404:
      description: Conversation not found
    403:
      description: Access denied

post:
  tags:
    - ConversationLabels
  operationId: conversationAddLabels
  summary: Add Labels
  description: Creates new labels and associates it with the conversation
  parameters:
    - name: id
      in: path
      type: number
      description: ID of the conversation
      required: true
    - name: data
      in: body
      required: true
      schema:
        type: object
        properties:
          labels:
            type: array
            description: 'Array of labels'
            properties:
              type: string
  responses:
    200:
      description: Success
      schema:
        $ref: '#/definitions/conversation_labels'
    404:
      description: Conversation not found
    403:
      description: Access denied
