Skip to main content
PATCH
/
integrations
/
{id}
/
surveys
/
{surveyId}
Update external survey
curl --request PATCH \
  --url https://api.questra.ai/integrations/{id}/surveys/{surveyId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Org-Id: <x-org-id>' \
  --data '{}'
{
  "id": "<string>",
  "name": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.questra.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Org-Id
string
required

The ID of the organization to make requests against. Found on your Settings page.

Path Parameters

id
string
required

Unique ID of the integration

surveyId
string
required

Unique ID of the survey on the integrated platform

Body

application/json
status
enum<string>
required
Available options:
draft,
launched,
closed

Response

Updated integration survey.

id
string
required

Unique ID of the external survey

name
string
required

Name of the external survey

status
enum<string>
required

Status of the external survey

Available options:
launched,
closed,
draft