curl --request POST \
--url https://dally.ai/v1/stage.references \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"platform": "instagram",
"content_id": "cbd78841-6529-4757-9469-dc61c9035517"
}
'import requests
url = "https://dally.ai/v1/stage.references"
payload = {
"platform": "instagram",
"content_id": "cbd78841-6529-4757-9469-dc61c9035517"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({platform: 'instagram', content_id: 'cbd78841-6529-4757-9469-dc61c9035517'})
};
fetch('https://dally.ai/v1/stage.references', 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://dally.ai/v1/stage.references",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'platform' => 'instagram',
'content_id' => 'cbd78841-6529-4757-9469-dc61c9035517'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://dally.ai/v1/stage.references"
payload := strings.NewReader("{\n \"platform\": \"instagram\",\n \"content_id\": \"cbd78841-6529-4757-9469-dc61c9035517\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://dally.ai/v1/stage.references")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"platform\": \"instagram\",\n \"content_id\": \"cbd78841-6529-4757-9469-dc61c9035517\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dally.ai/v1/stage.references")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"platform\": \"instagram\",\n \"content_id\": \"cbd78841-6529-4757-9469-dc61c9035517\"\n}"
response = http.request(request)
puts response.read_body{
"platform": "instagram",
"content_id": "cbd78841-6529-4757-9469-dc61c9035517",
"references": [
{
"key": "usual",
"measures": {
"views": {
"median": 24159,
"place": 419,
"of": 1013
},
"likes": {
"median": 337,
"place": 372,
"of": 1013
}
},
"stills": [
{
"content_id": "cbd78841-6529-4757-9469-dc61c9035517",
"platform": "instagram",
"thumbnail_url": "https://media.withdally.com/thumbnails/cbd78841-6529-4757-9469-dc61c9035517.jpg",
"video_url": "https://media.withdally.com/content/cbd78841-6529-4757-9469-dc61c9035517/video.mp4",
"caption": "Call me a psycho but I enjoy cutting more than bulking",
"likes": 613,
"comments": 11,
"handle": "zacperna",
"views": 40117,
"wing": "mine"
}
]
},
{
"key": "pool",
"measures": {},
"stills": []
}
],
"request_id": "req_01j8zkq"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
},
"request_id": "<string>"
}stage.references
Access: public. Send a JSON body; unknown keys are rejected with 400 invalid_request (inputs are strict). Responses may gain fields additively — never remove or repurpose; ignore unknown response fields.
curl --request POST \
--url https://dally.ai/v1/stage.references \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"platform": "instagram",
"content_id": "cbd78841-6529-4757-9469-dc61c9035517"
}
'import requests
url = "https://dally.ai/v1/stage.references"
payload = {
"platform": "instagram",
"content_id": "cbd78841-6529-4757-9469-dc61c9035517"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({platform: 'instagram', content_id: 'cbd78841-6529-4757-9469-dc61c9035517'})
};
fetch('https://dally.ai/v1/stage.references', 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://dally.ai/v1/stage.references",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'platform' => 'instagram',
'content_id' => 'cbd78841-6529-4757-9469-dc61c9035517'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://dally.ai/v1/stage.references"
payload := strings.NewReader("{\n \"platform\": \"instagram\",\n \"content_id\": \"cbd78841-6529-4757-9469-dc61c9035517\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://dally.ai/v1/stage.references")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"platform\": \"instagram\",\n \"content_id\": \"cbd78841-6529-4757-9469-dc61c9035517\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dally.ai/v1/stage.references")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"platform\": \"instagram\",\n \"content_id\": \"cbd78841-6529-4757-9469-dc61c9035517\"\n}"
response = http.request(request)
puts response.read_body{
"platform": "instagram",
"content_id": "cbd78841-6529-4757-9469-dc61c9035517",
"references": [
{
"key": "usual",
"measures": {
"views": {
"median": 24159,
"place": 419,
"of": 1013
},
"likes": {
"median": 337,
"place": 372,
"of": 1013
}
},
"stills": [
{
"content_id": "cbd78841-6529-4757-9469-dc61c9035517",
"platform": "instagram",
"thumbnail_url": "https://media.withdally.com/thumbnails/cbd78841-6529-4757-9469-dc61c9035517.jpg",
"video_url": "https://media.withdally.com/content/cbd78841-6529-4757-9469-dc61c9035517/video.mp4",
"caption": "Call me a psycho but I enjoy cutting more than bulking",
"likes": 613,
"comments": 11,
"handle": "zacperna",
"views": 40117,
"wing": "mine"
}
]
},
{
"key": "pool",
"measures": {},
"stills": []
}
],
"request_id": "req_01j8zkq"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
},
"request_id": "<string>"
}Authorizations
A WorkOS-dashboard-issued internal API key on Authorization: Bearer.
Body
The reel's platform as the card carries it: instagram, youtube or facebook.
1The reel's Content id, as every card carries it.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Response
Success. request_id is present on every response.
The reel these sets are drawn for.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$That reel's platform.
1Always the same two sets, usual first, then pool. A set with no reels to draw from comes with no measures and no stills, never left out and never faked.
Show child attributes
Show child attributes
Server-minted id for this request. Present on every response, success and error — quote it when reporting a problem.
1