---
title: "Save a half-filled form (opt-in, encrypted at rest; up to 200). Send `id` to update one (200)."
method: POST
path: "/api/v1/drafts"
tags: ["Profiles & drafts"]
---

# Save a half-filled form (opt-in, encrypted at rest; up to 200). Send \`id\` to update one (200).

`POST /api/v1/drafts`

## Request

- Base URL: `https://philforms.com`
- URL: `https://philforms.com/api/v1/drafts`
- Auth: HTTP bearer

## Request body

- object
  - `form_id` string, required
  - `name` string
  - `data` object, required
  - `id` string

## Response `200`

Updated

## Other responses

- `201`: { id }
- `400`: Missing form_id or data
- `404`: No such draft
- `409`: 200 drafts already

---

[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)
