Skip to main content
Skip table of contents

Posting a question using the API

This section details how to post a question to Fuse using a HTTP POST request. You might post a question to Fuse in order to get an answer to something you are unsure of.

Making knowledge more accessible and discoverable is at the heart of Fuse's philosophy. For recommendations and tips on how to make the knowledge within your content more accessible and easily discoverable, see Creating accessible content within Fuse.

Resource URL:

https://<instance_name>.fuseuniversal.com/api/v4.4/contents/question

Request

Request Header Parameters

Authorisation is required.

Request Parameters

The following parameters are mandatory when posting a question to Fuse:

  • name: The question - e.g. ‘How many buns in a baker’s dozen?’.

  • description: A description of the question with any additional information.

  • community_ids: The IDs of the communities where this question will be available.

Please use the request examples as reference.

Response

The response for this API endpoint contains the new content ID that was created. Security sensitive fields may not be returned in the response.

The Fuse Content ID is automatically generated by the system on content creation. It cannot be changed. All other content attributes can be changed/updated.

Please refer to the Response Codes section for more information.

Example request

Request URL example:

CODE
https://<instance_name>.fuseuniversal.com/api/v4.4/contents/question?auth_token=<valid_auth_token>

Request body example:

CODE
{
    "name": "Question Added Via API",
    "description": "Was This Question Added by API?",
    "community_ids": [
        12345
    ]
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.