curl --request POST \
--url https://services.leadconnectorhq.com/surveys/restore-version \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"surveyId": "<string>",
"versionId": "<string>"
}
'{
"statusCode": 400,
"message": "Bad Request"
}curl --request POST \
--url https://services.leadconnectorhq.com/surveys/restore-version \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"surveyId": "<string>",
"versionId": "<string>"
}
'{
"statusCode": 400,
"message": "Bad Request"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 Was this page helpful?