Skip to main content
POST
/
integrations
/
{id}
/
surveys
Create external survey
curl --request POST \
  --url https://api.questra.ai/integrations/{id}/surveys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Org-Id: <x-org-id>' \
  --data '
{
  "name": "<string>"
}
'
{
  "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

Body

application/json
name
string
required

A name to give the new survey

Response

201 - application/json
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