---
title: "Update the latest draft"
method: PATCH
path: "/publications/{id}/draft"
tags: ["Publication", "Draft"]
---

# Update the latest draft

`PATCH /publications/{id}/draft`

## Request

- Base URL: `https://telescope.ac/api`
- URL: `https://telescope.ac/api/publications/{id}/draft`
- Auth: none declared

Updates the latest (unpublished) draft of a publication.

**API credit cost:** 3

## Path parameters

- `id` string, uuid, required: ID of the publication.

## Headers

- `Authorization` string

## Request body

- PatchPublicationDraftInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `text` string: New body text (omit to keep current).
  - `title` string: New title (omit to keep current).

## Response `200`

OK

- PatchPublicationDraftOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `draft` Draft, required
    - `cover_image_url` string, nullable, required
    - `created_at` string, date-time, nullable, required
    - `deleted_at` string, date-time
    - `description` string, nullable, required
    - `format` 'html' | 'md', required
    - `id` string, uuid, required
    - `publication_id` string, uuid, required
    - `text` string, required
    - `title` string, required
    - `updated_at` string, date-time, nullable, required
    - `user_id` string, uuid, required

## Other responses

- `default`: Error

---

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