---
search:
  tags:
    - projects
    - POST
seo:
  description: >-
    Exports a project component to the workspace… Reference for the POST
    /projects/{projectId}/components/{id}/export endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Export a project component to the library
title: Export a project component to the library
type: openapi-operation
---
Exports a project component to the workspace library, making it available for reuse across all projects. The exported component includes all nested data (items, questions, todos, test cases, conditions) with ID references automatically updated. The component is placed at the end of the library with an optional custom name. Requires both Projects.manageComponents and ProjectComponentsLibrary.edit permissions.

<Operation source="api-reference" id="projectcomponentscontroller-exportcomponenttolibrary" />
