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

# Listar clics del enlace

> Lista cada clic registrado en un enlace corto.



## OpenAPI

````yaml /es/short-links-api/api-reference/openapi-short-links.json get /v1/short-links/{id}/clicks
openapi: 3.0.3
info:
  title: 'API de notificación: enlaces cortos'
  description: >-
    API para **crear**, **enumerar**, **actualizar** y **eliminar** enlaces
    cortos del espacio de trabajo (dominio predeterminado **clicar.co** o según
    configuración), además de **análisis** (series temporales y pausas) y
    **lista de clics individuales**.


    **Autenticación:** Clave API en `Authorization: Bearer sk_live_xxxxx` o
    `x-api-key: sk_live_xxxxx`. El **espacio de trabajo** es siempre el de la
    clave (cada clave API pertenece a un espacio de trabajo); **no** envíe
    `x-workspace-id` en API v1: las solicitudes con este encabezado completado
    reciben **400** (`WORKSPACE_HEADER_NOT_ALLOWED`).


    **Ámbitos:** `short_links:read` (OBTENER) y `short_links:manage` (POST,
    PATCH, BORRAR).
  version: 1.0.0
servers:
  - url: https://api.notifique.dev
    description: Producción
security:
  - ntfShortLinksBearerAuth: []
  - ntfShortLinksApiKeyHeader: []
tags:
  - name: Enlaces cortos
    description: CRUD, listado, análisis y eventos de clic en `/v1/short-links`.
paths:
  /v1/short-links/{id}/clicks:
    get:
      tags:
        - Short links
      summary: Listar clics del enlace
      description: Lista cada clic registrado en un enlace corto.
      operationId: ntfShortLinks_getV1ShortLinksClicks
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: ID (algunos) de su enlace.
        - name: page
          in: query
          schema:
            type: string
          description: Página (predeterminado 1, máx. dependiendo del motor de paginación).
        - name: limit
          in: query
          schema:
            type: string
          description: Elementos por página (predeterminado 20, máximo 100).
      responses:
        '200':
          description: Lista paginada de eventos de clic.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfShortLinks_ClicksListResponse'
              examples:
                page1:
                  value:
                    success: true
                    data:
                      - id: clclick01exampleid0001
                        shortLinkId: clshort01exampleid0001
                        workspaceId: clws_example_workspace01
                        clickedAt: '2026-04-20T12:01:00.000Z'
                        ipRaw: null
                        ipHash: sha256:deadbeef...
                        userAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X)
                        referrer: https://t.co/xyz
                        utmSource: twitter
                        utmMedium: social
                        utmCampaign: launch2026
                        country: BR
                        region: SP
                        city: São Paulo
                        deviceType: mobile
                        osFamily: iOS
                        browserFamily: Mobile Safari
                    pagination:
                      page: 1
                      limit: 50
                      total: 128
                      totalPages: 3
        '401':
          description: Clave API faltante o no válida.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfShortLinks_ErrorResponse'
        '403':
          description: Falta el alcance `short_links:read`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfShortLinks_ErrorResponse'
        '404':
          description: El enlace no existe o ha sido eliminado.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfShortLinks_ErrorResponse'
              examples:
                notFound:
                  value:
                    success: false
                    error: Not Found
                    message: Not Found
                    code: NOT_FOUND
components:
  schemas:
    NtfShortLinks_ClicksListResponse:
      type: object
      required:
        - success
        - data
        - pagination
      properties:
        success:
          type: boolean
          example: true
        data:
          type: array
          items:
            $ref: '#/components/schemas/NtfShortLinks_ClickEvent'
        pagination:
          $ref: '#/components/schemas/NtfShortLinks_Pagination'
    NtfShortLinks_ErrorResponse:
      type: object
      description: Error genérico de API v1 (enlaces cortos).
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          description: >-
            Etiqueta de error de estilo HTTP (por ejemplo, no autorizado,
            solicitud incorrecta, no encontrada).
        message:
          type: string
          nullable: true
          description: >-
            Mensaje legible por humanos para usuarios finales (localizado a
            través de Accept-Language/x-locale cuando corresponda).
        code:
          type: string
          nullable: true
          description: >-
            Código API v1 estable (enumeración). Siempre presente en los
            errores. Úselo con el estado HTTP para decidir reintentar o
            corregir. Ver [Respuestas de
            error](/es/guides/conceitos/resposta-de-erros).
      required:
        - success
        - error
        - message
        - code
    NtfShortLinks_ClickEvent:
      type: object
      description: Haga clic en evento; `clickedAt` en ISO 8601 en la respuesta JSON.
      properties:
        id:
          type: string
        shortLinkId:
          type: string
        workspaceId:
          type: string
        clickedAt:
          type: string
          format: date-time
        ipRaw:
          type: string
          nullable: true
        ipHash:
          type: string
          nullable: true
        userAgent:
          type: string
          nullable: true
        referrer:
          type: string
          nullable: true
        utmSource:
          type: string
          nullable: true
        utmMedium:
          type: string
          nullable: true
        utmCampaign:
          type: string
          nullable: true
        country:
          type: string
          nullable: true
        region:
          type: string
          nullable: true
        city:
          type: string
          nullable: true
        deviceType:
          type: string
          nullable: true
        osFamily:
          type: string
          nullable: true
        browserFamily:
          type: string
          nullable: true
    NtfShortLinks_Pagination:
      type: object
      required:
        - page
        - limit
        - total
        - totalPages
      properties:
        page:
          type: integer
          minimum: 1
        limit:
          type: integer
          minimum: 1
          maximum: 100
        total:
          type: integer
          minimum: 0
        totalPages:
          type: integer
          minimum: 1
  securitySchemes:
    ntfShortLinksBearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Clave API sin autorización de encabezado. Ejemplo: `Authorization:
        Bearer sk_live_xxxxx`
    ntfShortLinksApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Clave API sin encabezado x-api-key. Ejemplo: `x-api-key: sk_live_xxxxx`'

````