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

# Share a clip

> Opens the clip's public page in the app for `expires_in_days` (1 to 365, 90 when left out): anyone with `share_url` can watch the clip, with no login, until `expires_at`. Sharing again keeps the same link and starts the expiry again from now, which can shorten it. Only a completed clip can be shared (else a 409). Needs clips:share, which no other scope gives: a share makes a recording public.



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/clips/{clip_id}/share
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/clips/{clip_id}/share:
    post:
      tags:
        - clips
      summary: Share a clip
      description: >-
        Opens the clip's public page in the app for `expires_in_days` (1 to 365,
        90 when left out): anyone with `share_url` can watch the clip, with no
        login, until `expires_at`. Sharing again keeps the same link and starts
        the expiry again from now, which can shorten it. Only a completed clip
        can be shared (else a 409). Needs clips:share, which no other scope
        gives: a share makes a recording public.
      operationId: clips_share
      parameters:
        - description: The clip's id, from GET /v1/clips
          in: path
          name: clip_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                expires_in_days:
                  default: 90
                  description: How long the public page stays open
                  maximum: 365
                  minimum: 1
                  title: Expires In Days
                  type: integer
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedClip'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    SharedClip:
      properties:
        expires_at:
          description: When the page closes
          title: Expires At
          type: string
        share_url:
          description: 'The clip''s public page in the app: anyone with it can watch the clip'
          title: Share Url
          type: string
      required:
        - share_url
        - expires_at
      title: SharedClip
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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