> ## 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.

# Add tags to a record.

> Send the uids of the tags to add. Tags that the record already carries stay on it, and
naming one of them again changes nothing, so the same request is safe to repeat. To
replace the whole set instead, use PUT on this same path.
            
A tag belongs to one entity type, so use tags whose EntityType matches this record.
List them with GET /attribute/tags. A uid in the list that names no tag is skipped.



## OpenAPI

````yaml /api-reference/openapi.json post /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:
    post:
      tags:
        - Template
      summary: Add tags to a record.
      description: >-
        Send the uids of the tags to add. Tags that the record already carries
        stay on it, and

        naming one of them again changes nothing, so the same request is safe to
        repeat. To

        replace the whole set instead, use PUT on this same path.
                    
        A tag belongs to one entity type, so use tags whose EntityType matches
        this record.

        List them with GET /attribute/tags. A uid in the list that names no tag
        is skipped.
      operationId: Template_AddTagToEntity
      parameters:
        - name: entityUid
          in: path
          required: true
          description: The record's unique identifier
          schema:
            type: string
            nullable: true
          x-position: 1
      requestBody:
        x-name: tagUidList
        description: The uids of the tags to add
        content:
          application/json:
            schema:
              nullable: true
              oneOf:
                - $ref: '#/components/schemas/TagUidList'
            example:
              TagUids:
                - wQXAbcmQ
                - dQGN1EmE
        x-position: 2
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
                example: string
        '400':
          description: Invalid Uid format
        '401':
          description: Unauthorized
        '404':
          description: Entity not found
      security:
        - Bearer: []
        - ApiKey: []
components:
  schemas:
    TagUidList:
      type: object
      additionalProperties: false
      properties:
        TagUids:
          type: array
          nullable: true
          items:
            type: string
  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.