Skip to main content
POST
/
surveys
/
restore-version
cURL
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"
}

Authorizations

Authorization
string
header
required

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Headers

Version
enum<string>
required

API Version

Available options:
2021-07-28

Body

application/json
surveyId
string
required
versionId
string
required

Response

Last modified on March 4, 2026