GoLinks API

GoLinks API as documented publicly. Contract generated from the documentation by API Evangelist (2026-12-02); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

GET /admin/audit_log List audit log entries #
POST /golinks_bulk Create several go links #
GET /metrics/{gid} Retrieve the daily redirect hits of a go link #
POST /oauth/revoke Revoke tokens you no longer need #
POST /oauth/token Exchange an authorization code or refresh token #
GET /users List or search users #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/golinks:golinks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

golinks-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: GoLinks API
  version: '2026-12-02'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-12-02: 9 operation(s) read from 2 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; GoLinks has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 8
    pages-with-code: 2
    pages-read: 2
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-12-02'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.golinks.io/\
  - https://api.golinks.io
servers:
- url: https://api.golinks.io
paths:
  /admin/audit_log:
    get:
      operationId: get_admin_audit_log
      tags:
      - Admin
      summary: List audit log entries
      description: Retrieve the workspace audit log, newest entries first.
      x-source: https://docs.golinks.io/\
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        schema:
          type: integer
      - name: event_type
        in: query
        required: false
        schema:
          type: string
      - name: section
        in: query
        required: false
        schema:
          type: string
      - name: filter_uid
        in: query
        required: false
        schema:
          type: integer
      - name: search
        in: query
        required: false
        schema:
          type: string
      - name: export
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAdminAuditLogResponse'
      x-evidence:
        kind: documentation
  /golinks:
    get:
      operationId: get_golinks
      tags:
      - Golinks
      summary: GET /golinks
      x-source: https://docs.golinks.io/\
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: string
      - name: offset
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl Copy curl \"https://api.golinks.io/golinks?limit=50&offset=0\"  - H \"Authorization: Bearer $GOLINKS_TOKEN\" \n Response\
          \ samples 200 401 403 404 422 429 Content type application/json Example List of go links Single go link (`?name=drive`) List of go links\
          \ Copy Expand all Collapse all { \"metadata\" : { \"limit\" : 50 , \"offset\" : 0 , \"count\" : 50 , \"total_results\" : 400 , \"links\"\
          \ : { \"prev\" : null , \""
    patch:
      operationId: patch_golinks
      tags:
      - Golinks
      summary: Update part of a go link
      description: Update an existing go link partially.
      x-source: https://docs.golinks.io/\
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchGolinksRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /golinks_bulk:
    post:
      operationId: post_golinks_bulk
      tags:
      - Golinks Bulk
      summary: Create several go links
      description: Create multiple go links in a single request.
      x-source: https://docs.golinks.io/\
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostGolinksBulkRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /metrics/{gid}:
    get:
      operationId: get_metrics_gid
      tags:
      - Metrics
      summary: Retrieve the daily redirect hits of a go link
      description: Get daily redirect hits for a go link.
      x-source: https://docs.golinks.io/\
      parameters:
      - name: gid
        in: path
        required: true
        schema:
          type: string
      - name: days
        in: query
        required: false
        schema:
          type: integer
        description: Number of past days to include.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMetricsGidResponse'
      x-evidence:
        kind: documentation
  /oauth/revoke:
    post:
      operationId: post_oauth_revoke
      tags:
      - Oauth
      summary: Revoke tokens you no longer need
      description: Revoke a token.
      x-source: https://docs.golinks.io/\
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostOauthRevokeRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /oauth/token:
    post:
      operationId: post_oauth_token
      tags:
      - Oauth
      summary: Exchange an authorization code or refresh token
      description: Token endpoint of the OAuth 2.0 Authorization Code flow with PKCE.
      x-source: https://docs.golinks.io/\
      parameters:
      - name: client_id
        in: query
        required: true
        schema:
          type: string
        description: Client ID of the OAuth app.
      - name: grant_type
        in: query
        required: true
        schema:
          type: string
        description: 'Value: "authorization_code" or "refresh_token".'
      - name: code
        in: query
        required: false
        schema:
          type: string
        description: Authorization code received on the redirect URI.
      - name: code_verifier
        in: query
        required: false
        schema:
          type: string
        description: PKCE verifier.
      - name: redirect_uri
        in: query
        required: false
        schema:
          type: string
        description: The same redirect_uri that was used in the authorization request.
      - name: refresh_token
        in: query
        required: false
        schema:
          type: string
        description: Refresh token for token rotation.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostOauthTokenRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOauthTokenResponse'
      x-evidence:
        kind: documentation
  /search:
    get:
      operationId: get_search
      tags:
      - Search
      summary: Search go links, tags, users and collections
      description: Run the same search as the GoLinks dashboard.
      x-source: https://docs.golinks.io/\
      parameters:
      - name: search-term
        in: query
        required: true
        schema:
          type: string
      - name: result-type
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        schema:
          type: integer
      - name: filter[]
        in: query
        required: false
        schema:
          type: array
      - name: tag[]
        in: query
        required: false
        schema:
          type: array
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSearchResponse'
      x-evidence:
        kind: documentation
  /users:
    get:
      operationId: get_users
      tags:
      - Users
      summary: List or search users
      description: Retrieve the users of your workspace.
      x-source: https://docs.golinks.io/\
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        schema:
          type: integer
      - name: search
        in: query
        required: false
        schema:
          type: string
      - name: access-level[]
        in: query
        required: false
        schema:
          type: array
      - name: status
        in: query
        required: false
        schema:
          type: string
      - name: order
        in: query
        required: false
        schema:
          type: string
      - name: sort
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUsersResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetAdminAuditLogResponse:
      type: object
      properties:
        metadata:
          type: object
        results:
          type: array
    PatchGolinksRequest:
      type: object
      properties:
        gid:
          type: integer
          description: ID of the go link to update.
        action:
          type: string
          description: pin or lock.
        name:
          type: string
        url:
          type: string
        description:
          type: string
        tags[]:
          type: array
        aliases[]:
          type: array
      required:
      - gid
    PostGolinksBulkRequest:
      type: object
      properties:
        name[]:
          type: array
          description: Names of the go links.
        url[]:
          type: array
          description: Destination URLs.
        description[]:
          type: array
        tags[][]:
          type: array
      required:
      - name[]
      - url[]
    GetMetricsGidResponse:
      type: object
      properties:
        gid:
          type: integer
        name:
          type: string
        metrics:
          type: array
    PostOauthRevokeRequest:
      type: object
      properties:
        token:
          type: string
          description: The token to revoke.
      required:
      - token
    PostOauthTokenRequest:
      type: object
      properties:
        client_id:
          type: string
        grant_type:
          type: string
        code:
          type: string
        code_verifier:
          type: string
        redirect_uri:
          type: string
        refresh_token:
          type: string
      required:
      - client_id
      - grant_type
    PostOauthTokenResponse:
      type: object
      properties:
        access_token:
          type: string
    GetSearchResponse:
      type: object
      properties:
        metadata:
          type: object
        results:
          type: array
    GetUsersResponse:
      type: object
      properties:
        metadata:
          type: object
        results:
          type: array
  securitySchemes:
    API_token:
      type: http
      scheme: bearer
      x-source: https://docs.golinks.io/
    OAuth_2.0:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: /oauth/token
          scopes: &id001
            golinks:read: ''
            golinks:write: ''
            search:read: ''
            users:read: ''
            admin:read: ''
        authorizationCode:
          authorizationUrl: https://www.golinks.io/oauth_authorize.php
          tokenUrl: /oauth/token
          scopes: *id001
      x-source: https://docs.golinks.io/
tags:
- name: Admin
- name: Golinks
- name: Golinks Bulk
- name: Metrics
- name: Oauth
- name: Search
- name: Users
security:
- API_token: []
- OAuth_2.0:
  - golinks:read
  - golinks:write
  - search:read
  - users:read
  - admin:read