Skip to main content
Loading...
Skip to article
  • Qualtrics Platform
    Qualtrics Platform
  • Customer Journey Optimizer
    Customer Journey Optimizer
  • XM Discover
    XM Discover
  • Qualtrics Social Connect
    Qualtrics Social Connect

Starting a Survey with a POST Request


Was this helpful?


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The feedback you submit here is used only to help improve this page.

That’s great! Thank you for your feedback!

Thank you for your feedback!


About Starting a Survey with a POST Request

Attention: Custom coding features are provided as-is and require programming knowledge to implement. Qualtrics Support does not offer assistance or consultation on custom coding. You can always try asking our community of dedicated users instead. If you’d like to know more about our custom coding services, please contact your Qualtrics Account Executive.

While most Qualtrics survey responses are submitted by taking the survey in your web browser, you can also start a survey with a POST request.

Starting a survey with a POST request allows initial embedded data values to be set via the body of the request rather than as query strings in the URL, which provides a better way to pass along sensitive embedded data.

Once the POST request is submitted, the rest of the survey will proceed exactly the same as if it had been started by loading the survey URL in your browser.

Formatting The POST Request

Qtip: No authentication is required to make the POST request.

To make the POST request, you’ll need the survey ID for the survey you’re sending the POST request to. You will also need your brand ID and datacenter ID. You’ll replace these ID in the JSON snippet below.

Below is an example of what a basic request would look like:

POST https://{​brandId}.{​datacenterId}.qualtrics.com/jfe/form/{​surveyId}

{
“EDField”: “value”
// include as many embedded data fields as you like
}
Qtip: The request body does not have to be encoded as JSON. It can also be sent as x-www-form-urlencoded content.