User-related API environment
Production user-related API docs
These pages describe the Production user-related API stack.
Use production OAuth credentials, production API base URLs, and production app URLs when following this documentation.
Need to test before going live? Switch to the Pre-live docs using the environment switcher above.
Edit a comment
Update an existing comment. Only the comment author or admins can edit. Supports body and mentions updates.
Path Parameters
Unique numeric comment ID to update
Request Body required
Comment update payload with optional body and mentions
- Array [
- ]
comment object
Possible values: <= 8000 characters
Updated comment body text
mentions object[]
User mentions in the updated comment body
Possible values: Value must match regular expression /{{[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}}}/
- 200
- 401
- 404
Comment updated successfully
Schema
- Array [
- ]
- Array [
- ]
data object required
Default value: false
Default value: false
Default value: 0
Default value: 0
Default value: false
Default value: false
Default value: false
Default value: false
author object
avatarUrls object required
Default value: false
mentions object[]
avatarUrls object required
Default value: false
tags object[]
{
"data": {
"id": 0,
"postId": 0,
"authorId": "string",
"parentId": 0,
"isPrivate": false,
"isEdited": false,
"body": "string",
"createdAt": "2026-06-14T08:29:41.858Z",
"updatedAt": "2026-06-14T08:29:41.858Z",
"toxicityScore": 0,
"repliesCount": 0,
"likesCount": 0,
"reported": false,
"removed": false,
"hidden": false,
"moderationEvasionSuspected": false,
"languageId": 0,
"languageName": "string",
"moderationStatus": 0,
"author": {
"postsCount": 0,
"avatarUrls": {
"small": "string",
"medium": "string",
"large": "string"
},
"id": "string",
"username": "string",
"verified": false,
"firstName": "string",
"lastName": "string",
"memberType": 0
},
"mentions": [
{
"postsCount": 0,
"avatarUrls": {
"small": "string",
"medium": "string",
"large": "string"
},
"id": "string",
"username": "string",
"verified": false,
"firstName": "string",
"lastName": "string",
"memberType": 0,
"locations": {},
"followersCount": 0,
"displayName": "string"
}
],
"tags": [
{
"language": "string",
"id": 0,
"name": "string",
"commentsCount": 0
}
]
},
"success": true
}
{
"data": {
"id": 1,
"postId": 1,
"authorId": "string",
"parentId": 1,
"isPrivate": false,
"isEdited": false,
"body": "string",
"createdAt": "2026-04-02T00:00:00.000Z",
"updatedAt": "2026-04-02T00:00:00.000Z",
"toxicityScore": 1,
"repliesCount": 0,
"likesCount": 0,
"reported": false,
"removed": false,
"hidden": false,
"moderationEvasionSuspected": false,
"languageId": 1,
"languageName": "string",
"moderationStatus": 1,
"author": {
"postsCount": 1,
"avatarUrls": {
"small": "string",
"medium": "string",
"large": "string"
},
"id": "string",
"username": "string",
"verified": false,
"firstName": "string",
"lastName": "string",
"memberType": 1
},
"mentions": [
{
"postsCount": 1,
"avatarUrls": {
"small": "string",
"medium": "string",
"large": "string"
},
"id": "string",
"username": "string",
"verified": false,
"firstName": "string",
"lastName": "string",
"memberType": 1,
"locations": {},
"followersCount": 1,
"displayName": "string"
}
],
"tags": [
{
"language": "string",
"id": 1,
"name": "string",
"commentsCount": 1
}
]
},
"success": true
}
User not authenticated
Comment not found