---
title: "List Versions"
method: GET
path: "/api/v1/golinks/{golink_id}/versions"
tags: ["Short Links"]
---

# List Versions

`GET /api/v1/golinks/{golink_id}/versions`

## Request

- Base URL: `https://example.conductor.one`
- URL: `https://example.conductor.one/api/v1/golinks/{golink_id}/versions`
- Auth: HTTP bearer and OAuth 2
  - Client credentials
  - Token URL: `/auth/v1/token`

List version history for a GoLink.

## Path parameters

- `golink_id` string, required: The golinkId field.

## Query parameters

- `page_size` integer: The pageSize field.
- `page_token` string: The pageToken field.

## Response `200`

Successful response

- C1ApiGolinkV1GoLinkServiceListVersionsResponse: The GoLinkServiceListVersionsResponse message.
  - `list` C1ApiGolinkV1GoLinkVersion[], nullable: The list field.
    - `changedByUserId` string: The changedByUserId field.
    - `createdAt` string, date-time, nullable
    - `golinkId` string: The golinkId field.
    - `id` string: The id field.
    - `snapshot` C1ApiGolinkV1GoLink: GoLink is the API representation of a short link.
      - `createdAt` string, date-time, nullable
      - `currentVersion` integer: The currentVersion field.
      - `deletedAt` string, date-time, nullable
      - `description` string: The description field.
      - `displayName` string: The displayName field.
      - `id` string: The id field.
      - `prerequisite` C1ApiGolinkV1GoLinkPrerequisite: The GoLinkPrerequisite message.
        - `appEntitlementId` string: The appEntitlementId field.
        - `appId` string: The appId field.
      - `routes` C1ApiGolinkV1GoLinkRouteConfig[], nullable: The routes field.
        - `isCanonical` boolean: The isCanonical field.
        - `routeTemplate` string: The route template with optional named parameters. Exact routes: "jira", "jira/create" Glob routes: "jira/{ticket_id}", "aws/{path}"
      - `status` 'GO_LINK_STATUS_UNSPECIFIED' | 'GO_LINK_STATUS_ENABLED' | 'GO_LINK_STATUS_DISABLED': The status field.
      - `target` C1ApiGolinkV1GoLinkTarget: The GoLinkTarget message. This message contains a oneof named target. Only a single field of the following list may be set at a time: - redirect - action - chooser
        - `action` C1ApiGolinkV1GoLinkActionTarget: The GoLinkActionTarget message.
          - `actionId` string: The actionId field.
        - `chooser` C1ApiGolinkV1GoLinkChooserTarget: The GoLinkChooserTarget message.
          - `options` C1ApiGolinkV1GoLinkChooserOption[], nullable: The options field.
            - `description` string: The description field.
            - `label` string: The label field.
            - `target` C1ApiGolinkV1GoLinkTarget (recursive)
        - `redirect` C1ApiGolinkV1GoLinkRedirectTarget: The GoLinkRedirectTarget message.
          - `urlTemplate` string: URL template with named placeholders matching route parameters. e.g., "https://jira.internal/browse/{ticket_id}"
      - `updatedAt` string, date-time, nullable
    - `version` integer: The version field.
  - `nextPageToken` string: The nextPageToken field.

## Changes

- **2026-10-06** `918a4e749f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/golinks/:golink_id/versions/get.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) - [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conductorone/apis/c1-api/revisions/fe943bedf41b?raw)
