Comments

Edit comment

Replaces the text of a comment you published, asynchronously. Facebook and YouTube only. Once the platform confirms, body is replaced, external_edited_at is set and a comment.edited webhook fires; if the platform rejects the edit, body is unchanged and comment.edit_failed fires.

patch/api/posts/{post_id}/comments/{id}

Request

  • Base URL
    https://api.postproxy.dev
  • URL
    https://api.postproxy.dev/api/posts/{post_id}/comments/{id}
  • Auth
    HTTP bearer

Query parameters

profile_group_idstring

Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.

profile_idstring required

Profile ID

Headers

Idempotency-Keystring

Optional idempotency key (up to 255 characters; a UUID is ideal). Retrying a successful write with the same key replays the original response (with an Idempotent-Replay: true header) instead of executing again. Stored responses are kept for 24 hours; only 2xx responses are stored.

Request body

bodystring required

New comment text (text is accepted as an alias).

Response

Edit accepted for asynchronous processing.

acceptedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.