---
title: "Edit a draft post"
method: PATCH
path: "/socials/posts/{id}"
tags: ["Socials"]
---

# Edit a draft post

`PATCH /socials/posts/{id}`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/socials/posts/{id}`
- Auth: API key in header `Authorization`

Edits a draft post. Only posts in the draft status are editable.

## Path parameters

- `id` string, required

## Request body

- object
  - `content` string
  - `platforms` string[]
  - `platform_data` object

## Response `200`

Post

- SocialPost
  - `object` string, required
  - `id` string, required
  - `title` string, nullable, required
  - `content` string, required
  - `platforms` object, required
  - `platform_data` object, required
  - `upload_ids` unknown[], required
    - unknown
  - `media_urls` unknown[], required
    - unknown
  - `status` 'draft' | 'publishing' | 'scheduled' | 'posted' | 'failed' | 'disconnected', required
  - `scheduled_at` string, date-time, nullable, required
  - `posted_at` string, date-time, nullable, required
  - `error` string, nullable, required
  - `analytics` object, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `409`: Conflict
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

---

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