Get presentation slides and Q&A settings
curl --request GET \
--url https://app.demand-iq.com/api/presentations/{presentationId}/content \
--header 'x-presentation-token: <api-key>'import requests
url = "https://app.demand-iq.com/api/presentations/{presentationId}/content"
headers = {"x-presentation-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-presentation-token': '<api-key>'}};
fetch('https://app.demand-iq.com/api/presentations/{presentationId}/content', 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://app.demand-iq.com/api/presentations/{presentationId}/content",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-presentation-token: <api-key>"
],
]);
$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://app.demand-iq.com/api/presentations/{presentationId}/content"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-presentation-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.demand-iq.com/api/presentations/{presentationId}/content")
.header("x-presentation-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.demand-iq.com/api/presentations/{presentationId}/content")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-presentation-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "not_started",
"slides": [
{
"id": "<string>",
"slideId": "<string>",
"title": "<string>",
"bullets": [
"<string>"
],
"narrationScript": "<string>",
"position": 123,
"deckSlideId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audioUrl": "<string>",
"heroImg": "<string>",
"wordTimings": [
{
"word": "<string>",
"startTime": 123,
"endTime": 123
}
],
"slideType": "standard",
"productData": {
"good": {},
"better": {},
"best": {},
"subtitle": "<string>",
"brandLogo": "<string>",
"disclaimer": "<string>",
"defaultSelectedTier": "good"
}
}
],
"qaSettings": {
"resumePromptText": "<string>",
"transitionPromptText": "<string>",
"resumePromptAudioUrl": "<string>",
"resumePromptWordTimings": [
{
"word": "<string>",
"startTime": 123,
"endTime": 123
}
],
"resumePromptVoiceId": "<string>",
"transitionPromptAudioUrl": "<string>",
"transitionPromptWordTimings": [
{
"word": "<string>",
"startTime": 123,
"endTime": 123
}
],
"transitionPromptVoiceId": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Presentations
Get presentation slides and Q&A settings
Returns the slide payload and Q&A settings for a presentation. The presentation viewer fetches this behind the intro or loading screen so the initial page load stays small. Requires an x-presentation-token scoped to this presentation. Expired tokens are rejected with 401 — reload the presentation page to obtain a fresh one. Audio and image URLs in the response are freshly signed on every call and expire, so the response is marked Cache-Control: private, no-store and must not be cached.
GET
/
api
/
presentations
/
{presentationId}
/
content
Get presentation slides and Q&A settings
curl --request GET \
--url https://app.demand-iq.com/api/presentations/{presentationId}/content \
--header 'x-presentation-token: <api-key>'import requests
url = "https://app.demand-iq.com/api/presentations/{presentationId}/content"
headers = {"x-presentation-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-presentation-token': '<api-key>'}};
fetch('https://app.demand-iq.com/api/presentations/{presentationId}/content', 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://app.demand-iq.com/api/presentations/{presentationId}/content",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-presentation-token: <api-key>"
],
]);
$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://app.demand-iq.com/api/presentations/{presentationId}/content"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-presentation-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.demand-iq.com/api/presentations/{presentationId}/content")
.header("x-presentation-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.demand-iq.com/api/presentations/{presentationId}/content")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-presentation-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "not_started",
"slides": [
{
"id": "<string>",
"slideId": "<string>",
"title": "<string>",
"bullets": [
"<string>"
],
"narrationScript": "<string>",
"position": 123,
"deckSlideId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"audioUrl": "<string>",
"heroImg": "<string>",
"wordTimings": [
{
"word": "<string>",
"startTime": 123,
"endTime": 123
}
],
"slideType": "standard",
"productData": {
"good": {},
"better": {},
"best": {},
"subtitle": "<string>",
"brandLogo": "<string>",
"disclaimer": "<string>",
"defaultSelectedTier": "good"
}
}
],
"qaSettings": {
"resumePromptText": "<string>",
"transitionPromptText": "<string>",
"resumePromptAudioUrl": "<string>",
"resumePromptWordTimings": [
{
"word": "<string>",
"startTime": 123,
"endTime": 123
}
],
"resumePromptVoiceId": "<string>",
"transitionPromptAudioUrl": "<string>",
"transitionPromptWordTimings": [
{
"word": "<string>",
"startTime": 123,
"endTime": 123
}
],
"transitionPromptVoiceId": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
HMAC-signed token scoped to a specific presentation. Obtained from POST /api/presentations/{presentationId}/events-token.
Path Parameters
Response
Presentation content