SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
Blogs

Moderate a comment: approve, mark as spam, or hide it.

Moderate a comment: approve, mark as spam, or hide it.

PATCHhttps://app.softsolz.uk/api/v1/services/blogs/comments/{id}

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

statusstringrequired

New moderation status.

Response

Response Body

idstringComment id (numeric string).
post_idstringId of the post this comment belongs to.
parent_idstring | nullId of the parent comment, if a reply.
author_namestringDisplay name.
author_emailstring | nullAuthor email; never shown publicly.
contentstringComment text.
statusstringModeration status.
likesintegerLike count.
source_kindstringHow the comment was submitted.
source_originstring | nullOrigin domain, when submitted via widget.
created_atstringWhen the comment was posted.

Request

curl --request PATCH \
--url https://app.softsolz.uk/api/v1/services/blogs/comments/{id} \
--header 'Authorization: Bearer sk_live_your_key' \
--header 'Content-Type: application/json' \
--data '{
"status": "spam"
}'

Credentials

Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.

Response · 200

{
"data": {
"id": "your-id",
"post_id": "your-post-id",
"parent_id": "your-parent-id",
"author_name": "your-author-name",
"author_email": "person@example.com",
"content": "your-content",
"status": "approved",
"likes": 1,
"source_kind": "widget",
"source_origin": "your-source-origin",
"created_at": "2026-01-01T09:00:00.000Z"
}
}