---
title: "edit_published_post"
description: "Change the details of a post that is already on the platform (uploaded or published). YouTube: title, description, tags, category, privacy, made-for-kids, language and localizations (50 quota units). Facebook: title and description. Only the given fields change; null clears one. Needs the **manage** permission. Also available as the MCP tool `edit_published_post`."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.mixetape.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: mixetape API › manage

`POST /api/v1/tools/edit_published_post`

Change the details of a post that is already on the platform (uploaded or published). YouTube: title, description, tags, category, privacy, made-for-kids, language and localizations (50 quota units). Facebook: title and description. Only the given fields change; null clears one. Needs the **manage** permission. Also available as the MCP tool `edit_published_post`.

## Authentication

- `apiKey`, http, header `Authorization`

## Request body

_Required._

- `edit_published_post.id` (string, required) — mixetape post id (list_posts)
- `edit_published_post.metadata` (any of, required)
  - any of: `YouTube`, `Facebook`, `Instagram`, `Threads`, `TikTok`, `Pinterest`

## Example request

```json
{
  "id": "string",
  "metadata": {
    "title": "string",
    "description": "string",
    "category": "string",
    "tags": [
      "string"
    ],
    "privacyStatus": "public",
    "madeForKids": true,
    "defaultLanguage": "string",
    "localizations": {
      "property1": {
        "title": "string",
        "description": "string"
      },
      "property2": {
        "title": "string",
        "description": "string"
      }
    }
  }
}
```

## Code samples

### cURL

```curl
curl --request POST \
  --url https://mixetape.com/api/v1/tools/edit_published_post \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "string",
  "metadata": {
    "title": "string",
    "description": "string",
    "category": "string",
    "tags": [
      "string"
    ],
    "privacyStatus": "public",
    "madeForKids": true,
    "defaultLanguage": "string",
    "localizations": {
      "property1": {
        "title": "string",
        "description": "string"
      },
      "property2": {
        "title": "string",
        "description": "string"
      }
    }
  }
}
'
```

### TypeScript

```typescript
const url = 'https://mixetape.com/api/v1/tools/edit_published_post';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({
    id: 'string',
    metadata: {
      title: 'string',
      description: 'string',
      category: 'string',
      tags: ['string'],
      privacyStatus: 'public',
      madeForKids: true,
      defaultLanguage: 'string',
      localizations: {
        property1: {title: 'string', description: 'string'},
        property2: {title: 'string', description: 'string'}
      }
    }
  })
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://mixetape.com/api/v1/tools/edit_published_post"

payload = {
    "id": "string",
    "metadata": {
        "title": "string",
        "description": "string",
        "category": "string",
        "tags": ["string"],
        "privacyStatus": "public",
        "madeForKids": True,
        "defaultLanguage": "string",
        "localizations": {
            "property1": {
                "title": "string",
                "description": "string"
            },
            "property2": {
                "title": "string",
                "description": "string"
            }
        }
    }
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

The tool's result.

#### Example

```json
{
  "result": null
}
```

- `edit_published_post.response.200.result` (unknown, required) — What the tool returns

### 400

The request is invalid; `error` says why.

#### Example

```json
{
  "error": "string"
}
```

- `edit_published_post.response.400.error` (string, required) — What went wrong, in plain words

### 401

No valid API key.

#### Example

```json
{
  "error": "string"
}
```

- `edit_published_post.response.401.error` (string, required) — What went wrong, in plain words

### 403

The key lacks the permission this needs.

#### Example

```json
{
  "error": "string"
}
```

- `edit_published_post.response.403.error` (string, required) — What went wrong, in plain words

### 404

Not found, or not yours.

#### Example

```json
{
  "error": "string"
}
```

- `edit_published_post.response.404.error` (string, required) — What went wrong, in plain words


Source: https://docs.mixetape.com/api/manage/edit_published_post/index.md
