createPost


Creates a new forum post.

Parameters

Name Description
node_id required Node ID the post belongs to.
thread_id required Thread ID the post belongs to.
post_content required Content (main body) of the forum post.
created_by required ID of the user creating the post.
user_relation required User relation of the user performing an action.
anonymous optional Whether or not the post is being created anonymously.
disable_html optional Option to allow or remove inputted html.
quote optional ID of the post being quoted in the new post reply.
subscribe optional Whether or not to subscribe the user to the thread when creating a new post.
output optional The response output format. Accepts JSON and XML.

Request Syntax

https://services.onesite.com/rest/ugcForumPost?action=createPost&node_id=188234&thread_id=28943337&post_content=This is my new post…&created_by=143593317&user_relation=owner&devkey=[devkey]

JSON Response