List published link templates
curl --request GET \
--url https://platform-staging.get-rial.com/v1/link-templates \
--cookie rial_session=import requests
url = "https://platform-staging.get-rial.com/v1/link-templates"
headers = {"cookie": "rial_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'rial_session='}};
fetch('https://platform-staging.get-rial.com/v1/link-templates', 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://platform-staging.get-rial.com/v1/link-templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "rial_session=",
]);
$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://platform-staging.get-rial.com/v1/link-templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "rial_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform-staging.get-rial.com/v1/link-templates")
.header("cookie", "rial_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform-staging.get-rial.com/v1/link-templates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'rial_session='
response = http.request(request)
puts response.read_body{
"items": [
{
"slug": "warehouse-intake",
"name": "Warehouse intake",
"mode": "capture",
"steps": [
{
"key": "front",
"type": "image",
"description": "Front of the pallet",
"min": 1,
"max": 1
}
],
"expires_in_seconds": 3600,
"status": "active",
"started_total": 0,
"started_today": 0,
"version": 1,
"created_at": "2026-07-30T12:00:00.000Z",
"updated_at": "2026-07-30T12:00:00.000Z"
}
]
}{
"error": "storage_unavailable"
}Templates
List published link templates
Newest-first list of the tenant’s published templates, each with live started_total / started_today counters.
Auth: dashboard session cookie only — the Templates surface is operator tooling, not the developer API.
GET
/
v1
/
link-templates
List published link templates
curl --request GET \
--url https://platform-staging.get-rial.com/v1/link-templates \
--cookie rial_session=import requests
url = "https://platform-staging.get-rial.com/v1/link-templates"
headers = {"cookie": "rial_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'rial_session='}};
fetch('https://platform-staging.get-rial.com/v1/link-templates', 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://platform-staging.get-rial.com/v1/link-templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "rial_session=",
]);
$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://platform-staging.get-rial.com/v1/link-templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "rial_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform-staging.get-rial.com/v1/link-templates")
.header("cookie", "rial_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform-staging.get-rial.com/v1/link-templates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'rial_session='
response = http.request(request)
puts response.read_body{
"items": [
{
"slug": "warehouse-intake",
"name": "Warehouse intake",
"mode": "capture",
"steps": [
{
"key": "front",
"type": "image",
"description": "Front of the pallet",
"min": 1,
"max": 1
}
],
"expires_in_seconds": 3600,
"status": "active",
"started_total": 0,
"started_today": 0,
"version": 1,
"created_at": "2026-07-30T12:00:00.000Z",
"updated_at": "2026-07-30T12:00:00.000Z"
}
]
}{
"error": "storage_unavailable"
}Authorizations
Dashboard / operator session cookie. Set by /v1/auth/google/callback after Google OAuth, JWT signed with the rotating rial-platform/session-signing HMAC. Read on every request the SPA makes with credentials: include. Browser-only — server-to-server callers use bearerApiKey instead.
Response
All templates for the tenant.
Show child attributes
Show child attributes
⌘I