POST/comment/{comment}/editMember token required
Requires a user token. You can only edit your own comments (400 otherwise). Returns the updated comment (201).
contentrequiredcurl -X POST "https://www.fmylife.com/api/v2/comment/{comment}/edit" \
-H "X-VDM-Api-Key: $API_KEY" \
-H "X-VDM-Api-Token: $TOKEN" \
--data-urlencode "content=…"{
"data": {
"id": 178,
"date": "2026-10-30T08:57:33+01:00",
"status": 0,
"parent": 0,
"content": "Same thing happened to me last week, you're not alone!",
"article": 6,
"author": {
"id": 1079692805,
"username": "DocsTester",
"avatar": "/images/default-avatar.jpg",
"title": null
},
"thumbup": 0,
"thumbdown": 0,
"userthumbed": 0,
"report": 0,
"isModerator": false,
"replies": null
},
"meta": {},
"badge": [],
"badge_display": []
}A real API response, on test data. Lists are cut to 2 items.
401
{
"data": [
"You must be authenticated in order to access this function."
],
"meta": {},
"badge": [],
"badge_display": []
}404
{
"data": [
"FML not found."
],
"meta": {},
"badge": [],
"badge_display": []
}GET/comment/{comment}/{replies}API key only
Use /comment/{comment}/replies to include the comment's replies. When authenticated, your thumbs are included. Returns 404 if the comment doesn't exist.
commentoptionalin the pathformat \d+repliesoptionalin the pathformat (replies)?replies, to include the repliescurl "https://www.fmylife.com/api/v2/comment/{comment}/{replies}" \
-H "X-VDM-Api-Key: $API_KEY"{
"data": {
"id": 176,
"date": "2026-10-30T08:56:01+01:00",
"status": 0,
"parent": 0,
"content": "Same thing happened to me last week, you're not alone!",
"article": 6,
"author": {
"id": 1079692805,
"username": "DocsTester",
"avatar": "/images/default-avatar.jpg",
"title": null
},
"thumbup": 0,
"thumbdown": 2,
"userthumbed": 0,
"report": 1,
"isModerator": false,
"replies": null
},
"meta": {},
"badge": [],
"badge_display": []
}A real API response, on test data. Lists are cut to 2 items.
404
{
"data": [
""
],
"meta": {},
"badge": [],
"badge_display": []
}PATCH/comment/{comment}/up/{inc}Member token required
Requires a user token. One thumb per member and comment: repeating the call changes nothing, and going from thumbs up to thumbs down (or the other way) moves the thumb. Returns the comment (202).
commentoptionalin the pathformat \d+incoptionalin the pathformat \d+curl -X PATCH "https://www.fmylife.com/api/v2/comment/{comment}/up/{inc}" \
-H "X-VDM-Api-Key: $API_KEY" \
-H "X-VDM-Api-Token: $TOKEN"{
"data": {
"id": 176,
"date": "2026-10-30T08:56:01+01:00",
"status": 0,
"parent": 0,
"content": "Same thing happened to me last week, you're not alone!",
"article": 6,
"author": {
"id": 1079692805,
"username": "DocsTester",
"avatar": "/images/default-avatar.jpg",
"title": null
},
"thumbup": 0,
"thumbdown": 2,
"userthumbed": 0,
"report": 1,
"isModerator": false,
"replies": null
},
"meta": {},
"badge": [],
"badge_display": []
}A real API response, on test data. Lists are cut to 2 items.
401
{
"data": "You must be authenticated in order to access this function.",
"meta": {},
"badge": [],
"badge_display": []
}404
{
"data": "",
"meta": {},
"badge": [],
"badge_display": []
}PATCH/comment/{comment}/down/{inc}Member token required
Requires a user token. One thumb per member and comment: repeating the call changes nothing, and going from thumbs up to thumbs down (or the other way) moves the thumb. A comment that gets too many thumbs down is hidden automatically (status 6, auto-nuked). Returns the comment (202).
commentoptionalin the pathformat \d+incoptionalin the pathformat \d+curl -X PATCH "https://www.fmylife.com/api/v2/comment/{comment}/down/{inc}" \
-H "X-VDM-Api-Key: $API_KEY" \
-H "X-VDM-Api-Token: $TOKEN"{
"data": {
"id": 176,
"date": "2026-10-30T08:56:01+01:00",
"status": 0,
"parent": 0,
"content": "Same thing happened to me last week, you're not alone!",
"article": 6,
"author": {
"id": 1079692805,
"username": "DocsTester",
"avatar": "/images/default-avatar.jpg",
"title": null
},
"thumbup": -1,
"thumbdown": 3,
"userthumbed": 0,
"report": 1,
"isModerator": false,
"replies": null
},
"meta": {},
"badge": [],
"badge_display": []
}A real API response, on test data. Lists are cut to 2 items.
401
{
"data": "You must be authenticated in order to access this function.",
"meta": {},
"badge": [],
"badge_display": []
}404
{
"data": "",
"meta": {},
"badge": [],
"badge_display": []
}PATCH/comment/{comment}/reportMember token required
Requires a user token. One report per member and comment. Returns the comment (202), 404 if it doesn't exist.
commentoptionalin the pathformat \d+curl -X PATCH "https://www.fmylife.com/api/v2/comment/{comment}/report" \
-H "X-VDM-Api-Key: $API_KEY" \
-H "X-VDM-Api-Token: $TOKEN"{
"data": {
"id": 176,
"date": "2026-10-30T08:56:01+01:00",
"status": 0,
"parent": 0,
"content": "Same thing happened to me last week, you're not alone!",
"article": 6,
"author": {
"id": 1079692805,
"username": "DocsTester",
"avatar": "/images/default-avatar.jpg",
"title": null
},
"thumbup": 0,
"thumbdown": 3,
"userthumbed": 0,
"report": 1,
"isModerator": false,
"replies": null
},
"meta": {},
"badge": [],
"badge_display": []
}A real API response, on test data. Lists are cut to 2 items.
401
{
"data": "You must be authenticated in order to access this function.",
"meta": {},
"badge": [],
"badge_display": []
}404
{
"data": "",
"meta": {},
"badge": [],
"badge_display": []
}
Comment on a story
POST
/comment/{article}Member token requiredRequires a user token. Returns the comment (201), 400 if the content is empty, 404 if the story doesn't exist or if
parentisn't a comment of this story. If the comment is a reply, the parent comment's author is notified. A member can comment once every 30 seconds. Comments containing forbidden words are flagged.Parameters
contentrequiredparentoptionalA real API response, on test data. Lists are cut to 2 items.
Possible errors
401
{ "data": [ "You must be authenticated in order to access this function." ], "meta": {}, "badge": [], "badge_display": [] }404
{ "data": [ "FML not found." ], "meta": {}, "badge": [], "badge_display": [] }