---
title: "Upsert a Text"
method: PUT
path: "/texts"
tags: ["Text"]
---

# Upsert a Text

`PUT /texts`

## Request body

- Document — A document in the DLx database
  - `id` string
  - `type` string, required

## Response `201`

Upsert successful.

## Changes

- **2016-12-01** `13f179dcd92d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/digitallinguistics/apis/dlx/changes/texts/put.md)

---

[API](https://skmtc.dev/digitallinguistics/apis/dlx.md) · [All operations](https://skmtc.dev/digitallinguistics/apis/dlx/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/digitallinguistics/dlx/revisions/de2ae6fdff23/schema)
