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

# Show a version in the shared link

> The first publication needs accessKey; later ones keep the key unless a new one is sent. The key is never returned.



## OpenAPI

````yaml /openapi-v1.json post /v1/data-apps/{id}/versions/{version}/publish
openapi: 3.0.0
info:
  title: Woku Client API v1
  description: >-
    Public REST API for programmatic management of woku Voice-of-Customer
    programs: trackers, VoC instruments (NPS, woku, CES, CSAT), action plans,
    support tickets, multi-channel sending and response capture. Requests are
    company-scoped by the API key; never send a company id.
  version: 1.0.0
  contact:
    name: Woku
    url: https://woku.app
    email: team@woku.app
servers:
  - url: https://clientapi.woku.app
    description: Production
security: []
tags: []
paths:
  /v1/data-apps/{id}/versions/{version}/publish:
    post:
      tags:
        - v1 - data-apps
      summary: Show a version in the shared link
      description: >-
        The first publication needs accessKey; later ones keep the key unless a
        new one is sent. The key is never returned.
      operationId: V1DataAppsController_publish
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
            format: ObjectId
        - name: version
          required: true
          in: path
          schema:
            type: number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublishDataAppVersionBodyDTO'
      responses:
        '200':
          description: Slug and published version
        '400':
          description: A sketch cannot be published
      security:
        - bearer: []
components:
  schemas:
    PublishDataAppVersionBodyDTO:
      type: object
      properties:
        accessKey:
          type: string
          minLength: 4
          maxLength: 72
          description: >-
            Access key of the shared link. Required the first time; omit to keep
            the current key.
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: Company secret API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.