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

# List tags

> Retrieve all tags for the organization. Pass ?detailed=true for relation counts.



## OpenAPI

````yaml openapi.json GET /api/v1/tags
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/tags:
    get:
      tags:
        - Tags
      summary: List tags
      description: Retrieve all tags.
      parameters:
        - schema:
            type:
              - boolean
              - 'null'
            description: Include detailed counts
            example: true
          required: false
          description: Include detailed counts
          name: detailed
          in: query
      responses:
        '200':
          description: Tag list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagsListResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TagsListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/TagItem'
          description: List of tags
        success:
          type: boolean
          description: Success status
        error:
          type: string
          description: Error message
      required:
        - data
        - success
    TagItem:
      type: object
      properties:
        id:
          type: string
          description: Tag ID
          example: tag_abc123
        name:
          type: string
          description: Tag name
          example: Important
        color:
          type: string
          description: Hex color code
          example: '#FF5733'
        createdAt:
          type: string
          format: date-time
          description: Creation timestamp
      required:
        - id
        - name
        - color
        - createdAt
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

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