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

# Make a signed link

> A link anyone can download with, until it expires; never later than the artifact itself.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/artifacts/{id}/links
openapi: 3.1.0
info:
  title: envlink API
  version: 1.0.0
  description: >-
    Lease build environments, wire them to your sandbox, and keep snapshots and
    artifacts.
servers:
  - url: https://envlink-api.projectinwork.com
security:
  - bearerAuth: []
tags:
  - name: Environments
  - name: Templates
  - name: Sandboxes
  - name: Snapshots
  - name: Artifacts
  - name: Projects
  - name: Tokens
  - name: Usage
  - name: Account
paths:
  /v1/artifacts/{id}/links:
    post:
      tags:
        - Artifacts
      summary: Make a signed link
      description: >-
        A link anyone can download with, until it expires; never later than the
        artifact itself.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The artifact's ID.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                expires:
                  type: string
                  description: Like 1h or 7d; 24h by default.
      responses:
        '201':
          description: Made
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Link'
components:
  schemas:
    Link:
      type: object
      properties:
        url:
          type: string
          format: uri
        expires:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A CLI token or an organization API key.

````

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