---
title: "Update a post"
method: PATCH
path: "/social/{connection_id}/post/{id}"
tags: ["social", "post"]
---

# Update a post

`PATCH /social/{connection_id}/post/{id}`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- SocialPost
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `profile_id` string
  - `parent_post_id` string
  - `title` string
  - `body` string
  - `status` 'DRAFT' | 'SCHEDULED' | 'PUBLISHED' | 'REJECTED' | 'PROCESSING' | 'DELETED' | 'OTHER'
  - `type` 'POST' | 'REPLY' | 'REPOST' | 'QUOTE' | 'EVENT' | 'OFFER' | 'ALERT' | 'STORY' | 'OTHER'
  - `media` SocialMedia[] — Media assets attached to the post
    - `id` string
    - `url` string, required
    - `alt` string
    - `type` 'PHOTO' | 'VIDEO' | 'GIF' | 'OTHER'
    - `height` number
    - `width` number
    - `position` number
  - `url` string
  - `language` string
  - `scheduled_at` string, date-time
  - `call_to_action` PropertySocialPostCallToAction — Call-to-action button on the post
    - `type` 'BOOK' | 'ORDER' | 'SHOP' | 'LEARN_MORE' | 'SIGN_UP' | 'CALL' | 'OTHER'
    - `url` string
  - `metrics` PropertySocialPostMetrics — Engagement metrics for the post
    - `like_count` number
    - `comment_count` number
    - `share_count` number
    - `quote_count` number
    - `view_count` number
    - `bookmark_count` number
  - `raw` object

## Response `200`

Successful

- SocialPost
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `profile_id` string
  - `parent_post_id` string
  - `title` string
  - `body` string
  - `status` 'DRAFT' | 'SCHEDULED' | 'PUBLISHED' | 'REJECTED' | 'PROCESSING' | 'DELETED' | 'OTHER'
  - `type` 'POST' | 'REPLY' | 'REPOST' | 'QUOTE' | 'EVENT' | 'OFFER' | 'ALERT' | 'STORY' | 'OTHER'
  - `media` SocialMedia[] — Media assets attached to the post
    - `id` string
    - `url` string, required
    - `alt` string
    - `type` 'PHOTO' | 'VIDEO' | 'GIF' | 'OTHER'
    - `height` number
    - `width` number
    - `position` number
  - `url` string
  - `language` string
  - `scheduled_at` string, date-time
  - `call_to_action` PropertySocialPostCallToAction — Call-to-action button on the post
    - `type` 'BOOK' | 'ORDER' | 'SHOP' | 'LEARN_MORE' | 'SIGN_UP' | 'CALL' | 'OTHER'
    - `url` string
  - `metrics` PropertySocialPostMetrics — Engagement metrics for the post
    - `like_count` number
    - `comment_count` number
    - `share_count` number
    - `quote_count` number
    - `view_count` number
    - `bookmark_count` number
  - `raw` object

## Changes

- **2026-08-24** `1fbb53b88365` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/unified/apis/unified-to-api/changes/social/:connection_id/post/:id/patch.md)

---

[API](https://skmtc.dev/unified/apis/unified-to-api.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unified/unified-to-api/revisions/45664a7696ac/schema)
