Canary Speech

AddSurvey

PATCH - /v3/reseller/project/add-survey
Required Permissions:
  • scope:reseller
  • scope:reseller.addsurvey

Description

Adds a survey to a project.

Headers

Header KeyDescriptionExample
Authorization
The Authorization header for this endpoint. The value must be the token from the /v3/auth/tokens/get endpoint and given using the Bearer pattern.
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdW...
Content-Type
The content type for this request.
application/json

Body Parameters

NameTypeDescription
* projectIduuid
The ID of the project to target.
* surveyCodestring
The code of the survey to add.
surveyVersionstring
The version of the survey to add. If omitted, defaults to the current latest version.

Successful Response

A successful response

Field NameTypeDescription
messagestring
"OK"

Code Example