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

# Retrieve the tags on a record.

> Returns the tags themselves, not the links that hold them. The same tags are also
available on the record: ask for them with the fields parameter, for example
fields=Uid,Tags.Uid,Tags.Name,Tags.TagColor. Tags cost an extra query, so the record
leaves them out unless fields names Tags or is a plain wildcard.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/templates/{entityUid}/tags
openapi: 3.0.0
info:
  title: Outseta API
  description: >-
    Outseta REST API. See the [API
    overview](https://docs.outseta.com/api-reference/overview) for
    authentication, field selection, pagination, filtering, errors, rate limits
    and webhooks.
  version: v1
servers:
  - url: https://{subdomain}.outseta.com
    description: Your Outseta account
    variables:
      subdomain:
        default: your-subdomain
        description: >-
          Your Outseta account subdomain — the part before ".outseta.com" in
          your admin URL.
security: []
paths:
  /api/v1/templates/{entityUid}/tags:
    get:
      tags:
        - Template
      summary: Retrieve the tags on a record.
      description: >-
        Returns the tags themselves, not the links that hold them. The same tags
        are also

        available on the record: ask for them with the fields parameter, for
        example

        fields=Uid,Tags.Uid,Tags.Name,Tags.TagColor. Tags cost an extra query,
        so the record

        leaves them out unless fields names Tags or is a plain wildcard.
      operationId: Template_GetTagsForEntity
      parameters:
        - name: entityUid
          in: path
          required: true
          description: The record's unique identifier
          schema:
            type: string
            nullable: true
          x-position: 1
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  metadata:
                    limit: 0
                    offset: 0
                    total: 0
                  items:
                    - Uid: string
                      _objectType: string
                      Created: string
                      Updated: string
                      ActivityEventData: {}
                      Name: string
                      SystemName: string
                      SystemDescription: string
                      TagColor: 1
                      EntityType: 0
                properties:
                  metadata:
                    $ref: '#/components/schemas/CollectionMetadata'
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Tag'
        '400':
          description: Invalid Uid format
        '401':
          description: Unauthorized
      security:
        - Bearer: []
        - ApiKey: []
components:
  parameters:
    limit:
      name: limit
      in: query
      description: >-
        Requested page size. The server caps it at 100, or 25 when requested
        fields expand child objects or require additional queries;
        metadata.limit reports the applied value. Use offset=1 for the second
        page.
      schema:
        type: integer
        default: 25
    offset:
      name: offset
      in: query
      description: >-
        Zero-based page number, not a record offset. With limit=50, the second
        page is offset=1; offset=50 is page index 50 (records 2501-2550).
      schema:
        type: integer
        default: 0
  schemas:
    CollectionMetadata:
      type: object
      properties:
        limit:
          type: integer
        offset:
          type: integer
        total:
          type: integer
    Tag:
      example:
        Uid: string
        _objectType: string
        Created: string
        Updated: string
        ActivityEventData: {}
        Name: string
        SystemName: string
        SystemDescription: string
        TagColor: 1
        EntityType: 0
      allOf:
        - $ref: '#/components/schemas/AbstractQcountBean'
        - type: object
          additionalProperties: false
          required:
            - Name
          properties:
            Name:
              type: string
              maxLength: 50
              minLength: 1
            SystemName:
              type: string
              maxLength: 50
              nullable: true
            SystemDescription:
              type: string
              maxLength: 500
              nullable: true
            TagColor:
              $ref: '#/components/schemas/TagColor'
            EntityType:
              $ref: '#/components/schemas/EntityType'
    AbstractQcountBean:
      allOf:
        - $ref: '#/components/schemas/AbstractBean'
        - type: object
          additionalProperties: false
          required:
            - Qcount_Id
          properties:
            ActivityEventData:
              nullable: true
    TagColor:
      type: integer
      description: >-
        `1` - Red, `2` - Orange, `3` - Amber, `4` - Green, `5` - Teal, `6` -
        Blue, `7` - Indigo, `8` - Purple, `9` - Pink, `10` - Gray
      x-enumNames:
        - Red
        - Orange
        - Amber
        - Green
        - Teal
        - Blue
        - Indigo
        - Purple
        - Pink
        - Gray
      x-enum-descriptions:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
    EntityType:
      type: integer
      description: >-
        `0` - None, `1` - Account, `2` - Person, `3` - Deal, `4` - Case, `5` -
        Invoice, `6` - EmailLog, `7` - Plan, `8` - DiscountCoupon, `9` - AddOn,
        `10` - Task, `11` - Segment, `12` - Broadcast, `13` - Article, `14` -
        Template
      x-enumNames:
        - None
        - Account
        - Person
        - Deal
        - Case
        - Invoice
        - EmailLog
        - Plan
        - DiscountCoupon
        - AddOn
        - Task
        - Segment
        - Broadcast
        - Article
        - Template
      x-enum-descriptions:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      enum:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
        - 11
        - 12
        - 13
        - 14
    AbstractBean:
      type: object
      x-abstract: true
      additionalProperties: false
      required:
        - Id
        - Created
        - CreatedByUser_Id
        - Updated
        - UpdatedByUser_Id
      properties:
        Uid:
          type: string
          maxLength: 10
          nullable: true
        _objectType:
          type: string
          nullable: true
        Created:
          type: string
          readOnly: true
          format: date-time
          minLength: 1
        Updated:
          type: string
          readOnly: true
          format: date-time
          minLength: 1
  securitySchemes:
    Bearer:
      type: http
      description: Enter your access token (OAuth / JWT).
      scheme: bearer
      bearerFormat: JWT
    ApiKey:
      type: apiKey
      description: 'Enter: Outseta {api_key}:{api_secret}'
      name: Authorization
      in: header

````

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