---
title: "Create"
method: POST
path: "/api/v1/golinks"
tags: ["Short Links"]
---

# Create

`POST /api/v1/golinks`

## Request

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

Create a new GoLink.

## Request body

- C1ApiGolinkV1GoLinkServiceCreateRequest: The GoLinkServiceCreateRequest message.
  - `description` string: The description field.
  - `displayName` string: The displayName 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}"
  - `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}"

## Response `200`

Successful response

- C1ApiGolinkV1GoLinkServiceCreateResponse: The GoLinkServiceCreateResponse message.
  - `golink` 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

## Changes

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

[Operation history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/golinks/post.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)
