PATCH
/platform/comments/{comment}
curl \
--request PATCH 'https://domain.tld/api/v2/platform/comments/{comment}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"content":"comment with mention {'type':'tag-user', 'content':'@John Doe, 'id':'12'}","content_strip":"comment with mention @John Doe"}'
Request examples
{
"content": "comment with mention {'type':'tag-user', 'content':'@John Doe, 'id':'12'}",
"content_strip": "comment with mention @John Doe"
}
Response examples (200)
{
"id_ambassador_post": 42,
"author": {
"id_ambassador": 42,
"image": "string",
"full_name": "string",
"username": "string",
"description": "string",
"status": 42,
"availability": "string",
"unavailable": true,
"is_absent": true,
"absent_msg": "string",
"fb_account": "string",
"twitter_account": "string",
"instagram_account": "string",
"linkedIn_account": "string",
"youtube_account": "string",
"online": true,
"last_action_date": "string"
},
"content": "string",
"nb_likes": 42,
"comments": [
{}
],
"date_created": "2025-05-04T09:42:00Z",
"date_timestamp": true,
"liked": true
}
Response examples (401)
{
"message": "Unauthorized."
}