Create a new questionnaire for a user to answer

Create a questionnaire for a user to answer using a thymia activity. > **Warning**: Before using this endpoint, please contact thymia to configure the questionnaires you want your users to complete. The response contains: * A link to a thymia activity that allows the user to complete the questionnaire. * The id of the questionnaire which can be used to retrieve results **after the questionnaire has been completed**.

Authentication

x-api-keystring
Your API Activation Key

Request

This endpoint expects an object.
userobjectRequired
questionnaireTypestringRequired

The type of questionnaire to create, using values agreed with thymia. Before calling, first contact thymia to configure your custom set of questionnaires.

Response

Details of questionnaire created, including a link to a thymia activity.
idstringformat: "uuid"
The id of the newly created questionnaire

Errors