Get survey
curl --request GET \
--url https://api.pickfu.com/v1/surveys/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pickfu.com/v1/surveys/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pickfu.com/v1/surveys/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pickfu.com/v1/surveys/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pickfu.com/v1/surveys/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pickfu.com/v1/surveys/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pickfu.com/v1/surveys/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"schedule": {
"scheduledAt": "<string>",
"timezone": "<string>",
"status": "none",
"canReschedule": true,
"canPublishNow": true,
"canCancel": true,
"cancellationClosesAt": "<string>",
"unavailableReason": "permission_denied"
},
"generalAccess": "anyone_with_link",
"id": "<string>",
"publicId": "<string>",
"name": "<string>",
"country": "<string>",
"currency": "<string>",
"randomizeOptions": true,
"sampleSize": 123,
"numResponses": 123,
"status": "<string>",
"targeting": [
"<string>"
],
"reporting": [
"<string>"
],
"reportingDefaultsApplied": [
"<string>"
],
"tags": [
{
"id": "<string>",
"name": "<string>"
}
],
"projects": [
{
"id": "<string>",
"name": "<string>"
}
],
"surveyUrl": "<string>",
"surveyIntent": "<string>",
"externalId": "<string>",
"template": {
"id": "<string>",
"name": "<string>",
"constraints": {
"questionTypes": [
"head_to_head"
],
"optionTypes": [
"text"
],
"optionCount": {
"min": 123,
"max": 123
},
"sampleSizes": [
"<string>"
],
"defaultSampleSize": "<string>",
"countries": [
"<string>"
],
"defaultCountry": "<string>"
}
},
"questions": [
{
"id": "<string>",
"heatmapUrl": "<string>",
"type": "<string>",
"variant": "<string>",
"value": "<string>",
"translation": "<string>",
"likertScale": "agreement5",
"explanationRequired": true,
"options": [
{
"productId": "<string>",
"productAsin": "<string>",
"id": "<string>",
"label": "<string>",
"value": "<string>",
"type": "<string>",
"translation": "<string>",
"product": {
"asin": "<string>",
"title": "<string>",
"price": 123,
"salePrice": 123,
"currency": "<string>",
"rating": 123,
"reviews": 123,
"reviewScore": 123,
"numRatings": 123,
"image": "<string>"
},
"imageSetDirection": "<string>",
"mockupType": "<string>",
"mockup": {
"template": "<string>",
"values": {}
}
}
],
"context": {
"type": "<string>",
"value": "<string>",
"text": "<string>",
"translation": "<string>"
},
"results": {
"totalResponses": 123,
"winningOptionId": "<string>",
"averageScore": 123,
"options": [
{
"id": "<string>",
"label": "<string>",
"votes": 123,
"percentage": 123,
"rank": 123,
"isWinner": true
}
]
},
"responses": [
{
"id": "<string>",
"pinned": true,
"explanation": "<string>",
"translation": "<string>",
"chosenOption": "<string>",
"selectedOptions": [
"<string>"
],
"score": 123,
"clicks": [
{
"number": 123,
"xCoord": 123,
"yCoord": 123
}
],
"ranking": [
{
"rank": 123,
"option": "<string>"
}
],
"media": "<string>",
"mediaTranscription": "<string>",
"matchup": {
"option1": "<string>",
"option2": "<string>"
},
"statements": [
{
"id": "<string>",
"statement": "<string>",
"value": 123
}
],
"prices": {
"tooCheap": 123,
"bargain": 123,
"expensive": 123,
"tooExpensive": 123
},
"respondent": [
{
"trait": "<string>",
"value": "<string>"
}
]
}
],
"ai": {}
}
],
"pace": {
"publishedAt": "<string>",
"elapsedMinutes": 123,
"typical": {
"minutesToQuarter": 123,
"minutesToHalf": 123,
"minutesToThreeQuarters": 123,
"minutesToFinish": 123,
"basis": "same_audience"
},
"yourHistory": {
"medianMinutesToFinish": 123
}
}
}
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"availableLanguages": [
"<string>"
]
}Surveys
Get survey
Retrieves a survey by its unique GUID, including all questions, answer options, respondent answers (if complete), and AI-generated summaries.
GET
/
surveys
/
{id}
Get survey
curl --request GET \
--url https://api.pickfu.com/v1/surveys/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pickfu.com/v1/surveys/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pickfu.com/v1/surveys/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pickfu.com/v1/surveys/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pickfu.com/v1/surveys/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pickfu.com/v1/surveys/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pickfu.com/v1/surveys/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"schedule": {
"scheduledAt": "<string>",
"timezone": "<string>",
"status": "none",
"canReschedule": true,
"canPublishNow": true,
"canCancel": true,
"cancellationClosesAt": "<string>",
"unavailableReason": "permission_denied"
},
"generalAccess": "anyone_with_link",
"id": "<string>",
"publicId": "<string>",
"name": "<string>",
"country": "<string>",
"currency": "<string>",
"randomizeOptions": true,
"sampleSize": 123,
"numResponses": 123,
"status": "<string>",
"targeting": [
"<string>"
],
"reporting": [
"<string>"
],
"reportingDefaultsApplied": [
"<string>"
],
"tags": [
{
"id": "<string>",
"name": "<string>"
}
],
"projects": [
{
"id": "<string>",
"name": "<string>"
}
],
"surveyUrl": "<string>",
"surveyIntent": "<string>",
"externalId": "<string>",
"template": {
"id": "<string>",
"name": "<string>",
"constraints": {
"questionTypes": [
"head_to_head"
],
"optionTypes": [
"text"
],
"optionCount": {
"min": 123,
"max": 123
},
"sampleSizes": [
"<string>"
],
"defaultSampleSize": "<string>",
"countries": [
"<string>"
],
"defaultCountry": "<string>"
}
},
"questions": [
{
"id": "<string>",
"heatmapUrl": "<string>",
"type": "<string>",
"variant": "<string>",
"value": "<string>",
"translation": "<string>",
"likertScale": "agreement5",
"explanationRequired": true,
"options": [
{
"productId": "<string>",
"productAsin": "<string>",
"id": "<string>",
"label": "<string>",
"value": "<string>",
"type": "<string>",
"translation": "<string>",
"product": {
"asin": "<string>",
"title": "<string>",
"price": 123,
"salePrice": 123,
"currency": "<string>",
"rating": 123,
"reviews": 123,
"reviewScore": 123,
"numRatings": 123,
"image": "<string>"
},
"imageSetDirection": "<string>",
"mockupType": "<string>",
"mockup": {
"template": "<string>",
"values": {}
}
}
],
"context": {
"type": "<string>",
"value": "<string>",
"text": "<string>",
"translation": "<string>"
},
"results": {
"totalResponses": 123,
"winningOptionId": "<string>",
"averageScore": 123,
"options": [
{
"id": "<string>",
"label": "<string>",
"votes": 123,
"percentage": 123,
"rank": 123,
"isWinner": true
}
]
},
"responses": [
{
"id": "<string>",
"pinned": true,
"explanation": "<string>",
"translation": "<string>",
"chosenOption": "<string>",
"selectedOptions": [
"<string>"
],
"score": 123,
"clicks": [
{
"number": 123,
"xCoord": 123,
"yCoord": 123
}
],
"ranking": [
{
"rank": 123,
"option": "<string>"
}
],
"media": "<string>",
"mediaTranscription": "<string>",
"matchup": {
"option1": "<string>",
"option2": "<string>"
},
"statements": [
{
"id": "<string>",
"statement": "<string>",
"value": 123
}
],
"prices": {
"tooCheap": 123,
"bargain": 123,
"expensive": 123,
"tooExpensive": 123
},
"respondent": [
{
"trait": "<string>",
"value": "<string>"
}
]
}
],
"ai": {}
}
],
"pace": {
"publishedAt": "<string>",
"elapsedMinutes": 123,
"typical": {
"minutesToQuarter": 123,
"minutesToHalf": 123,
"minutesToThreeQuarters": 123,
"minutesToFinish": 123,
"basis": "same_audience"
},
"yourHistory": {
"medianMinutesToFinish": 123
}
}
}
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"availableLanguages": [
"<string>"
]
}Authorizations
Path Parameters
Was this page helpful?
