Post an Idea

You can use this API request to post a new idea to your AnswerHub site.

/services/v2/idea.json

The following parameters can be used in your post an idea request:

Other options: wrap, v1

🚧

Permissions & Notes:

  • You must have the Use site permission under Anonymous Roles in the Advanced Editor to post an idea.

  • You must have the custom Publish idea permission under Custom Roles in the Advanced Editor to have the idea automatically publish.

  • Your idea will go into moderation if you do not have the custom Publish idea permission under Custom Roles in the Advanced Editor.

    • This role is automatically added to the list of custom roles with the install of the ideation plugin, but it still needs to be granted to a user.
  • This request was added in version 1.6.3.5.

Sample Request

A POST post an idea request for an idea ("title of an idea") with a body ("body of an idea"), topics ("idea1, idea2"), space (spaceId: 11), and date & time (2015-09-01T12:00:00Z") sent to https://apidocs.cloud.answerhub.com using a human-readable Username/Password (answerhub/test123) would look like this:

curl 
-u answerhub:test123 
-H "Accept: application/json" 
-H "Content-type: application/json" 
-X POST 
-d '{"title": "title of an idea", "body":"body of an idea", "topics":"idea1, idea2","spaceId":"11","date":"2015-09-01T12:00:00Z"}' "https://apidocs.cloud.answerhub.com/services/v2/idea.json" -v

Expected Response

Successful Response:

  • HTTP Status 201 - Created

Community User Interface Result

You can see the Idea posted under "Test Space" (spaceId:11)

Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!