---
title: "Share a form with preset values, or a company profile (owner/admin)"
method: POST
path: "/api/v1/teams/{id}/library"
tags: ["Organizations"]
---

# Share a form with preset values, or a company profile (owner/admin)

`POST /api/v1/teams/{id}/library`

## Request

- Base URL: `https://philforms.com`
- URL: `https://philforms.com/api/v1/teams/{id}/library`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `kind` 'form' | 'profile', required
  - `form_id` string: Required for kind form
  - `name` string, required
  - `data` object, required
  - `note` string

## Response `201`

{ item }

## Other responses

- `400`: Bad kind, form_id, name or data
- `403`: Not owner/admin
- `409`: Library full
- `413`: data too large

---

[API](https://skmtc.dev/philforms/apis/philforms-api.md) · [All operations](https://skmtc.dev/philforms/apis/philforms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/philforms/apis/philforms-api/revisions/a43bf313729c?raw)
