Canary Speech

GetSurveyMetadata

GET - /meta/get-survey/:surveyCode
Required Permissions:
  • scope:app

Description

Gets the survey definition.

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...

Path Parameters

NameTypeDescription
surveyCodestring
The code of the survey.

Successful Response

A successful response

Field NameTypeDescription
surveyobject
The definition of the survey.

Code Example